上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: 1. 原生小程序与时间弹窗 <van-popup show="{{ showDatetimePicker }}" round position="bottom" > <van-datetime-picker title="选择开始时间" type="date" formatter="{{ forma 阅读全文
posted @ 2022-11-16 09:27 Panax 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 介绍事件 bindtap 和 catchtap 都属于点击事件,绑定之后,点击组件是可以触发这个函数的。 区别 bindtap :子元素使用bindtap绑定事件后,执行的时候,会冒泡到父元素(触发父元素上绑定的bingtap事件) catchtap :不会冒泡到父元素上,阻止事件冒泡 阅读全文
posted @ 2022-11-16 09:18 Panax 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 开放工具太老,软件需要更新。 去官网上更新稳定版本,并在开发者工具中本地基础库选择对应版本。 开发者工具只是一个展示工具,建议在vscode中进行专业的编辑。 因为在开发者中进行设置less 转wxss ,没有生效。在vscode setting.json 中生效了。 具体设置: 在扩展中安装eas 阅读全文
posted @ 2022-11-15 17:32 Panax 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1. ls 查看文件 2. pwd 查看目录 3. mkdir A 创建文件 4. touch A B 创建空白文件 5. touch -c A 避免创建某类文件 6. ls 列出某类文件 7. stat A 查看了它的统计信息: 8. rm A 删除A 9. rm -r A 对文件夹的子文件等进行 阅读全文
posted @ 2021-03-02 20:43 Panax 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: //watch.js /** * 设置监听器 */ function setWatcher(page) { let data = page.data; let watch = page.watch; // page.watch!=undefined用于解决Cannot convert undefin 阅读全文
posted @ 2021-03-01 17:30 Panax 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1. jssdk 必须1.60 以上 2. 在wx.config 进行注册 wx.config({ debug: false, appId: data.data.appid, timestamp: data.data.timestamp, nonceStr: data.data.noncestr, 阅读全文
posted @ 2021-03-01 17:10 Panax 阅读(823) 评论(0) 推荐(0) 编辑
摘要: 转载:https://news.cnblogs.com/n/689215/ 作者: itwriter 阅读全文
posted @ 2021-03-01 17:02 Panax 阅读(76) 评论(0) 推荐(0) 编辑
摘要: ruleNave(goUrl){ const _this = this ; var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { //ios的ua中无miniPr 阅读全文
posted @ 2021-03-01 16:52 Panax 阅读(1354) 评论(0) 推荐(0) 编辑
摘要: <scroll-view :style="{height:autoHeight}" :scroll-y="true" @scrolltolower="scrolltolower" @scroll="scroll" :scroll-into-view="toView" :scroll-with-ani 阅读全文
posted @ 2021-03-01 16:42 Panax 阅读(147) 评论(0) 推荐(0) 编辑
摘要: getCity(){ const _this = this ; wx.request({ url: 'https://pv.sohu.com/cityjson?ie=utf-8', data: {}, header: { 'Content-Type': 'application/json' }, s 阅读全文
posted @ 2021-03-01 16:31 Panax 阅读(371) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页