04 2021 档案

摘要:座机号正则 可以不加区号,可以不加- /((^0\d{2,3})-?)?\d{7,8}$/.test('0107111111’) 必须加区号,-可以有,可以没有 /^0\d{2,3}-?\d{7,8}$/.test('0107111111') 必须加区号和- /0\d{2,3}-\d{7,8}/.t 阅读全文
posted @ 2021-04-28 21:21 Running00 阅读(1727) 评论(0) 推荐(0) 编辑
摘要:// #ifdef MP-BAIDU // #endif 阅读全文
posted @ 2021-04-28 15:36 Running00 阅读(27) 评论(0) 推荐(0) 编辑
摘要:http://lbsyun.baidu.com/index.php?title=jspopular3.0/guide/coorinfo 百度小程序 https://smartprogram.baidu.com/docs/develop/api/location/swan-chooseLocation 阅读全文
posted @ 2021-04-28 13:56 Running00 阅读(28) 评论(0) 推荐(0) 编辑
摘要:https://www.9myi.com/article/info/30 阅读全文
posted @ 2021-04-25 19:18 Running00 阅读(276) 评论(0) 推荐(0) 编辑
摘要:https://juejin.cn/post/6844903574778937358 阅读全文
posted @ 2021-04-25 14:21 Running00 阅读(48) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/feiyu_may/article/details/88376945 阅读全文
posted @ 2021-04-23 19:47 Running00 阅读(15) 评论(0) 推荐(0) 编辑
摘要:hbuildx 偏好设置 -》常用配置 阅读全文
posted @ 2021-04-23 16:30 Running00 阅读(94) 评论(0) 推荐(0) 编辑
摘要:1、eslint-plugin-vue : vue语法校验 2、eslint-js:用于校验js和html中的js代码 "rules": { "indent": ["error", 4, {"SwitchCase": 1}] } 3、prettier : 格式化less、sass、vue、stylu 阅读全文
posted @ 2021-04-23 15:26 Running00 阅读(291) 评论(0) 推荐(0) 编辑
摘要:1、备份 cp -rf $HOME/Library/Application\ Support/HBuilder\ X $HOME/Desktop/HX // 请在终端执行命令,把配置文件拷贝到桌面 2、删除 rm -rf $HOME/Library/Application\ Support/HBui 阅读全文
posted @ 2021-04-23 15:17 Running00 阅读(359) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_42089654/article/details/83344042 阅读全文
posted @ 2021-04-22 19:16 Running00 阅读(36) 评论(0) 推荐(0) 编辑
摘要:swan.getUpdateManager https://smartprogram.baidu.com/docs/develop/api/open/swan-getUpdateManager/ 阅读全文
posted @ 2021-04-21 16:43 Running00 阅读(79) 评论(0) 推荐(0) 编辑
摘要:<view v-for="(item, i) in tel"> <view > <view > 电话 </view> <view><input placeholder="请输入联系方式" v-modal="tel[i]" /></view> </view> </view> // 双向绑定无效 <vi 阅读全文
posted @ 2021-04-20 17:32 Running00 阅读(86) 评论(0) 推荐(0) 编辑
摘要:<view>{{`${a.b}(${a.c})`}}</view> 阅读全文
posted @ 2021-04-16 17:24 Running00 阅读(327) 评论(0) 推荐(0) 编辑
摘要:需要条件编译 // #ifdef MP-BAIDU // #endif 阅读全文
posted @ 2021-04-16 14:26 Running00 阅读(28) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1495496/202104/1495496-20210416112226318-1305514275.png) 阅读全文
posted @ 2021-04-16 11:22 Running00 阅读(32) 评论(0) 推荐(0) 编辑
摘要:https://ask.dcloud.net.cn/article/35021 阅读全文
posted @ 2021-04-15 17:35 Running00 阅读(41) 评论(0) 推荐(0) 编辑
摘要:https://www.zhangxinxu.com/wordpress/2018/02/canvas-text-break-line-letter-spacing-vertical/ https://developers.weixin.qq.com/community/develop/doc/00 阅读全文
posted @ 2021-04-15 16:42 Running00 阅读(46) 评论(0) 推荐(0) 编辑
摘要:1、背景图等比: context.drawImage('.png', 0, 0, 图片原始宽度的一半, 图片原始高度的一半, 0, 0, 图片原始宽度, 图片原始高度); 2、字体垂直对齐方式:context.setTextBaseline('middle'); 3、context.setFillS 阅读全文
posted @ 2021-04-14 12:12 Running00 阅读(192) 评论(0) 推荐(0) 编辑
摘要:圆角矩形 drawRoundedRect(ctx, x, y, width, height, radius, type) { ctx.moveTo(x, y + radius); ctx.beginPath(); ctx.arc(x + radius, y + radius, radius, Mat 阅读全文
posted @ 2021-04-14 12:10 Running00 阅读(120) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/287e9eb6e36a https://www.jianshu.com/p/892e701592ee 阅读全文
posted @ 2021-04-13 15:04 Running00 阅读(39) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1495496/202104/1495496-20210413112018232-1031030340.png) 阅读全文
posted @ 2021-04-13 11:20 Running00 阅读(225) 评论(0) 推荐(0) 编辑
摘要:shift z z 保存退出,退出VIM操作 阅读全文
posted @ 2021-04-13 10:45 Running00 阅读(27) 评论(0) 推荐(0) 编辑
摘要:git rm -r --cached 阅读全文
posted @ 2021-04-12 17:34 Running00 阅读(19) 评论(0) 推荐(0) 编辑
摘要:hbuildX 格式化 https://ext.dcloud.net.cn/plugin?id=2025 https://ask.dcloud.net.cn/article/36529 https://hx.dcloud.net.cn/Tutorial/extension/eslint-vue ht 阅读全文
posted @ 2021-04-12 17:25 Running00 阅读(30) 评论(0) 推荐(0) 编辑
摘要:1、引入组件 components: { 'card':Card } 2、computed 阅读全文
posted @ 2021-04-12 14:35 Running00 阅读(77) 评论(0) 推荐(0) 编辑
摘要:https://smartprogram.baidu.com/forum/topic/show/127350 https://smartprogram.baidu.com/docs/develop/swan/compatibility/#%E5%9F%BA%E7%A1%80%E5%BA%93%E6% 阅读全文
posted @ 2021-04-09 19:44 Running00 阅读(426) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/1495496/202104/1495496-20210409191922937-724506037.png) ![](https://img2020.cnblogs.com/blog/1495496/202104/1495496-20210412144121284-1343942712.png) 阅读全文
posted @ 2021-04-09 19:19 Running00 阅读(17) 评论(0) 推荐(0) 编辑
摘要:https://ask.dcloud.net.cn/article/35750 阅读全文
posted @ 2021-04-09 10:45 Running00 阅读(22) 评论(0) 推荐(0) 编辑
摘要:Q:百度小程序有直接把图片转为 base64 的吗?类似微信 wx.getFileSystemManager().readFileSync(tempFilePaths[0], 'base64') A:目前还没有支持转化的 api,可以先让在后台生成 base64 后,传递到前端进行使用。 阅读全文
posted @ 2021-04-08 17:39 Running00 阅读(38) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/copperhaze/p/6149041.html 阅读全文
posted @ 2021-04-08 17:29 Running00 阅读(14) 评论(0) 推荐(0) 编辑
摘要:wxacode.createQRCode wxacode.getUnlimited https://blog.csdn.net/weixin_39152200/article/details/107728376 阅读全文
posted @ 2021-04-08 17:17 Running00 阅读(44) 评论(0) 推荐(0) 编辑
摘要:https://uniapp.dcloud.io/README https://uniapp.dcloud.io/quickstart-cli 命令创建一个项目 阅读全文
posted @ 2021-04-08 16:12 Running00 阅读(31) 评论(0) 推荐(0) 编辑
摘要:其他域设置限制 阅读全文
posted @ 2021-04-08 14:54 Running00 阅读(18) 评论(0) 推荐(0) 编辑
摘要:1、模板一: 2、可以使用hbuildx进行开发 3、hbuildx进行开发编译 允许 未自动打开微信开发者工具 开发微信开发者工具 开启即可自动开发开发者工具 阅读全文
posted @ 2021-04-07 16:57 Running00 阅读(36) 评论(0) 推荐(0) 编辑
摘要:https://developer.mozilla.org/zh-CN/docs/Web/HTML/CORS_enabled_image 阅读全文
posted @ 2021-04-07 11:01 Running00 阅读(94) 评论(0) 推荐(0) 编辑
摘要:https://developer.mozilla.org/zh-CN/docs/conflicting/Web/API/Web_Storage_API 阅读全文
posted @ 2021-04-07 10:54 Running00 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示