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

三峡博物馆bug处理

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