order-details.vue
3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<template>
<view>
<view class="" v-for="(item,index) in 2" :key="index">
<view class="order-item">
<view class="pickup-code">
<image src="/static/checkbox.png" mode=""></image>
<text style="margin: 0 12rpx 0 18rpx;font-size: 28rpx;">取货码</text>
<text class="code-number">122452</text>
</view>
<view class="address">福建省三明市梅列区列西街道17幢</view>
<view class="address-desc">
<text style="font-size: 26rpx;">谢筠竹</text>
<text style="margin-left: 16rpx;">13000000000</text>
</view>
<view class="shopping-desc">
<view class="title">订单编号:123456795262366</view>
<view class="shopping-item" v-for="(item,index) in 2" :key="index"
:style="{'margin-bottom':index!==1?'48rpx':''}">
<image src="/static/logo.png" mode=""></image>
<view class="right-desc">
<view class="desc-title">一加 9RT 5GoneLine1汉米尔顿女士复古一加
9RoneLineoneLineoneLineoneLineoneLineoneLineoneLineoneLine.</view>
<view class="product-specifications">
<text> 海蓝色,256G</text><text>x1</text>
</view>
<view class="expedited-orders">着急需要,麻烦尽快接单</view>
</view>
</view>
</view>
</view>
<view class="split-line"></view>
</view>
<!-- 按钮 -->
<view class="bottomBar">
<view class="barBox">
<view class="btn">立即取货 </view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
page {
font-size: 24rpx;
padding-bottom: 188rpx;
}
.order-item {
@include wrapPadding(750rpx, 32rpx, 24rpx, 32rpx, 24rpx);
width: 702rpx;
}
.pickup-code {
font-weight: 700;
@include flexcenter();
image {
@include commonIconWh(36rpx);
}
.code-number {
color: #EC3323;
font-size: 55rpx;
}
}
.address {
font-size: 28rpx;
font-weight: 700;
margin: 16rpx 0 8rpx 0;
}
.shopping-desc {
@include wrapPadding(702rpx, 24rpx, 24rpx, 24rpx, 24rpx);
margin-top: 16rpx;
height: 452rpx;
border-radius: 16rpx;
background: #f5f5f5ff;
.title {
margin-bottom: 14rpx;
}
.shopping-item {
@include flexCj();
height: 160rpx;
border-radius: 8rpx;
image {
@include commonIconWh(160rpx, 16rpx);
margin-right: 16rpx;
}
.right-desc {
.desc-title {
width: 478rpx;
@include oneLine(2);
}
.product-specifications {
@include flexCj();
color: #00000066;
margin-top: 8rpx;
}
.expedited-orders {
color: #EC3323;
margin-top: 8rpx;
padding-left: 16rpx;
width: 478rpx;
height: 44rpx;
line-height: 44rpx;
border-radius: 8rpx;
background: #ffffffff;
}
}
}
}
.split-line {
width: 750rpx;
height: 16rpx;
background: #f5f5f5ff;
}
.bottomBar {
position: fixed;
z-index: 999;
left: 0;
right: 0;
bottom: 0;
height: 188rpx;
width: 750rpx;
background-color: #fff;
.barBox {
@include wrapPadding(750rpx, 16rpx, 32rpx, 0, 32rpx);
.btn {
@include flexCj(center);
color: #ffffffff;
font-size: 32rpx;
font-weight: 700;
height: 88rpx;
border-radius: 54rpx;
background: #ec3323ff;
}
}
}
</style>