Commit 5fa51d88 authored by 潘永坪's avatar 潘永坪

三峡博物馆bug处理

parent a22ecb8d
......@@ -9,11 +9,11 @@
let path=options.path
let openid=uni.getStorageSync("openid")
if(!openid&&path.indexOf("pages/ourPayment/ourPayment")==-1){//扫码支付页面不需要在此登录
// setTimeout(()=>{//解决关联普通二维码扫码首次进入时一直显示登录中
// uni.navigateTo({
// url: "/pages/login/login"
// })
// },300)
setTimeout(()=>{//解决关联普通二维码扫码首次进入时一直显示登录中
uni.navigateTo({
url: "/pages/login/login"
})
},300)
}
//#ifdef MP-ALIPAY
......
export default{
//调用方法时--this.$commonjs.aaa()
aaa(){
console.log(123456)
}
}
\ No newline at end of file
......@@ -4,8 +4,6 @@
<!--#ifdef MP-WEIXIN -->
<web-view :src="outUrl"></web-view>
<!--#endif-->
</view>
</template>
......@@ -49,7 +47,7 @@
let groupChannelId=option.groupChannelId
let thirdOpenid=option.thirdOpenid//第三方openid
let touristType=option.touristType//游客类型
let pdOpenid=option.pdOpenid//胖丁小程序openid
let pdOpenid=uni.getStorageSync("openid")//胖丁小程序openid
let baseUrl="https://wx.pangdly.com/#/combiChoose?pdOpenid="+pdOpenid
this.outUrl=baseUrl+"&thirdOpenid="+thirdOpenid+"&touristType="+touristType+"&channelId="+channelId+"&merchantId="+merchantId+"&groupId="+groupId+"&groupChannelId="+groupChannelId+"&companyId="+companyId
}
......
<template>
<view >
<!--#ifdef MP-ALIPAY -->
<view class="top">
<!-- <view class="top">
<view class="top-search">
</view>
<view class="top-content">
......@@ -65,13 +65,11 @@
</view>
</view>
</view> -->
<!--#endif-->
<button @click="getUserInfo()"> 授权获取头像昵称 </button>
<!-- <button @click="getUserInfo()"> 授权获取头像昵称 </button> -->
<view class="bottom">
<!--#ifdef MP-WEIXIN-->
<!-- <web-view src="https://wx.pangdly.com"></web-view> -->
<!--#endif-->
<web-view src="https://wx.pangdly.com"></web-view>
</view>
</view>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment