上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: 1.登陆微信公众平台,侧边栏设置 第三方设置 插件管理 添加插件(搜索–同声传译) 2.引用插件 "plugins": { "WechatSI": { "version": "0.3.5", "provider": "wx069ba97219f66d99" } } 3.使用 let plugin = 阅读全文
posted @ 2022-03-17 09:17 埃菲尔上的加菲猫 阅读(2896) 评论(0) 推荐(0)
摘要: 1.parseInt,parseFloat 大多数情况下不需要小数点后很多位,可以使用toFixed(n)方法修正后(n是小数后精确的位数)。 console.log(0.119*100); // 11.899999999999999 parseFloat((0.119*100).toFixed(1 阅读全文
posted @ 2022-03-16 17:18 埃菲尔上的加菲猫 阅读(662) 评论(0) 推荐(0)
摘要: 设置token uni.setStorageSync('data', res.data); 获取token const token = uni.getStorageSync('data') 移除token uni.removeStorageSync('data') 阅读全文
posted @ 2022-03-16 17:09 埃菲尔上的加菲猫 阅读(1398) 评论(0) 推荐(0)
摘要: document.getElementById('er').innerText 阅读全文
posted @ 2022-03-16 15:54 埃菲尔上的加菲猫 阅读(105) 评论(0) 推荐(0)
摘要: 设置各对象的vertical-align属性,属性说明:baseline-将支持valign特性的对象的内容与基线对齐sub-垂直对齐文本的下标super-垂直对齐文本的上标top-将支持valign特性的对象的内容与对象顶端对齐text-top-将支持valign特性的对象的文本与对象顶端对齐mi 阅读全文
posted @ 2022-03-11 10:31 埃菲尔上的加菲猫 阅读(885) 评论(0) 推荐(0)
摘要: @change="inputChange($event,item.id)" 阅读全文
posted @ 2022-03-04 15:37 埃菲尔上的加菲猫 阅读(231) 评论(0) 推荐(0)
摘要: <script> var result = confirm("确定要这么做吗?"); if(result){//true alert('点了确定'); } else { //false alert('点了取消'); } </script> 阅读全文
posted @ 2022-03-04 11:18 埃菲尔上的加菲猫 阅读(233) 评论(0) 推荐(0)
摘要: https://www.jb51.net/article/146321.htm 阅读全文
posted @ 2022-03-02 14:58 埃菲尔上的加菲猫 阅读(18) 评论(0) 推荐(0)
摘要: 1.如何遍历对象 for(let i in res.data.data) { console.log(i); console.log (res.data.data[i]) } Object.entries(res.data.data).forEach(o => { console.log(o[0]) 阅读全文
posted @ 2022-03-02 13:50 埃菲尔上的加菲猫 阅读(188) 评论(0) 推荐(0)
摘要: 文本过长显示省略号,一般高度固定且不是auto .chatRoomLMessage { width: 400rpx; margin-top: 15rpx; color: #b0b0b0; font-size: 0.7em; overflow: hidden; text-overflow:ellips 阅读全文
posted @ 2022-03-01 10:07 埃菲尔上的加菲猫 阅读(1058) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页