摘要:
注意: 1、按钮分享 必须使用 button 标签,否则实现不了 2、分享功能腾讯已经关闭分享的回调了,无法得知是否分享成功 3、分享的函数中,无法根据逻辑让它是否分享(可以根据逻辑更改分享的内容),只要点了按钮就必定会分享 WXML 中 <button open-type="share" hove 阅读全文
posted @ 2020-09-25 11:46
路西德
阅读(1022)
评论(0)
推荐(0)
摘要:
首先需要在当前小程序app.json中定义:需要跳转的小程序的app-id "navigateToMiniProgramAppIdList": [ "wxab81b7b534c8e4cd" ], 第一种方法:wx.navigateToMiniProgram(打开另一个小程序) 官方文档:https: 阅读全文
posted @ 2020-09-25 11:32
路西德
阅读(15048)
评论(0)
推荐(2)
摘要:
如果有个时间 2020-09-25 17:20:00 , 但我们只想要年月日,这样就可以在WXS中实现过滤 data: { time : "2020-09-25 17:20:00"//比如这个是后台返回的一个时间 }, WXML 中 <wxs module="fn"> module.exports= 阅读全文
posted @ 2020-09-25 10:40
路西德
阅读(477)
评论(0)
推荐(0)
摘要:
WXML 中 <view class="authorization_box"> <view class="list" wx:for="{{datalist}}"> <view class="name">{{item.name}}</view> </view> <block wx:if="{{data 阅读全文
posted @ 2020-09-25 10:32
路西德
阅读(4623)
评论(0)
推荐(0)
摘要:
给需要禁止滑动的div 加入:@touchmove.prevent即可 <template> <div @touchmove.prevent> <p>您好!</p> <p>您好!</p> <p>您好!</p> <p>您好!</p> <p>您好!</p> </div> </template> 阅读全文
posted @ 2020-09-25 10:00
路西德
阅读(1489)
评论(0)
推荐(0)

浙公网安备 33010602011771号