|
@@ -15,46 +15,43 @@
|
|
|
>{{ order_datail.order_addr?.contact_province }} {{ order_datail.order_addr?.contact_city }} {{ order_datail.order_addr?.contact_area }} {{ order_datail.order_addr?.contact_addr }}</view
|
|
|
>
|
|
|
</view>
|
|
|
- <view style="padding-bottom: 210rpx">
|
|
|
- <view class="car_list">
|
|
|
- <view class="business_name">{{ order_datail?.business_name }}</view>
|
|
|
+ <view class="car_list">
|
|
|
+ <view class="business_name"><image src="../../static/icon/shop_fill.png" class="business_icon" /> {{ order_datail?.business_name }}</view>
|
|
|
|
|
|
- <view class="car_item" v-for="(item, index) in order_datail.order_items" :key="index" @click="_navToProduct(item.product_id)">
|
|
|
- <view class="box_left">
|
|
|
- <image class="car_image" :src="item.product_thumb" mode=""></image>
|
|
|
- </view>
|
|
|
- <view class="box_center">
|
|
|
- <view class="car_name">{{ item.product_name }}</view>
|
|
|
- <view class="car_spec">{{ item.product_spec }}</view>
|
|
|
- <view v-if="item.promo_title" class="promo_title">{{ item.promo_title }}</view>
|
|
|
- <view class="car_price">
|
|
|
- <text class="price">¥{{ item.pay_total }}</text>
|
|
|
- </view>
|
|
|
+ <view class="car_item" v-for="(item, index) in order_datail.order_items" :key="index" @click="_navToProduct(item.product_id)">
|
|
|
+ <view class="box_left">
|
|
|
+ <image class="car_image" :src="item.product_thumb" mode=""></image>
|
|
|
+ </view>
|
|
|
+ <view class="box_center">
|
|
|
+ <view class="car_name">{{ item.product_name }}</view>
|
|
|
+ <view class="car_spec">{{ item.product_spec }}</view>
|
|
|
+ <view v-if="item.promo_title" class="promo_title">{{ item.promo_title }}</view>
|
|
|
+ <view class="car_price">
|
|
|
+ <text class="price">¥{{ item.pay_total }}</text>
|
|
|
</view>
|
|
|
- <view class="box_right">
|
|
|
- <view class="buy_num_box">
|
|
|
- <view class="buy_num">共{{ item.buy_num }}件</view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ <view class="box_right">
|
|
|
+ <view class="buy_num_box">
|
|
|
+ <view class="buy_num">共{{ item.buy_num }}件</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="price_content">
|
|
|
- <view class="price_content_title">价格明细</view>
|
|
|
<view class="price_content_item">
|
|
|
<view>订单总价</view>
|
|
|
- <view>¥{{ order_datail?.price_total }}</view>
|
|
|
+ <view class="price">¥{{ order_datail?.price_total }}</view>
|
|
|
</view>
|
|
|
<view class="price_content_item">
|
|
|
<view>优惠价格</view>
|
|
|
- <view>¥-{{ order_datail?.coupon_total }}</view>
|
|
|
+ <view class="price">¥-{{ order_datail?.coupon_total }}</view>
|
|
|
</view>
|
|
|
<view class="price_content_item">
|
|
|
<view>订单金额</view>
|
|
|
- <view>¥{{ order_datail?.pay_total }}</view>
|
|
|
+ <view class="price">¥{{ order_datail?.pay_total }}</view>
|
|
|
</view>
|
|
|
- <view class="price_content_title">更多订单信息</view>
|
|
|
+ <view class="price_content_title"></view>
|
|
|
<view class="price_content_item">
|
|
|
<view>订单编号</view>
|
|
|
<view>{{ order_datail?.order_code }}</view>
|
|
@@ -110,7 +107,7 @@ export default {
|
|
|
font-size: 24rpx;
|
|
|
overflow: hidden;
|
|
|
line-height: 40rpx;
|
|
|
- padding: 15rpx 10rpx;
|
|
|
+ padding: 20rpx 35rpx;
|
|
|
border-radius: 15rpx;
|
|
|
padding-bottom: 0rpx;
|
|
|
margin-bottom: 10rpx;
|
|
@@ -131,7 +128,6 @@ export default {
|
|
|
font-size: 24rpx;
|
|
|
line-height: 30rpx;
|
|
|
padding: 10rpx 5rpx;
|
|
|
- border-bottom: 2rpx solid #dddddd;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -141,13 +137,19 @@ export default {
|
|
|
margin: 0rpx auto;
|
|
|
margin-top: 20rpx;
|
|
|
background: #ffffff;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
.business_name {
|
|
|
- padding: 8rpx 10rpx;
|
|
|
+ padding: 8rpx 35rpx;
|
|
|
border-bottom: 1px solid #f3f3f3;
|
|
|
- font-size: 24rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
z-index: 1;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ .business_icon {
|
|
|
+ width: 48rpx;
|
|
|
+ height: 48rpx;
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
}
|
|
|
.car_item {
|
|
|
height: 170rpx;
|
|
@@ -247,14 +249,13 @@ export default {
|
|
|
|
|
|
.price_content {
|
|
|
background-color: #fff;
|
|
|
- position: fixed;
|
|
|
bottom: var(--window-bottom);
|
|
|
- padding: 16rpx 26rpx;
|
|
|
+ padding: 40rpx 35rpx 20rpx;
|
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
|
.price_content_title {
|
|
|
- font-weight: bold;
|
|
|
margin-bottom: 20rpx;
|
|
|
+ border-bottom: 1px dashed #f3f3f3;
|
|
|
}
|
|
|
.price_content_item {
|
|
|
margin-bottom: 20rpx;
|
|
@@ -262,6 +263,10 @@ export default {
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
font-size: 24rpx;
|
|
|
+ color: #00000073;
|
|
|
+ .price {
|
|
|
+ color: red;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|