随笔分类 -  mpvue

摘要: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 阅读(837) 评论(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 阅读(1437) 评论(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 阅读(380) 评论(0) 推荐(0) 编辑
摘要:// autoHeight 必须有高度 :scroll-y="true" 设置横向竖向滚动 <scroll-view :style="{height:autoHeight}" :scroll-y="true" @scroll="scroll" :scroll-with-animation="true 阅读全文
posted @ 2021-02-23 20:07 Panax 阅读(281) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示