lilei 9 mēneši atpakaļ
vecāks
revīzija
ac65c73135
2 mainītis faili ar 9 papildinājumiem un 3 dzēšanām
  1. 4 0
      pages/index/index.vue
  2. 5 3
      pages/morePage/morePage.vue

+ 4 - 0
pages/index/index.vue

@@ -39,6 +39,10 @@
 					<view class="notices flex justify_between" v-if="storeApply&&storeApply.auditStatus=='REFUSE'&&storeApply.readFlag=='0'">
 						<view><u-icon name="volume" color="#f2a557" :size="28" :margin-right='15'></u-icon> 门店认证资料审核不通过,请重新提交审核!</view> <text class="text" @click="toKnow">知道了</text>
 					</view>
+					<!-- 去认证门店 -->
+					<view class="notices flex justify_between" v-if="hasLogin&&userInfo&&userInfo.sysUserFlag == '0'">
+						<view><u-icon name="volume" color="#f2a557" :size="28" :margin-right='15'></u-icon> {{storeApply&&storeApply.auditStatus=='WAIT'?'认证门店审核中':'您还未认证门店'}}</view> <text class="text" @click="toAuthStore()">{{storeApply&&storeApply.auditStatus=='WAIT'?'查看':'去认证'}}</text>
+					</view>
 					<!-- 名片 -->
 					<view class="userCard flex align_center justify_between" v-if="!hasShopiing">
 						<view class="userCard-info flex align_center">

+ 5 - 3
pages/morePage/morePage.vue

@@ -339,9 +339,11 @@
 		methods: {
 			// 获取优惠券数量
 			getCouponCount(){
-				ticketQueryCount().then(res => {
-					this.couponCount = res.data ? res.data.ticketValue : 0
-				})
+				if(this.userInfo.sysUserFlag == '1'){
+					ticketQueryCount().then(res => {
+						this.couponCount = res.data ? res.data.ticketValue : 0
+					})
+				}
 			},
 			// 红包总金额
 			getUserReward(){