会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
深海里的星星i
博客园
首页
新随笔
联系
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
19
下一页
2021年5月10日
移动端点击复制功能
摘要: import { Toast } from 'mint-ui' function selectText(textbox, startIndex, stopIndex) { if (textbox.createTextRange) { // ie const range = textbox.creat
阅读全文
posted @ 2021-05-10 08:33 深海里的星星i
阅读(259)
评论(0)
推荐(0)
2021年5月9日
错误: 找不到符号 System.out.printIn("你好 世界");
摘要: 发现很多人学java都容易碰到这个问题, 示范代码 public class demo { public static void main(String[] args) { System.out.printIn("你好 世界"); } } 代码看上去是没有问题的, 但是编译的时候就有问题了 愿意其实
阅读全文
posted @ 2021-05-09 21:17 深海里的星星i
阅读(494)
评论(0)
推荐(1)
2021年5月7日
微信小程序 支付宝小程序 支付宝微信扫码进小程序后参数的获取方式, 两个有点差异
摘要: onLaunch: function () { const params = wx.getLaunchOptionsSync(); let str = params.query ? params.query.q : ""; if (str) { str = decodeURIComponent(st
阅读全文
posted @ 2021-05-07 14:07 深海里的星星i
阅读(436)
评论(1)
推荐(0)
2021年4月30日
解决webapp右下角出现胶囊, 放大缩小开关的问题, 完整的viewport视口标签
摘要: <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover" /> viewport-fit=cover 是适配IO
阅读全文
posted @ 2021-04-30 11:12 深海里的星星i
阅读(78)
评论(0)
推荐(0)
2021年4月17日
canvas-140行代码, 绘制象棋盘
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2021-04-17 23:07 深海里的星星i
阅读(107)
评论(0)
推荐(0)
2021年4月16日
用canvas画 环状图
摘要: 上面是绘制的结果, 下面贴上源代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vie
阅读全文
posted @ 2021-04-16 20:40 深海里的星星i
阅读(395)
评论(0)
推荐(0)
2021年4月1日
uniapp关于请求的封装
摘要: // const baseURL = "https://xxx"; const baseURL = "https://xxx"; export default function(params) { const { url, data = {}, method = "GET" } = params;
阅读全文
posted @ 2021-04-01 17:00 深海里的星星i
阅读(72)
评论(0)
推荐(0)
2021年3月10日
vue全局混入scss
摘要: module.exports = { // 全局混入scss变量 // css: { // loaderOptions: { // sass: { // prependData: '@import "./src/styles/global.scss";' // } // } // } } 中间暂时注
阅读全文
posted @ 2021-03-10 14:08 深海里的星星i
阅读(191)
评论(0)
推荐(0)
2021年3月5日
vw布局适配vant之 postcss.config.js 的配置
摘要: const path = require('path') module.exports = ({ file }) => { const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 375 : 750
阅读全文
posted @ 2021-03-05 13:06 深海里的星星i
阅读(980)
评论(0)
推荐(0)
2021年1月22日
vuex 模块化的使用 , 和 不同 数据之间的相互调用
摘要: index.js 文件, vuex 的核心文件 import Vue from 'vue' import Vuex from 'vuex' import modules from './modules.js' import getters from './getters.js' Vue.use(Vu
阅读全文
posted @ 2021-01-22 18:42 深海里的星星i
阅读(1520)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
19
下一页
公告