sslyg 4 months ago
parent
commit
c38f1b7f96
2 changed files with 20 additions and 8 deletions
  1. 8 2
      App.vue
  2. 12 6
      pages/order/back-order.vue

+ 8 - 2
App.vue

@@ -33,7 +33,10 @@
 					})
 					uni.setTabBarItem({
 						index: 1,
-						text: '待发货'
+						text: '待发货',
+						pagePath: "pages/order/back-order",
+						iconPath: "static/images/qiang.png",
+						selectedIconPath: "static/images/qiang_selected.png",
 					})
 				} else {
 					let iconIndex = 2
@@ -49,7 +52,10 @@
 					})
 					uni.setTabBarItem({
 						index: 1,
-						text: '待收货'
+						text: '待收货',
+						pagePath: "pages/order/back-order",
+						iconPath: "static/images/qiang.png",
+						selectedIconPath: "static/images/qiang_selected.png",
 					})
 				}
 			});

+ 12 - 6
pages/order/back-order.vue

@@ -1,5 +1,5 @@
 <template>
-	<view id="order" class="order">		
+	<view id="order" class="order">
 		<view class="header" v-if="$store.state.user.group_id === 2">
 			<view class="title">
 				我的待发货
@@ -73,13 +73,19 @@
 			if (this.$store.state.user.group_id === 2) {
 				this.orderStatus = 'wait_deliver'
 				uni.setNavigationBarTitle({
-					title: "待发货"
+					title: "待发货",
+					pagePath: "pages/order/back-order",
+					iconPath: "static/images/qiang.png",
+					selectedIconPath: "static/images/qiang_selected.png",
 				})
 			}
 			if (this.$store.state.user.group_id === 3) {
 				this.orderStatus = 'wait_sign'
 				uni.setNavigationBarTitle({
-					title: "待收货"
+					title: "待收货",
+					pagePath: "pages/order/back-order",
+					iconPath: "static/images/qiang.png",
+					selectedIconPath: "static/images/qiang_selected.png",
 				})
 
 			}
@@ -150,21 +156,21 @@
 		text-align: center;
 		border-radius: 20upx;
 		padding-bottom: 10upx;
-	
+
 		.title {
 			height: 100upx;
 			font-size: 32upx;
 			line-height: 100upx;
 			// font-weight: bold;
 		}
-		
+
 		.sub-title {
 			font-size: 28upx;
 			color: #999999;
 		}
 
 	}
-	
+
 	.order {
 		overflow: hidden;
 	}