|
|
@ -1,10 +1,11 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="page1"> |
|
|
<view class="page1"> |
|
|
<view>22222222</view> |
|
|
<view style="margin-top: 80px;" @click="navigatorTo('merchant')">商家入驻</view> |
|
|
<view style="margin-top: 100px;" @click="navigatorTo('merchant')">商家入驻</view> |
|
|
<view style="margin-top: 80px;" @click="navigatorTo('merchantCenter')">商家中心-{{shopCounts}}</view> |
|
|
<view style="margin-top: 100px;" @click="navigatorTo('merchantCenter')">商家中心-{{shopCounts}}</view> |
|
|
<view style="margin-top: 80px;" @click="navigatorTo('jianzhizhuce')">兼职注册</view> |
|
|
<view style="margin-top: 100px;" @click="navigatorTo('jianzhizhuce')">兼职注册</view> |
|
|
<view style="margin-top: 80px;" v-if="worker" @click="navigatorTo('jianzhizhuye')">兼职主页</view> |
|
|
<view style="margin-top: 100px;" v-if="worker" @click="navigatorTo('jianzhizhuye')">兼职主页-{{workerCounts}}</view> |
|
|
<view style="margin-top: 80px;" @click="navigatorTo('jianzhichaping','cha')">兼职差评-{{workerCounts}}</view> |
|
|
|
|
|
<view style="margin-top: 80px;" @click="navigatorTo('jianzhichaping','')">兼职查看评价</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')"> |
|
|
@ -109,7 +110,7 @@ |
|
|
url: '/package2/shop/merchantCenter' |
|
|
url: '/package2/shop/merchantCenter' |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
navigatorTo(e){ |
|
|
navigatorTo(e,index){ |
|
|
let url = "" |
|
|
let url = "" |
|
|
if(e=='addgoods'){ |
|
|
if(e=='addgoods'){ |
|
|
url = '/package1/myCenter/addGoods' |
|
|
url = '/package1/myCenter/addGoods' |
|
|
@ -134,6 +135,12 @@ |
|
|
url = '/package1/myCenter/goodsList' |
|
|
url = '/package1/myCenter/goodsList' |
|
|
}else if(e=='merchant'){ |
|
|
}else if(e=='merchant'){ |
|
|
url = '/package2/shop/merchantRegister' |
|
|
url = '/package2/shop/merchantRegister' |
|
|
|
|
|
}else if(e=='jianzhichaping'){ |
|
|
|
|
|
let item = { |
|
|
|
|
|
shopScore:uni.getStorageSync('worker').score, |
|
|
|
|
|
id:uni.getStorageSync('worker').workerId |
|
|
|
|
|
} |
|
|
|
|
|
url = '/package1/group/shopEvaluate?item=' + JSON.stringify(item) + '&isMerchant=2&isCha=' + (index =='cha'?1:0) |
|
|
}else if(e == 'partTimeReg'){ |
|
|
}else if(e == 'partTimeReg'){ |
|
|
let worker = uni.getStorageSync('worker') |
|
|
let worker = uni.getStorageSync('worker') |
|
|
let that = this |
|
|
let that = this |
|
|
@ -168,7 +175,7 @@ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
}else if(e=='jianzhizhuye'){ |
|
|
}else if(e=='jianzhizhuye'){ |
|
|
url = '/package2/partTimeJob/partTimeJobCenter?type=worker' |
|
|
url = '/package2/partTimeJob/partTimeJobCenter' |
|
|
} |
|
|
} |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: url |
|
|
url: url |
|
|
|