Commit e170f84b80ee8ded47df1c1b56949b76e4a891ea
1 parent
373265dfe5
Exists in
master
待付款
Showing
2 changed files
with
151 additions
and
0 deletions
Show diff stats
src/pages/Predelivery/Predelivery.vue
File was created | 1 | <template> | |
2 | <view class="container"> | ||
3 | <view v-for="(items) in form" :key="items.key" class="order"> | ||
4 | <view class="order_number">订单号:{{items.orderNum}}<span>待发货</span></view> | ||
5 | <view class="order_detail"> | ||
6 | <view class="detail_img"><image v-bind:src="items.img"></image></view> | ||
7 | <view class="detail_zi"> | ||
8 | <view class="zi_name">{{items.name}}</view> | ||
9 | <view class="zi_standard">规格:{{items.standard}}</view> | ||
10 | <view class="zi_preprice">¥{{items.preprice}}<span>X{{items.number}}</span></view> | ||
11 | </view> | ||
12 | </view> | ||
13 | <view class="now_price">实付:<span>¥{{items.nowprice}}</span></view> | ||
14 | <view class="clear"></view> | ||
15 | <view class="button"> | ||
16 | <view class="button1">申请退款</view> | ||
17 | <view class="button2">提醒发货</view> | ||
18 | </view> | ||
19 | </view> | ||
20 | </view> | ||
21 | </template> | ||
22 | |||
23 | <script> | ||
24 | export default { | ||
25 | data(){ | ||
26 | return{ | ||
27 | form:[ | ||
28 | { | ||
29 | key: 0, | ||
30 | name:'商品名称', | ||
31 | standard:'玫瑰金/钛合金/防日光防紫外线/超薄超轻', | ||
32 | img: '/static/img/detail/delivery.png', | ||
33 | preprice: 180, | ||
34 | number:1, | ||
35 | orderNum: 2034867958596334, | ||
36 | nowprice: 110, | ||
37 | } | ||
38 | ] | ||
39 | |||
40 | } | ||
41 | } | ||
42 | } | ||
43 | </script> | ||
44 | |||
45 | <style lang="scss"> | ||
46 | .container{ | ||
47 | width: 100%; | ||
48 | height: 100%; | ||
49 | background: #F2F2F2; | ||
50 | height: 700px; | ||
51 | //要获取屏幕大小 | ||
52 | } | ||
53 | .order{ | ||
54 | background: #FFFFFF; | ||
55 | width: 90%; | ||
56 | height: 450rpx; | ||
57 | margin: 0 auto; | ||
58 | padding: 40rpx; | ||
59 | box-sizing: border-box; | ||
60 | border-radius: 5px; | ||
61 | } | ||
62 | .order_number{ | ||
63 | color: #999999; | ||
64 | font-size: 12px; | ||
65 | font-family: "PingFangSC-Regular"; | ||
66 | span{ | ||
67 | font-family: PingFangSC-Regular; | ||
68 | font-size: 14px; | ||
69 | color: #FF6B4A; | ||
70 | letter-spacing: -0.26px; | ||
71 | line-height: 18px; | ||
72 | float: right; | ||
73 | } | ||
74 | } | ||
75 | .order_detail{ | ||
76 | display: flex; | ||
77 | justify-content: space-around; | ||
78 | margin-top: 12px; | ||
79 | } | ||
80 | .detail_img image{ | ||
81 | width: 188rpx; | ||
82 | height: 188rpx; | ||
83 | } | ||
84 | .detail_zi{ | ||
85 | font-family: PingFangSC-Regular; | ||
86 | width: 55%; | ||
87 | height: 100%; | ||
88 | view{ | ||
89 | margin-bottom: 20rpx; | ||
90 | } | ||
91 | .zi_name{ | ||
92 | font-size: 14px; | ||
93 | color: #333333; | ||
94 | letter-spacing: -0.26px; | ||
95 | line-height: 18px; | ||
96 | } | ||
97 | .zi_standard{ | ||
98 | font-size: 12px; | ||
99 | color: #999999 ; | ||
100 | } | ||
101 | .zi_preprice{ | ||
102 | font-size: 14px; | ||
103 | color: #FF6B4A; | ||
104 | span{ | ||
105 | float: right; | ||
106 | font-size: 12px; | ||
107 | color: #999999; | ||
108 | } | ||
109 | } | ||
110 | } | ||
111 | .now_price{ | ||
112 | font-size: 14px; | ||
113 | color: #333333; | ||
114 | float: right; | ||
115 | span{ | ||
116 | font-size: 14px; | ||
117 | color: #FF6B4A ; | ||
118 | } | ||
119 | } | ||
120 | .clear{ | ||
121 | clear: both; | ||
122 | } | ||
123 | .button{ | ||
124 | display: flex; | ||
125 | justify-content: flex-end; | ||
126 | margin-top: 14px; | ||
127 | view{ | ||
128 | width: 156rpx; | ||
129 | height: 48rpx; | ||
130 | border-radius: 12px; | ||
131 | font-size: 12px; | ||
132 | text-align: center; | ||
133 | line-height: 20px; | ||
134 | } | ||
135 | .button1{ | ||
136 | border: 1px solid #FF6B4A; | ||
137 | font-family: PingFangSC-Regular; | ||
138 | color: #FF6B4A; | ||
139 | letter-spacing: -0.23px; | ||
140 | margin-right: 30rpx; | ||
141 | } | ||
142 | .button2{ | ||
143 | border: 1px solid #FF6B4A; | ||
144 | background: #FF6B4A; | ||
145 | font-family: PingFangSC-Regular; | ||
146 | color: #FFFFFF; | ||
147 | letter-spacing: -0.23px; | ||
148 | |||
149 | } | ||
150 | } | ||
151 | </style> |
src/static/img/detail/delivery.png
55.5 KB