|
@@ -20,9 +20,9 @@
|
|
<text class="icon edit"></text>
|
|
<text class="icon edit"></text>
|
|
<view class="clear"></view>
|
|
<view class="clear"></view>
|
|
</view>
|
|
</view>
|
|
- <!--菜单-->
|
|
|
|
- <view class="menu">
|
|
|
|
- <view class="msn" @click="go()" v-if="user.userType == 2">
|
|
|
|
|
|
+ <!--组长菜单-->
|
|
|
|
+ <view class="menu" v-if="user.userType == 2">
|
|
|
|
+ <view class="msn" @click="go('/pages/market/one/leader/cart')">
|
|
<view class="out">
|
|
<view class="out">
|
|
<view class="int">
|
|
<view class="int">
|
|
<view class="icon ioc" style="background-color: #fff6e0; color: #f1ba41"></view>
|
|
<view class="icon ioc" style="background-color: #fff6e0; color: #f1ba41"></view>
|
|
@@ -30,7 +30,26 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="msn" @click="go('/pages/market/one/merchant/goods/list')" v-if="user.userType == 3">
|
|
|
|
|
|
+ <view class="msn" @click="go('/pages/market/one/leader/order')">
|
|
|
|
+ <view class="out">
|
|
|
|
+ <view class="int">
|
|
|
|
+ <view class="icon ioc" style="background-color: #f0dcfc; color: #b064d8"></view>
|
|
|
|
+ <view class="tit">一级订单</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="msn" @click="go('/pages/market/two/leader/order')">
|
|
|
|
+ <view class="out">
|
|
|
|
+ <view class="int">
|
|
|
|
+ <view class="icon ioc" style="background-color: #f0dcfc; color: #b064d8"></view>
|
|
|
|
+ <view class="tit">二级订单</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!--外籍商户-->
|
|
|
|
+ <view class="menu" v-if="user.userType == 3">
|
|
|
|
+ <view class="msn" @click="go('/pages/market/one/merchant/goods/list')">
|
|
<view class="out">
|
|
<view class="out">
|
|
<view class="int">
|
|
<view class="int">
|
|
<view class="icon ioc" style="background-color: #e1f6e9; color: #47cf74"></view>
|
|
<view class="icon ioc" style="background-color: #e1f6e9; color: #47cf74"></view>
|
|
@@ -38,15 +57,26 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="msn" @click="go('/pages/market/two/purchaser/buy/list')" v-if="user.userType == 4">
|
|
|
|
|
|
+ <view class="msn" @click="go('/pages/market/one/merchant/order/list')">
|
|
<view class="out">
|
|
<view class="out">
|
|
<view class="int">
|
|
<view class="int">
|
|
- <view class="icon ioc" style="background-color: #eaf1fe; color: #2a95fe"></view>
|
|
|
|
|
|
+ <view class="icon ioc" style="background-color: #f0dcfc; color: #b064d8"></view>
|
|
|
|
+ <view class="tit">我的订单</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!--收购商-->
|
|
|
|
+ <view class="menu" v-if="user.userType == 4">
|
|
|
|
+ <view class="msn" @click="go('/pages/market/two/purchaser/buy/list')">
|
|
|
|
+ <view class="out">
|
|
|
|
+ <view class="int">
|
|
|
|
+ <view class="icon ioc" style="background-color: #e1f6e9; color: #47cf74"></view>
|
|
<view class="tit">收购管理</view>
|
|
<view class="tit">收购管理</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="msn" @click="order()">
|
|
|
|
|
|
+ <view class="msn" @click="go('/pages/market/two/purchaser/order/list')">
|
|
<view class="out">
|
|
<view class="out">
|
|
<view class="int">
|
|
<view class="int">
|
|
<view class="icon ioc" style="background-color: #f0dcfc; color: #b064d8"></view>
|
|
<view class="icon ioc" style="background-color: #f0dcfc; color: #b064d8"></view>
|
|
@@ -54,7 +84,6 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="clear"></view>
|
|
|
|
</view>
|
|
</view>
|
|
<view class="cmd">
|
|
<view class="cmd">
|
|
<view class="s_item" @click="show = true">
|
|
<view class="s_item" @click="show = true">
|
|
@@ -106,15 +135,15 @@ export default {
|
|
order() {
|
|
order() {
|
|
//组长
|
|
//组长
|
|
if (this.user.userType == 2) {
|
|
if (this.user.userType == 2) {
|
|
- uni.navigateTo({url: '/pages/market/one/merchant/order/list'});
|
|
|
|
|
|
+ uni.navigateTo({ url: 'user' });
|
|
}
|
|
}
|
|
//外籍商户
|
|
//外籍商户
|
|
if (this.user.userType == 3) {
|
|
if (this.user.userType == 3) {
|
|
- uni.navigateTo({url: '/pages/market/one/merchant/order/list'});
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/market/one/merchant/order/list' });
|
|
}
|
|
}
|
|
//外籍商户
|
|
//外籍商户
|
|
if (this.user.userType == 4) {
|
|
if (this.user.userType == 4) {
|
|
- uni.navigateTo({url: '/pages/market/two/purchaser/order/list'});
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/market/two/purchaser/order/list' });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
go(url) {
|
|
go(url) {
|