摘要: 设置-系统-多任务处理-Alt+Tab 出自 2楼 瀪滺:edge 怎么不让他在 alt + tab 上显示 阅读全文
posted @ 2020-12-16 14:54 letleon 阅读(13309) 评论(0) 推荐(1)
摘要: 1 let arrayBuffer = fsm.readFileSync(res.tempFilePath) 2 let unit8Arr = new Uint8Array(arrayBuffer) 3 let encodedString = String.fromCharCode.apply(nu 阅读全文
posted @ 2020-12-16 11:59 letleon 阅读(2135) 评论(0) 推荐(0)
摘要: 安装 shellinabox 账号秘密为路由后台账号密码 创建配置文件 vi /jffs/dnsmasq.conf.add 内容:addn-hosts=/jffs/configs/hosts 创建 hosts 文件 /jffs/configs/hosts 内容:你需要设置的hosts 重启 dns 阅读全文
posted @ 2020-12-13 17:04 letleon 阅读(4050) 评论(0) 推荐(0)
摘要: <mp-half-screen-dialog bindbuttontap="buttontap" show="{{RaterPanel}}" maskClosable="{{false}}" title="测试标题B" //只有删除title后slot才会生效 subTitle="测试标题B的副标题 阅读全文
posted @ 2020-12-08 22:17 letleon 阅读(1981) 评论(1) 推荐(0)
摘要: 1 Page({ 2 data: { 3 TestData: '0' 4 }, 5 6 TestData: '1', 7 8 onLoad () { 9 console.log(this.data.TestData) 10 console.log(this.TestData) 11 12 this. 阅读全文
posted @ 2020-10-25 15:12 letleon 阅读(736) 评论(0) 推荐(0)
摘要: .scroll-height{ height: 80vh; } 给 scroll-view 加个class,高度为80vh(页面高度的80%) 阅读全文
posted @ 2020-10-11 12:46 letleon 阅读(827) 评论(0) 推荐(0)
摘要: /* 修改dialog 高度75% 为 80% */ .weui-half-screen-dialog { max-height: 80% !important; } 值得注意的是,哪个页面显示Dialog组件,就把样式放到哪个页面的wxss内! 阅读全文
posted @ 2020-10-11 12:43 letleon 阅读(2046) 评论(1) 推荐(0)
摘要: 官方的 lazy-load 有很多限制,scroll-view 又不是什么时候都能用, Yan 整的 mina-lazy-image 就很好的解决了这个很二的问题... 感谢Yan! 阅读全文
posted @ 2020-10-05 15:35 letleon 阅读(491) 评论(0) 推荐(0)
摘要: iconfont-tools 可以将 iconfont 生成的 Symbol 转换成 可以直接引用的 wxss 或 小程序组件 更新: Figma 导出的SVG 在导入到iconfont 有时会黑成一坨 使用插件 Fill Rule Editor 可以解决! 更新: 如果SVG宽高是不一样的话直接将 阅读全文
posted @ 2020-09-02 21:20 letleon 阅读(958) 评论(0) 推荐(0)
摘要: 1 Page({ 2 data: { 3 onShowState: false,//表示onLoad还没完事 4 } 5 }), 6 7 onLoad: function () { 8 console.log("🍊 ONLOAD 🍊") 9 10 ...各种方法 11 12 this.setDa 阅读全文
posted @ 2020-08-30 17:29 letleon 阅读(559) 评论(0) 推荐(0)