tianyi 4 weeks ago
parent
commit
ee1075fb63
  1. 2
      components/tab-bar/myCenter.vue
  2. 2
      components/tab-bar/tab-bar.vue

2
components/tab-bar/myCenter.vue

@ -3,7 +3,7 @@
<view style="margin-top: 80px;" @click="navigatorTo('merchant')">商家入驻</view> <view style="margin-top: 80px;" @click="navigatorTo('merchant')">商家入驻</view>
<view style="margin-top: 80px;" @click="navigatorTo('merchantCenter')">商家中心-{{shopCounts}}</view> <view style="margin-top: 80px;" @click="navigatorTo('merchantCenter')">商家中心-{{shopCounts}}</view>
<view style="margin-top: 80px;" @click="navigatorTo('jianzhizhuce')">兼职注册</view> <view style="margin-top: 80px;" @click="navigatorTo('jianzhizhuce')">兼职注册</view>
<view style="margin-top: 80px;" v-if="worker" @click="navigatorTo('jianzhizhuye')">兼职主页</view> <view style="margin-top: 80px;" v-if="worker" @click="navigatorTo('jianzhizhuye')">兼职主页-{{workerCounts}}</view>
<!-- 未注册兼职弹窗 --> <!-- 未注册兼职弹窗 -->
<uni-popup ref="jianzhiPopup" background-color="rgba(2, 171, 255, 1)" borderRadius="40px 40px 40px 40px"> <uni-popup ref="jianzhiPopup" background-color="rgba(2, 171, 255, 1)" borderRadius="40px 40px 40px 40px">
<view class="jianzhi-content" @tap="navigatorTo('partTimeReg')"> <view class="jianzhi-content" @tap="navigatorTo('partTimeReg')">

2
components/tab-bar/tab-bar.vue

@ -95,7 +95,7 @@
if (index == i) { if (index == i) {
this.$emit('tab-index', i); this.$emit('tab-index', i);
if(index == 2) return if(index == 2) return
if(index != 0){ if(index != 0 && index != 4){
this.getWorkerCounts() this.getWorkerCounts()
} }
this.tabList[i].isCheck = true this.tabList[i].isCheck = true

Loading…
Cancel
Save