
公众号
迷茫的码奴
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
微信公众号重定向
onLoad(option) { let userid = this.getUrlParam('userid') let code = this.getUrlParam('code') let state = this.getUrlParam('state') if (state) { this.state = state } const wx_url = `https://open.weixin.qq.com/connect/oauth2/auth原创 2022-08-16 10:44:29 · 1489 阅读 · 0 评论 -
公众号实现下拉刷新
//methods中添加方法onPullDownRefresh() { console.log('refresh'); this.timer = setTimeout(() => { uni.stopPullDownRefresh() }, 1000); }, beforeDestroy() { clearInterval(this.timer); },.原创 2021-12-08 16:18:53 · 577 阅读 · 0 评论 -
h5调用JSAPI支付
// #ifdef H5 //调用后台接口 NET.request(API.gotojsapiPay, submitResult, 'POST').then(res => { WeixinJSBridge.invoke( 'getBrandWCPayRequest', { "appId": res.data.appId, //公众号ID,由商户传入 "timeStamp": res.data.timeS..原创 2021-12-07 16:30:21 · 1039 阅读 · 0 评论 -
微信公众号跳转小程序
<view class="point"> <view class="point-item" v-for="(item,index) of pointList" :key="index"> <wx-open-launch-weapp username="gh_xxxxxx">//username对用的是小程序原始id,(进入一个小程序,点击右上角那三个点点的图标,就出现图下图的弹窗,点击弹窗顶部标题,点击标题之后会进入类似下图的页面,点击更多资料可以查..原创 2021-07-05 10:13:16 · 270 阅读 · 0 评论