微信小程序
南风知我意,吹梦到西洲。
这个作者很懒,什么都没留下…
展开
-
微信小程序 npm 引入 weui-wxss
1、打开cmd,在小程序的根目录,初始化npm npm init name 项目名称;version 项目的版本号;description 项目的描述信息;entry point 项目的入口文件; test command 项目启动时脚本命令(npm test);git repository Git 地址 keywords 关键词;author 作者;license 项目...原创 2020-02-05 14:43:54 · 1803 阅读 · 0 评论 -
小程序 .wxs文件 时间进行转换(常用的粘贴复制)
var time = { ymd: function (timestamp) { var date = getDate(timestamp * 1000); //时间戳为10位需*1000 var Y = date.getFullYear() + '-'; var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMo...原创 2020-01-19 11:32:27 · 889 阅读 · 0 评论 -
微信小程序 cover-view绑定事件 真机失效
cover-view的定位fixed去掉, fixed定位的元素会被后面的元素覆盖,如果一定要fixed,把cover-view 往后放原创 2018-09-11 16:05:25 · 5769 阅读 · 2 评论 -
微信小程序穿透遮罩层仍能滚动问题
wxml文件 <!-- 遮罩层开始 --> <view class="shade" catchtouchmove="move" bindtap='closeSelect'></view> <!-- 遮罩层结束 --> catchtouchmove="move" 事件 js文件 // 遮罩成滑动问题开始 move() {}...原创 2019-04-13 15:06:53 · 1761 阅读 · 0 评论 -
微信小程序登陆,出现400问题
在测试账号下,登陆是错误的,报错400,请使用正式的appid账号原创 2019-07-23 20:37:32 · 611 阅读 · 0 评论