Commit 8ec22121 by cen

feat: 新加套餐

1 parent 22b4ca87
...@@ -27,6 +27,28 @@ ...@@ -27,6 +27,28 @@
<!-- 商品信息 --> <!-- 商品信息 -->
<view class="box-shell"> <view class="box-shell">
<view class="box-shell-title">商品信息</view> <view class="box-shell-title">商品信息</view>
<!-- 套餐 -->
<view class="meal-box" v-for="(item, index) in orderInfo.packageGoodsList">
<view class="meal-hd flex justify-between align-center">
<view>{{ item.packageAlias || item.packageName }}</view>
<view class="price">¥{{ item.totalPrice }}</view>
</view>
<view class="meal-bd">
<view class="meal-bd-box" v-for="g in item.packageGoodsOrderList">
<view class="meal-bd-head flex justify-between align-center">
<view class="flex align-center">
<view class="name">{{ g.upgradeGoodsAlias || g.upgradeGoodsName }}</view>
<view class="meal-bd-bottom flex align-center">
{{ g.upgradeGoodsType === 1 ? g.positionStr : g.upgradeGoodsTypeName }}
<view class="count">x{{ g.number }}</view>
</view>
</view>
<view class="price">¥{{ g.price }}</view>
</view>
</view>
</view>
</view>
<view class="good-list"> <view class="good-list">
<view class="good" v-for="(item, index) in orderInfo.subOrderList"> <view class="good" v-for="(item, index) in orderInfo.subOrderList">
<view class="flex justify-between align-center"> <view class="flex justify-between align-center">
...@@ -139,7 +161,7 @@ ...@@ -139,7 +161,7 @@
</view> </view>
<view class="flex align-center footer-box justify-center"> <view class="flex align-center footer-box justify-center">
<view class="edit btn" @clcik="edit">修改</view> <view class="edit btn" @click="edit">修改</view>
<view class="confirm btn" @click="confirm">确认</view> <view class="confirm btn" @click="confirm">确认</view>
</view> </view>
</view> </view>
...@@ -739,6 +761,48 @@ export default { ...@@ -739,6 +761,48 @@ export default {
color: #333333; color: #333333;
font-weight: 400; font-weight: 400;
} }
.meal-box {
border-radius: toRpx(24);
border: toRpx(2) solid #dce0e6;
padding: toRpx(24) toRpx(32);
box-sizing: border-box;
margin-top: toRpx(16);
.meal-hd {
color: #333333;
font-size: toRpx(32);
font-weight: 400;
margin-bottom: toRpx(20);
}
.meal-bd {
background: #f6f7fa;
border-radius: toRpx(16);
padding: 0 toRpx(32);
box-sizing: border-box;
.meal-bd-head {
border-bottom: toRpx(2) solid #dce0e6;
padding: toRpx(24) 0;
.name {
color: #333333;
font-size: toRpx(28);
font-weight: 400;
}
.meal-bd-bottom {
color: #999999;
font-size: toRpx(24);
font-weight: 400;
margin-left: toRpx(8);
}
.price {
color: #333333;
font-size: toRpx(28);
font-weight: 400;
}
}
.meal-bd-box:last-child .meal-bd-head {
border-bottom: none;
}
}
}
.good-list { .good-list {
margin-top: toRpx(16); margin-top: toRpx(16);
.good { .good {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!