jwyu 3 years ago
parent
commit
eaeba852ae
2 changed files with 4 additions and 4 deletions
  1. 1 1
      mixin/index.js
  2. 3 3
      pages/user/user.vue

+ 1 - 1
mixin/index.js

@@ -47,7 +47,7 @@ module.exports = {
     this.handleActivityListPageRefresh()
 
     const page = this.$mp&&this.$mp.page;
-    if(tabbarPathList.includes(page.route)){
+    if(page&&tabbarPathList.includes(page.route)){
       this.$store.dispatch('getTabBar')
     }
 

+ 3 - 3
pages/user/user.vue

@@ -26,7 +26,7 @@
 						custom-class="apply-btn" 
 						plain round color="#DDAA6A" 
 						size="small" 
-						@click="handleContact"
+						@click.stop="handleContact"
 					>联系销售</van-button>
 				</block>
 
@@ -36,7 +36,7 @@
 						custom-class="apply-btn" 
 						plain round color="#DDAA6A" 
 						size="small" 
-						@click="handleGoApplyPermission"
+						@click.stop="handleGoApplyPermission"
 					>立即申请</van-button>
 				</block>
 				
@@ -48,7 +48,7 @@
 			<view class="flex item-card">
 				<image src="../../static/calendar.png" mode="widthFix" />
 				<text class="label">服务截止日期</text>
-				<text class="right-text">{{lastTime}}</text>
+				<text class="right-text" v-if="!(userInfo.status=='冻结'||(userInfo.status=='试用'&&userInfo.is_suspend==1))">{{lastTime}}</text>
 			</view>
 		</view>