Blame view

src/pages/myOrderPaying/myOrderPaying.vue 9.13 KB
4de4be344   喻鹏   客服在线和我的订单-待付款
1
  <template>
c338b4909   BigBoss   完善页面跳转逻辑
2

7d6833f2c   范牧   地址列表
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
    <view class="content">
      <view class="order-hr"></view>
      <view class="order-time">
        <text>请在</text>
        <!-- <text class="p2"></text> -->
        <uni-countdown
          color="#EC5D3B"
          splitor-color="#EC5D3B"
          :show-day="false"
          :hour="0"
          :minute="59"
          :second="58"
          style="margin: 36rpx 20rpx 0 20rpx"
        ></uni-countdown>
        <text>内完成付款</text>
      </view>
      <view class="order">
        <view class="order-user">
          <view class="order-user-head">
            <text class="p1">钱大大</text>
            <text class="p2">18823749843</text>
          </view>
          <view class="order-user-body">
            <image src="../../static/myorder-paying-location.png"></image>
            <text class="p3">四川省 德阳市 旌阳区
  黄河西路碧桂园3期 4单元 202</text>
          </view>
        </view>
        <view class="order-info">
          <view class="order-info-head">
            <image src="../../static/myorder-paying-pic.png"></image>
            <view class="order-info-head-r">
              <text class="p1">眼镜名称眼镜名称眼镜名称眼镜名称…</text>
              <view
                class="p2"
                style="margin: 0;"
              >
                规格:玫瑰金 / 钛合金 / 防日光防紫外线 / 超薄超轻
                <!-- <view class="arrow"></view> -->
              </view>
              <text class="p3"><span>¥180</span><span class="p4">X1</span></text>
            </view>
          </view>
          <!-- 				<view class="order-info-goodsnum">
4de4be344   喻鹏   客服在线和我的订单-待付款
47
  					<text>X1</text>
ab4209caf   喻鹏   update
48
  				</view> -->
7d6833f2c   范牧   地址列表
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
          <text class="order-info-freight">
            <text class="p1">运费</text>
            <text class="p2">0.00</text>
          </text>
          <text class="order-info-discount">
            <text class="p1">优惠</text>
            <text class="p2">-¥70.00</text>
          </text>
          <text class="order-info-price">
            <text class="p1">实付</text>
            <text class="p2">¥110</text>
          </text>
          <text class="order-info-num">
            <text>订单号:203486795859605849</text>
          </text>
          <text class="order-info-time">
            <text>下单时间:2020-10-22 14:32:42</text>
          </text>
          <view class="order-info-hr"></view>
          <view class="order-info-contact">
            <image src="../../static/myorder-paying-contact.png"></image>
            <text>联系客服</text>
          </view>
        </view>
      </view>
      <view class="order-confim">
        <button class="b1">取消订单</button>
        <button class="b2">立即支付</button>
      </view>
    </view>
4de4be344   喻鹏   客服在线和我的订单-待付款
79
80
81
  </template>
  
  <script>
7d6833f2c   范牧   地址列表
82
83
84
85
86
87
88
89
90
91
92
93
94
95
  import UniCountdown from '../../components/UniCountdown/UniCountdown.vue'
  export default {
    components: {
      UniCountdown
    },
    data () {
      return {
        scrollHeight: false
      }
    },
    methods: {
  
    }
  }
4de4be344   喻鹏   客服在线和我的订单-待付款
96
97
98
  </script>
  
  <style lang="scss" scoped>
