Ver código fonte

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

Shu 2 meses atrás
pai
commit
bfb9fafbcd
1 arquivos alterados com 4 adições e 2 exclusões
  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;
 					}
 				}