|
@@ -1,27 +1,29 @@
|
|
|
<template>
|
|
|
- <view class='comtainer'>
|
|
|
- <view class='title-box'>
|
|
|
+ <view class='order-detail'>
|
|
|
+ <view class="page-navbar">
|
|
|
+ <page-navbar bgColor="transparent" title="我的订单" titleColor="#fff" iconColor="#fff" />
|
|
|
+ </view>
|
|
|
+ <view class='title-box u-p-l-32'>
|
|
|
<view class='title'>待使用</view>
|
|
|
- <view class='explan'>请切务听信商家线下交易,平台交易有保降哦</view>
|
|
|
+ <view class='explain u-m-b-16'>请切务听信商家线下交易,平台交易有保降哦</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="container-item-box">
|
|
|
<view class='order-title'>此条形码给店员展示</view>
|
|
|
-
|
|
|
<view class='order-item-top-box'>
|
|
|
<view class='order-item' v-for="(item,index) of 3" :key="index">
|
|
|
<view class='item-box'>
|
|
|
<view class='item-left'>
|
|
|
- <image src='@/static/QR57a.jpg' class='img'></image>
|
|
|
+ <base-img src='/static/img.jpg' width="160rpx" height="160rpx" borderRadius="16rpx"></base-img>
|
|
|
</view>
|
|
|
- <view class='item-right'>
|
|
|
- <view class='right1'>水洗轿车</view>
|
|
|
- <view class='right2'>X1</view>
|
|
|
- <view class='right3'>汽车美容</view>
|
|
|
+ <view class="u-m-l-32">
|
|
|
+ <view class='f-s-28 text-333 u-m-b-20'>水洗轿车</view>
|
|
|
+ <view class='f-s-24 text-333 u-m-b-32'>X1</view>
|
|
|
+ <base-text text="汽车美容" padding="2rpx 10rpx"></base-text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class='allprice'>
|
|
|
+ <view class='allPrice'>
|
|
|
<view class='price-text'>总价:</view>
|
|
|
<view class='price'>¥97.95</view>
|
|
|
</view>
|
|
@@ -33,7 +35,6 @@
|
|
|
<view class='refund-box'>
|
|
|
<view class='refund-btn'>申请退款</view>
|
|
|
</view>
|
|
|
-
|
|
|
<view class='rqcode-box'>
|
|
|
<view class='rqcode-img'>
|
|
|
<image class='img' src='@/static/icon/tools.png'>
|
|
@@ -45,17 +46,15 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="order-item-explan-box">
|
|
|
- <view class='explan-title'>贵阳贵通汽车服务有限公司</view>
|
|
|
- <view class='explan-sale'>
|
|
|
+ <view class="order-item-explain-box">
|
|
|
+ <view class='explain-title'>贵阳贵通汽车服务有限公司</view>
|
|
|
+ <view class='explain-sale'>
|
|
|
<view class='sale-left'>营业中</view>
|
|
|
<view class='sale-right'>销量 225</view>
|
|
|
</view>
|
|
|
- <view class='explan-address'>观山湖区高新区联合广场</view>
|
|
|
+ <view class='explain-address'>观山湖区高新区联合广场</view>
|
|
|
</view>
|
|
|
-
|
|
|
<button class='reserve-btn' @click='handlerSkipReserve'>立即预约</button>
|
|
|
-
|
|
|
</view>
|
|
|
|
|
|
<view class="containers-box">
|
|
@@ -84,7 +83,6 @@
|
|
|
<view class='item-right'>1.订单核销码有效期60天,过期后自动退款; 2.未使用/未到期前随时可退,款项沿付款方式原路退回,订单使用后不可退款</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -119,18 +117,22 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scope>
|
|
|
-.comtainer {
|
|
|
- padding: 120rpx 32rpx 32rpx;
|
|
|
+.order-detail {
|
|
|
+ padding: 194rpx 32rpx 32rpx;
|
|
|
background: linear-gradient(180deg, #d3e2ff 0%, #efeffa 35%, #f9f9f9 50%);
|
|
|
min-height: calc(100vh - 152rpx);
|
|
|
font-size: 28rpx;
|
|
|
+ position: relative;
|
|
|
+ .page-navbar {
|
|
|
+ position: absolute;
|
|
|
+ }
|
|
|
.title-box {
|
|
|
.title {
|
|
|
color: #0c1223;
|
|
|
font-size: 36rpx;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
- .explan {
|
|
|
+ .explain {
|
|
|
color: #333333;
|
|
|
font-size: 26rpx;
|
|
|
margin-top: 12rpx;
|
|
@@ -153,22 +155,11 @@ export default {
|
|
|
margin-bottom: 24rpx;
|
|
|
.item-box {
|
|
|
display: flex;
|
|
|
- .item-left {
|
|
|
- .img {
|
|
|
- width: 160rpx;
|
|
|
- height: 160rpx;
|
|
|
- border-radius: 16rpx;
|
|
|
- }
|
|
|
- }
|
|
|
.item-right {
|
|
|
margin-left: 32rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
- .right1 {
|
|
|
- }
|
|
|
- .right2 {
|
|
|
- }
|
|
|
.right3 {
|
|
|
padding: 2rpx 12rpx;
|
|
|
border: 2rpx solid #215ebe;
|
|
@@ -183,7 +174,7 @@ export default {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
- .allprice {
|
|
|
+ .allPrice {
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
font-size: 26rpx;
|
|
@@ -234,9 +225,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.order-item-explan-box {
|
|
|
+.order-item-explain-box {
|
|
|
margin-top: 50rpx;
|
|
|
- .explan-sale {
|
|
|
+ .explain-sale {
|
|
|
display: flex;
|
|
|
margin: 9rpx 0;
|
|
|
align-items: center;
|
|
@@ -249,7 +240,7 @@ export default {
|
|
|
margin-left: 8rpx;
|
|
|
}
|
|
|
}
|
|
|
- .explan-address {
|
|
|
+ .explain-address {
|
|
|
font-size: 24rpx;
|
|
|
color: #999999;
|
|
|
}
|