7d6833f2c   范牧   地址列表
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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f2f2f2;
  }
  
  .order {
    min-height: 1196rpx;
    margin-bottom: 112rpx;
    background: #f2f2f2;
  }
  .order-hr {
    width: 100%;
    height: 1px;
    background-color: #e9e9e9;
  }
  .order-time {
    width: 100%;
    height: 140rpx;
    background-color: #fff;
    display: flex;
    justify-content: center;
    text {
      // font-family: PingFangSC-Regular;
      margin-top: 48rpx;
      font-size: 14px;
      color: #333333;
      letter-spacing: -0.26px;
    }
    .p2 {
      // font-family: DINAlternate-Bold;
      margin: 42rpx 20rpx 0 20rpx;
      font-size: 18px;
      color: #ec5d3b;
      letter-spacing: -0.34px;
    }
  }
  
  .order-user {
    width: 670rpx;
    height: 228rpx;
    background: #ffffff;
    border-radius: 14rpx;
    margin: 0 auto;
    margin-top: 20rpx;
    margin-bottom: 20rpx;
    .order-user-head {
      display: flex;
      height: 108rpx;
      width: 100%;
      align-items: center;
      margin-left: 126rpx;
      .p1 {
        // font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #333333;
        letter-spacing: -0.26px;
        margin-right: 20rpx;
      }
      .p2 {
        // font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #999999;
        letter-spacing: -0.26px;
      }
    }
    .order-user-body {
      display: flex;
      width: 100%;
      image {
        width: 24px;
        height: 26px;
        margin: 12rpx 32rpx 0 40rpx;
      }
      .p3 {
        // font-family: PingFangSC-Semibold;
        font-size: 14px;
        color: #333333;
        letter-spacing: -0.26px;
      }
    }
  }
  
  .order-info {
    width: 670rpx;
    background-color: #fff;
    box-shadow: 0 0 20rpx 0 rgba(177, 128, 128, 0.06);
    border-radius: 16rpx;
    margin: 0 auto;
    view {
      margin-left: 40rpx;
    }
    text {
      font-size: 14px;
    }
    .order-info-head {
      display: flex;
      padding-top: 40rpx;
      image {
        height: 188rpx;
        width: 188rpx;
      }
      .order-info-head-r {
        margin: 0;
        width: 368rpx;
        margin-left: 24rpx;
        // margin-top: 40rpx;
        text {
          display: block;
        }
        // .arrow{
        // width: 0;
        // height: 0;
        // border-left: 5px transparent;
        // border-right: 5px transparent;
        // border-top: 5px #979797;
        // border-bottom: 0 transparent;
        // border-style: solid;
        // position: relative;
        // // transform: scaleY(-1);
        // }
        // .arrow::after{
        //     content: '';
        //     position: absolute;
        //     top: -6.5px;
        //     left: -5px;
        // 	border-left: 5px transparent;
        // 	border-right: 5px transparent;
        // 	border-top: 5px #FFFFFF;
        // 	border-bottom: 0 transparent;
        // 	border-style: solid;
        // }
        .p1 {
          min-height: 40px;
          // font-family: PingFangSC-Regular;
          font-size: 14px;
          color: #333333;
          letter-spacing: -0.26px;
          line-height: 18px;
          // line-height: 20px;
        }
        .p2 {
          height: 34px;
          padding: 1px 0 3px 0;
          // font-family: PingFangSC-Regular;
          font-size: 12px;
          color: #999999;
          letter-spacing: -0.23px;
        }
        .p3 {
          height: 20px;
          // font-family: PingFangSC-Regular;
          font-size: 14px;
          color: #ff6b4a;
          letter-spacing: -0.26px;
        }
        .p4 {
          font-size: 12px;
          color: #999999;
          letter-spacing: -0.23px;
          margin-left: 10px;
        }
      }
    }
    // .order-info-goodsnum {
    // 	display: flex;
    // 	align-items: center;
    // 	justify-content: flex-end;
    // 	text {
    // 		margin-right: 44rpx;
    // 		// ont-family: PingFangSC-Regular;
    // 		font-size: 12px;
    // 		color: #999999;
    // 		letter-spacing: -0.23px;
    // 	}
    // }
    .order-info-freight {
      display: block;
      margin-left: 40rpx;
      margin-top: 22rpx;
      .p1 {
        // font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #333333;
        letter-spacing: -0.26px;
        line-height: 18px;
        margin-right: 24px;
      }
      .p2 {
        // font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #ff6b4a;
        letter-spacing: -0.26px;
      }
    }
    .order-info-discount {
      display: block;
      margin-left: 40rpx;
      margin-top: 24rpx;
      .p1 {
        // font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #333333;
        letter-spacing: -0.26px;
        line-height: 18px;
        margin-right: 24px;
      }
      .p2 {
        // font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #ff6b4a;
        letter-spacing: -0.26px;
      }
    }
    .order-info-price {
      display: block;
      margin-left: 40rpx;
      margin-top: 24rpx;
      .p1 {
        // font-family: PingFangSC-Semibold;
        font-size: 14px;
        color: #333333;
        letter-spacing: -0.26px;
        line-height: 18px;
        margin-right: 24px;
      }
      .p2 {
        // font-family: PingFangSC-Semibold;
        font-size: 14px;
        color: #ff6b4a;
        letter-spacing: -0.26px;
      }
    }
    .order-info-num {
      display: block;
      margin-left: 40rpx;
      margin-top: 44rpx;
      text {
        // font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #999999;
        letter-spacing: -0.23px;
      }
    }
    .order-info-time {
      display: block;
      margin: 8rpx 0 48rpx 40rpx;
      text {
        // font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #999999;
        letter-spacing: -0.23px;
      }
    }
    .order-info-hr {
      width: 520rpx;
      height: 1px;
      background-color: #e9e9e9;
      margin-bottom: 20rpx;
    }
    .order-info-contact {
      display: flex;
      padding-bottom: 28rpx;
      image {
        width: 19px;
        height: 16px;
      }
      text {
        // font-family: PingFangSC-Regular;
        margin-left: 20rpx;
        font-size: 14px;
        color: #333333;
        letter-spacing: -0.26px;
        line-height: 18px;
      }
    }
  }
4de4be344   喻鹏   客服在线和我的订单-待付款
378

7d6833f2c   范牧   地址列表
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
  .order-confim {
    display: flex;
    align-items: center;
    z-index: 999;
    width: 100%;
    height: 112rpx;
    position: fixed;
    bottom: 0;
    background: #ffffff;
    button {
      width: 204rpx;
      height: 80rpx;
      border: 1px solid #ff6b4a;
      border-radius: 40rpx;
      font-size: 32rpx;
      letter-spacing: -0.3px;
      margin-right: 0;
    }
    .b1 {
      // font-family: PingFangSC-Regular;
      color: #ff6b4a;
    }
    .b2 {
      // font-family: PingFangSC-Regular;
      background-color: #ff6b4a;
      color: #ffffff;
      margin: 0 26rpx 0 20rpx;
    }
  }
4de4be344   喻鹏   客服在线和我的订单-待付款
408
  </style>