Commit 9133469d authored by 潘永坪's avatar 潘永坪

组合票支付宝小程序不显示处理

parent 16c447a6
...@@ -190,6 +190,7 @@ ...@@ -190,6 +190,7 @@
</view> </view>
</u-popup> </u-popup>
<!-- 自定义导航栏 --> <!-- 自定义导航栏 -->
<!--#ifdef MP-WEIXIN-->
<view class="tabbar" :style="{height:topHeight+'px',opacity:tabbarOpacity}" > <view class="tabbar" :style="{height:topHeight+'px',opacity:tabbarOpacity}" >
<view class="tabbar-title"> <view class="tabbar-title">
<u-icon @click="goTop()" name="arrow-left" color="#333333" size="48"></u-icon> <u-icon @click="goTop()" name="arrow-left" color="#333333" size="48"></u-icon>
...@@ -197,6 +198,7 @@ ...@@ -197,6 +198,7 @@
<text></text> <text></text>
</view> </view>
</view> </view>
<!-- #endif -->
</view> </view>
</template> </template>
......
<template> <template>
<view class="wrap"> <view class="wrap">
<!-- #ifdef MP-WEIXIN -->
<view class="search"> <view class="search">
<text>重庆</text> <text>重庆</text>
<view class="search-right"> <view class="search-right">
<u-icon name="search" style="margin-right: 10rpx;"></u-icon> <u-icon name="search" style="margin-right: 10rpx;"></u-icon>
<input placeholder="商品/用户/关键词搜索" disabled/> <input placeholder="商品/用户/关键词搜索" disabled/>
</view> </view>
</view> </view>
<!-- #endif -->
<view class="middle"> <view class="middle">
<view class="tabbar"> <view class="tabbar">
<view @click="jumpPage(item.projectLinkUrl)" v-for="(item,index) in iconList" :key='index' v-show="item.projectStatus==0"> <view @click="jumpPage(item.projectLinkUrl)" v-for="(item,index) in iconList" :key='index' v-show="item.projectStatus==0">
......
...@@ -12,14 +12,18 @@ export default { ...@@ -12,14 +12,18 @@ export default {
onLoad() { onLoad() {
this.getCodeLogin() this.getCodeLogin()
}, },
// 一般页面用onUnload
// tabbar页面用onHide
onUnload() { onUnload() {
if(this.timer) { if(this.timer) {
clearTimeout(this.timer) clearTimeout(this.timer)
this.timer = null this.timer = null
} }
}, },
onHide() {
if(this.timer) {
clearTimeout(this.timer)
this.timer = null
}
},
methods:{ methods:{
//---获取编码并登录 //---获取编码并登录
getCodeLogin(){ getCodeLogin(){
......
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