瀏覽代碼

新增大订单模块

李书文 1 年之前
父節點
當前提交
a017c4ebbb
共有 3 個文件被更改,包括 43 次插入9 次删除
  1. 9 1
      pages.json
  2. 19 0
      pages/market/one/cooperative/order.vue
  3. 15 8
      pages/personal/personal.vue

+ 9 - 1
pages.json

@@ -414,8 +414,16 @@
 				"navigationBarTitleText": "填写认证信息",
 				"enablePullDownRefresh": false
 			}
+		},
+		{
+			"path": "pages/market/one/cooperative/order",
+			"style": {
+				"navigationBarTitleText": "合作社订单列表",
+				"enablePullDownRefresh": false
+			}
+
 		}
-    ],
+	],
 	"tabBar": {
 		"color": "#7A7E83",
 		"selectedColor": "#4581fb",

+ 19 - 0
pages/market/one/cooperative/order.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 15 - 8
pages/personal/personal.vue

@@ -27,6 +27,7 @@
 					<view class="tag" v-if="user.userType == 3">收购商</view>
 					<view class="tag" v-if="user.userType == 4">司机</view>
 					<view class="tag" v-if="user.userType == 5">外籍商户</view>
+					<view class="tag" v-if="user.userType == 6">合作社</view>
 				</view>
 				<text class="icon edit" @click="go('/pages/personal/my')">&#xe645;</text>
 				<view class="clear"></view>
@@ -98,7 +99,7 @@
 				<view class="msn" @click="go('/pages/authentication/purchaser/info')">
 					<view class="out">
 						<view class="int">
-							<view class="icon ioc" style="background-color: #E0FFFF; color: #00BFFF">&#xe660;</view>
+							<view class="icon ioc" style="background-color: #e0ffff; color: #00bfff">&#xe660;</view>
 							<view class="tit">我的认证</view>
 						</view>
 					</view>
@@ -125,18 +126,24 @@
 				<view class="msn" @click="go('/pages/authentication/index')">
 					<view class="out">
 						<view class="int">
-							<view class="icon ioc" style="background-color: #E0FFFF; color: #00BFFF">&#xe660;</view>
+							<view class="icon ioc" style="background-color: #e0ffff; color: #00bfff">&#xe660;</view>
 							<view class="tit">我的认证</view>
 						</view>
 					</view>
 				</view>
 			</view>
-			<view class="cmd">
-				<view class="s_item" @click="show = true">
-					<text class="icon ic">&#xe8bb;</text>
-					<text class="title">常见问题</text>
-					<text class="icon arrow">&#xe8f2;</text>
+			<!--合作社-->
+			<view class="menu" v-if="user.userType == 6">
+				<view class="msn" @click="go('/pages/market/one/cooperative/order')">
+					<view class="out">
+						<view class="int">
+							<view class="icon ioc" style="background-color: #e1f6e9; color: #47cf74">&#xe634;</view>
+							<view class="tit">大订单</view>
+						</view>
+					</view>
 				</view>
+			</view>
+			<view class="cmd">
 				<view class="s_item" @click="go('/pages/login/userAgreement?id=1')">
 					<text class="icon ic">&#xe662;</text>
 					<text class="title">用户协议</text>
@@ -192,7 +199,7 @@ export default {
 				uni.navigateTo({ url: '/pages/authentication/index' });
 				return;
 			}
-			if(!this.hasAuth() &&  this.user.userType == 3) {
+			if (!this.hasAuth() && this.user.userType == 3) {
 				uni.navigateTo({ url: '/pages/authentication/purchaser/index' });
 				return;
 			}