Blame view

src/pages/refundProgress/refundProgress.vue 6.24 KB
066667dc4   BigBoss   add refundProgress
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
  <template>
  	<view class="content">
  		<view class="header" v-if="type===1">
  			<view class="header-left">
  				<view class="text1" >退款中</view>
  				<view class="text2">还剩00:56:27确认</view>
  			</view>
  			<image class="header-right" src="../../static/customerService-simle.png" mode="aspectFill"></image>
  		</view>
  		<view class="header" v-if="type===2">
  			<view class="header-left">
  				<view class="text1" >商家处理中</view>
  				<view class="text2">还剩00:56:27确认</view>
  			</view>
  			<image class="header-right" src="../../static/customerService-simle.png" mode="aspectFill"></image>
  		</view>
  		<view class="header" v-if="type===3">
  			<view class="header-left">
  				<view class="text1" >卖家已发货</view>
  				<view class="text2">还剩 00:56:27 确认</view>
  			</view>
  			<image class="header-right" src="../../static/customerService-simle.png" mode="aspectFill"></image>
  		</view>
  		<view class="orderInfoCard">
  			<view class="info">
  				<image src="../../static/img/detail/d1.png" mode="aspectFill"></image>
  				<view class="infoText">
  					<view class="orderName">商品名称商品名称商品名称</view>
  					<view class="orderDescrib">规格:玫瑰金 / 钛合金 / 防日光防紫外线</view>
  					<view class="infoText-bottom">
  						<view class="markPrice">¥188</view>
  						<view class="buy-num">X 1</view>
  					</view>
  				</view>
  			</view>
  			<view class="refund_price">
  				<text class="refund_price_title">退款金额</text>
  				<text class="refund_price_price">¥110</text>
  			</view>
  		</view>
  		<view class="application">
  			<view class="title">申请记录</view>
  			<view class="item">
  				<text class="text1">服务类型</text>
  				<text class="text2">退款</text>
  			</view>
  			<view class="item">
  				<text class="text1">换货原因</text>
  				<text class="text2">不想要了</text>
  			</view>
  			<view class="item">
  				<text class="text1">申请时间</text>
  				<text class="text2">2020-10-22 17:55:03</text>
  			</view>
  			<view class="item">
  				<text class="text1">货物编号</text>
  				<text class="text2">173549842184</text>
  			</view>
  			<view class="button">
  				<image src="../../static/customerService-horn.png" mode="aspectFill" style="width: 38rpx;height: 38rpx;"></image>
  				<text>联系客服</text>
  			</view>
  		</view>
  		<view class="btn-bar" v-if="type===1">
  			<view class="btn2">
  				退款进度
  			</view>
  		</view>
  		<view class="btn1" v-if="type===2">
  			修改申请
  		</view>
  		<view  v-if="type===3"></view>
  	</view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
  				type:3
  			};
  		}
  	}
  </script>
  
  <style lang="scss">
  	.content{
  		background-color: #F2F2F2;
  		min-height: 100vh;
  		display: flex;
  		flex-direction: column;
  		align-items: center;
  		.header{
  			width: 100%;
  			height: 142rpx;
  			background-color: #4A90E2;
  			color: #FFFFFF;
  			display: flex;
  			justify-content: space-between;
  			align-items: center;
  			padding:  0 60rpx;
  			box-sizing: border-box;	
  			.header-left{
  				display: flex;
  				flex-direction: column;
  				justify-content: space-between;
  				align-items: center;
  				height: 92rpx;
  				width: 220rpx;
  				color: #FFFFFF;
  				.text1{
  					font-size: 36rpx;
  				}
  				.text2{
  					font-size: 24rpx;
  				}
  			}
  			.header-right{
  				height: 48rpx;
  				width: 48rpx;
  			}
  		}
  		.orderInfoCard{
  			height: 362rpx;
  			width: 670rpx;
  			background: #FFFFFF;
  			box-shadow: 0 0 10px 0 rgba(177,128,128,0.06);
  			border-radius: 8px;
  			margin-top: 20rpx;
  			margin-bottom: 20rpx;
  			padding: 40rpx 40rpx 60rpx 40rpx;
  			box-sizing: border-box;	
  			.info{
  				width: 100%;
  				display: flex;
  				flex-direction: row;
  				justify-content: space-between;
  				align-items: center;
  				margin-bottom: 30rpx;
  				image{
  					height: 188rpx;
  					width: 188rpx;
  					margin-right: 24rpx;
  				}
  				.infoText{
  					display: flex;
  					flex-direction: column;
  					justify-content: space-between;
  					align-items: flex-start;
  					height: 188rpx;
  				}
  				.orderName{
  					font-size: 14px;
  					color: #333333;
  				}
  				.orderDescrib{
  					font-size: 12px;
  					color: #999999;
  				}
  				.infoText-bottom{
  					display: flex;
  					flex-direction: row;
  					justify-content: space-between;
  					align-items: center;
  					width: 100%;
  					.markPrice{
  						font-size: 14px;
  						color: #FF6B4A;
  					}
  					.buy-num{
  						font-size: 12px;
  						color: #999999;
  					}
  				}
  			}
  			.refund_price{
  				text-align: right;
  				.refund_price_title{
  					font-size: 14px;
  					color: #333333;
  					margin-right: 40rpx;
  				}
  				.refund_price_price{
  					font-size: 14px;
  					color: #FF6B4A;
  				}
  			}
  		}
  		.application{
  			background: #FFFFFF;
  			box-shadow: 0 0 10px 0 rgba(177,128,128,0.06);
  			border-radius: 8px;
  			height: 532rpx;
  			width: 670rpx;
  			margin-bottom: 132rpx;
  			padding: 40rpx 40rpx 32rpx 36rpx;
  			box-sizing: border-box;
  			display: flex;
  			flex-direction: column;
  			justify-content: space-between;
  			.title{
  				font-size: 16px;
  				color: #333333;
  			}
  			.item{
  				font-size: 12px;
  				color: #999999;
  				.text1{
  					font-size: 12px;
  					color: #999999;
  					margin-right: 40rpx;
  				}
  				.text2{
  					font-size: 12px;
  					color: #B8B8B8;
  				}
  			}
  			.button{
  				display: flex;
  				justify-content: flex-start;
  				image{
  					margin-right: 20rpx;
  				}
  				font-size: 14px;
  				color: #333333;
  			}
  		}
  		.btn1{
  			position: fixed;
  			height: 112rpx;
  			width: 100%;
  			background-color: #FF6B4A;
  			color: #FFFFFF;
  			font-size: 32rpx;
  			left: 0;
  			bottom: 0;
  			font-size: 16px;
  			color: #FFFFFF;
  			line-height: 112rpx;
  			text-align: center;
  		}
  		.btn-bar{
  			position: fixed;
  			left: 0;
  			bottom: 0;
  			height: 112rpx;
  			width: 100%;
  			background-color: #FFFFFF;
  			padding-right: 26rpx;
  			box-sizing: border-box;
  			display: flex;
  			justify-content: flex-end;
  			align-items: center;
  			.btn2{
  				width: 204rpx;
  				height: 80rpx;
  				border: 1px solid #FF6B4A;
  				border-radius: 20px;
  				border-radius: 20px;
  				background-color: #FFFFFF;
  				font-size: 16px;
  				color: #FF6B4A;
  				line-height: 80rpx;
  				text-align: center;
  			}
  		}
  			
  	}
  </style>