py 2 lat temu
rodzic
commit
65748c6b40
4 zmienionych plików z 18 dodań i 10 usunięć
  1. 8 0
      pages-order/laundry-info.vue
  2. 2 2
      pages-order/takeout-info.vue
  3. 4 4
      pages.json
  4. 4 4
      pages/order/index.vue

+ 8 - 0
pages-order/laundry-info.vue

@@ -87,6 +87,14 @@
 					<image v-if="goodsShow" class="icon-right" src="@/static/img/order/top.png" mode=""></image>
 					<image v-else class="icon-right" src="@/static/img/order/bottom.png" mode=""></image>
 				</view>
+				<view class="align-items-center flex-justify-space mb-24">
+					<view class="fs-28 fc-3">
+						配送费
+					</view>
+					<view class="fs-32 fc-3">
+						¥{{infoData.delivery_money}}
+					</view>
+				</view>
 				<view class="align-items-center flex-justify-end">
 					<view class="fs-28 fc-9">
 						共{{infoData.goods_number}}件,

+ 2 - 2
pages-order/takeout-info.vue

@@ -112,7 +112,7 @@
 						打包费
 					</view>
 					<view class="fs-32 fc-3">
-						{{infoData.pack_price}}
+						¥{{infoData.pack_price}}
 					</view>
 				</view>
 				<view class="align-items-center flex-justify-space mb-24">
@@ -120,7 +120,7 @@
 						配送费
 					</view>
 					<view class="fs-32 fc-3">
-						{{infoData.delivery_money}}
+						¥{{infoData.delivery_money}}
 					</view>
 				</view>
 				<view class="align-items-center flex-justify-space pb-36 b-b-F9F9F9 mb-22">

+ 4 - 4
pages.json

@@ -35,9 +35,9 @@
 			}
 		},
 		{
-			"path": "pages/login/index",
+			"path": "pages/order/index",
 			"style": {
-				"navigationBarTitleText": "登陆"
+				"navigationBarTitleText": "订单"
 			}
 		},
 		{
@@ -47,9 +47,9 @@
 			}
 		},
 		{
-			"path": "pages/order/index",
+			"path": "pages/login/index",
 			"style": {
-				"navigationBarTitleText": "订单"
+				"navigationBarTitleText": "登陆"
 			}
 		},
 		{

+ 4 - 4
pages/order/index.vue

@@ -251,6 +251,7 @@
 			let orderPayType = uni.getStorageSync('orderPayType')
 			let orderInfoType = uni.getStorageSync('orderInfoType')
 			console.log(orderPayType, 'orderPayType');
+			console.log(orderInfoType, 'orderInfoType');
 			if (orderPayType) {
 				this.selectType(orderPayType)
 				console.log('固定type');
@@ -259,9 +260,6 @@
 			} else {
 				this.resetList();
 			}
-			uni.showTabBar()
-		},
-		onLoad() {
 			uni.$on('takeOutData', (data) => {
 				console.log(data, '^^^^^^^^^^^^^^^^^^^^^^^^^^^^');
 				this.list.forEach((v, k) => {
@@ -274,10 +272,12 @@
 				uni.removeStorageSync('orderInfoType')
 				console.log(this.list, 'this.list');
 			})
-
+			uni.showTabBar()
 		},
+		onLoad() {},
 		onHide() {
 			uni.removeStorageSync('orderPayType')
+			// uni.removeStorageSync('orderInfoType')
 		},
 		onUnload() {},
 		mounted() {},