Browse Source

opt:订单页面增加早餐数量信息

Shu 1 month ago
parent
commit
bfb9fafbcd
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pages/order/order.vue

+ 4 - 2
pages/order/order.vue

@@ -41,7 +41,8 @@
 						</view>
 					</view>
 					<view class="order--duration__total">
-						{{ `共${order.dayNum}晚` }}
+						<view>{{ `共${order.dayNum}晚` }}</view>
+						<view>{{ order.breakfastNum ? `含${order.breakfastNum}早` : "不含早" }}</view>
 					</view>
 				</view>
 				<view class="order--option">
@@ -372,9 +373,10 @@
 						width: 100%;
 						display: flex;
 						align-items: center;
-						justify-content: flex-end;
+						justify-content: center;
 						padding-right: 20rpx;
 						font-weight: bold;
+						flex-direction: column;
 					}
 				}