tianyi 1 week ago
parent
commit
0e08627891
  1. 7
      components/tab-bar/myCenter.vue

7
components/tab-bar/myCenter.vue

@ -4,6 +4,7 @@
<view style="margin-top: 100px;" @click="navigatorTo('merchant')">商家入驻</view> <view style="margin-top: 100px;" @click="navigatorTo('merchant')">商家入驻</view>
<view style="margin-top: 100px;" @click="navigatorTo('merchantCenter')">商家中心</view> <view style="margin-top: 100px;" @click="navigatorTo('merchantCenter')">商家中心</view>
<view style="margin-top: 100px;" @click="navigatorTo('jianzhizhuce')">兼职注册</view> <view style="margin-top: 100px;" @click="navigatorTo('jianzhizhuce')">兼职注册</view>
<view style="margin-top: 100px;" @click="navigatorTo('jianzhizhuye')">兼职主页</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')">
@ -49,6 +50,7 @@
uni.setStorageSync('shopId',item.id) uni.setStorageSync('shopId',item.id)
uni.setStorageSync('shopName',item.shopName) uni.setStorageSync('shopName',item.shopName)
uni.setStorageSync('shopIcon',item.shopIcon) uni.setStorageSync('shopIcon',item.shopIcon)
uni.setStorageSync('shopScore',item.shopScore)
uni.navigateTo({ uni.navigateTo({
url: '/package1/myCenter/merchantCenter' url: '/package1/myCenter/merchantCenter'
}) })
@ -65,7 +67,10 @@
uni.setStorageSync('shopId',this.schoolShop[0].id) uni.setStorageSync('shopId',this.schoolShop[0].id)
uni.setStorageSync('shopName',this.schoolShop[0].shopName) uni.setStorageSync('shopName',this.schoolShop[0].shopName)
uni.setStorageSync('shopIcon',this.schoolShop[0].shopIcon) uni.setStorageSync('shopIcon',this.schoolShop[0].shopIcon)
uni.setStorageSync('shopScore',this.schoolShop[0].shopScore)
url = '/package1/myCenter/merchantCenter' url = '/package1/myCenter/merchantCenter'
}else{
url = '/package1/myCenter/myMerchant'
} }
}else if(e=='addType'){ }else if(e=='addType'){
url = '/package1/myCenter/addType' url = '/package1/myCenter/addType'
@ -103,6 +108,8 @@
this.$refs.jianzhiPopup.open() this.$refs.jianzhiPopup.open()
return return
} }
}else if(e=='jianzhizhuye'){
url = '/package2/partTimeJob/partTimeJobCenter'
} }
uni.navigateTo({ uni.navigateTo({
url: url url: url

Loading…
Cancel
Save