|
@@ -4,7 +4,8 @@ |
|
@@ -4,7 +4,8 @@ |
4
|
ref="scroll"
|
4
|
ref="scroll"
|
5
|
:data="detailList"
|
5
|
:data="detailList"
|
6
|
:options="scrollOption"
|
6
|
:options="scrollOption"
|
7
|
- @pulling-down="onPullingDown">
|
7
|
+ @pulling-down="onPullingDown"
|
|
|
8
|
+ >
|
8
|
<div class="logistics-wrapper">
|
9
|
<div class="logistics-wrapper">
|
9
|
<div class="header">
|
10
|
<div class="header">
|
10
|
<img class="step" alt="" :src="stageImgUrl" />
|
11
|
<img class="step" alt="" :src="stageImgUrl" />
|
|
@@ -19,15 +20,15 @@ |
|
@@ -19,15 +20,15 @@ |
19
|
<p>
|
20
|
<p>
|
20
|
<span class="label">快递公司:</span>
|
21
|
<span class="label">快递公司:</span>
|
21
|
<span>
|
22
|
<span>
|
22
|
- {{ logisticInfo.expressCompanyName }}
|
|
|
23
|
- </span>
|
23
|
+ {{ logisticInfo.expressCompanyName }}
|
|
|
24
|
+ </span>
|
24
|
<!-- <span class="platform-info">{{ platformName }}</span> -->
|
25
|
<!-- <span class="platform-info">{{ platformName }}</span> -->
|
25
|
</p>
|
26
|
</p>
|
26
|
<p>
|
27
|
<p>
|
27
|
<span class="label">快递单号:</span>
|
28
|
<span class="label">快递单号:</span>
|
28
|
<span>
|
29
|
<span>
|
29
|
- {{ logisticInfo.wayBillCode }}
|
|
|
30
|
- </span>
|
30
|
+ {{ logisticInfo.wayBillCode }}
|
|
|
31
|
+ </span>
|
31
|
<i ref="copy" class="copy"></i>
|
32
|
<i ref="copy" class="copy"></i>
|
32
|
</p>
|
33
|
</p>
|
33
|
</div>
|
34
|
</div>
|
|
@@ -39,29 +40,32 @@ |
|
@@ -39,29 +40,32 @@ |
39
|
:key="i"
|
40
|
:key="i"
|
40
|
>
|
41
|
>
|
41
|
<span class="title">{{ detailInfo.title }}</span>
|
42
|
<span class="title">{{ detailInfo.title }}</span>
|
42
|
- <time-line :isGoingOn="i === 0" :deliveryList="detailInfo.detailList">
|
43
|
+ <time-line
|
|
|
44
|
+ :isGoingOn="i === 0"
|
|
|
45
|
+ :deliveryList="detailInfo.detailList"
|
|
|
46
|
+ >
|
43
|
<template v-slot:content="{ detail: { miniFaultConfirm } }">
|
47
|
<template v-slot:content="{ detail: { miniFaultConfirm } }">
|
44
|
<div class="judge-content-wrapper" v-if="miniFaultConfirm">
|
48
|
<div class="judge-content-wrapper" v-if="miniFaultConfirm">
|
45
|
<p class="tip">
|
49
|
<p class="tip">
|
46
|
- <span
|
|
|
47
|
- :class="[miniFaultConfirm.showBtn ? '' : 'tipTextGray']"
|
|
|
48
|
- >{{ miniFaultConfirm.text }}</span
|
|
|
49
|
- >
|
50
|
+ <span
|
|
|
51
|
+ :class="[miniFaultConfirm.showBtn ? '' : 'tipTextGray']"
|
|
|
52
|
+ >{{ miniFaultConfirm.text }}</span
|
|
|
53
|
+ >
|
50
|
<span v-if="miniFaultConfirm.showBtn">
|
54
|
<span v-if="miniFaultConfirm.showBtn">
|
51
|
- ,请在<count-down
|
|
|
52
|
- :leftTime="miniFaultConfirm.leftTime"
|
|
|
53
|
- :isShowIcon="false"
|
|
|
54
|
- class="judge-count-down"
|
|
|
55
|
- />之前确定是否接受
|
|
|
56
|
- </span>
|
55
|
+ ,请在<count-down
|
|
|
56
|
+ :leftTime="miniFaultConfirm.leftTime"
|
|
|
57
|
+ :isShowIcon="false"
|
|
|
58
|
+ class="judge-count-down"
|
|
|
59
|
+ />之前确定是否接受
|
|
|
60
|
+ </span>
|
57
|
</p>
|
61
|
</p>
|
58
|
<div class="img-container">
|
62
|
<div class="img-container">
|
59
|
<ul class="img-wrapper">
|
63
|
<ul class="img-wrapper">
|
60
|
<li
|
64
|
<li
|
61
|
v-for="(imgUrl, i) in miniFaultConfirm.imageUrls.slice(
|
65
|
v-for="(imgUrl, i) in miniFaultConfirm.imageUrls.slice(
|
62
|
- 0,
|
|
|
63
|
- 3
|
|
|
64
|
- )"
|
66
|
+ 0,
|
|
|
67
|
+ 3
|
|
|
68
|
+ )"
|
65
|
:key="i"
|
69
|
:key="i"
|
66
|
@click="showBigImage(miniFaultConfirm, i)"
|
70
|
@click="showBigImage(miniFaultConfirm, i)"
|
67
|
>
|
71
|
>
|
|
@@ -77,7 +81,7 @@ |
|
@@ -77,7 +81,7 @@ |
77
|
<Button
|
81
|
<Button
|
78
|
class="more"
|
82
|
class="more"
|
79
|
@click="showBigImage(miniFaultConfirm, 3)"
|
83
|
@click="showBigImage(miniFaultConfirm, 3)"
|
80
|
- >查看更多</Button
|
84
|
+ >查看更多</Button
|
81
|
>
|
85
|
>
|
82
|
</li>
|
86
|
</li>
|
83
|
</ul>
|
87
|
</ul>
|
|
@@ -92,12 +96,13 @@ |
|
@@ -92,12 +96,13 @@ |
92
|
</div>
|
96
|
</div>
|
93
|
</div>
|
97
|
</div>
|
94
|
</div>
|
98
|
</div>
|
95
|
- <template slot="pulldown" slot-scope="props">
|
|
|
96
|
- <div v-if="props.pullDownRefresh"
|
|
|
97
|
- class="cube-pulldown-wrapper"
|
|
|
98
|
- :style="props.pullDownStyle">
|
|
|
99
|
- </div>
|
|
|
100
|
- </template>
|
99
|
+ <!-- <template slot="pulldown" slot-scope="props">
|
|
|
100
|
+ <div
|
|
|
101
|
+ v-if="props.pullDownRefresh"
|
|
|
102
|
+ class="cube-pulldown-wrapper"
|
|
|
103
|
+ :style="props.pullDownStyle"
|
|
|
104
|
+ ></div>
|
|
|
105
|
+ </template> -->
|
101
|
</scroll-view>
|
106
|
</scroll-view>
|
102
|
</layout-app>
|
107
|
</layout-app>
|
103
|
</template>
|
108
|
</template>
|
|
@@ -120,24 +125,25 @@ export default { |
|
@@ -120,24 +125,25 @@ export default { |
120
|
TimeLine,
|
125
|
TimeLine,
|
121
|
CountDown,
|
126
|
CountDown,
|
122
|
ScrollView,
|
127
|
ScrollView,
|
123
|
- Button,
|
128
|
+ Button
|
124
|
},
|
129
|
},
|
125
|
data() {
|
130
|
data() {
|
126
|
return {
|
131
|
return {
|
127
|
- stageImgUrl: '',
|
132
|
+ stageImgUrl: "",
|
128
|
imageUrls: [],
|
133
|
imageUrls: [],
|
129
|
scrollOption: {
|
134
|
scrollOption: {
|
130
|
pullDownRefresh: {
|
135
|
pullDownRefresh: {
|
131
|
threshold: 70,
|
136
|
threshold: 70,
|
132
|
- stop: 90
|
137
|
+ stop: 90,
|
|
|
138
|
+ txt: "更新成功"
|
133
|
},
|
139
|
},
|
134
|
observeDOM: false,
|
140
|
observeDOM: false,
|
135
|
- pullUpLoad: false,
|
|
|
136
|
- },
|
141
|
+ pullUpLoad: false
|
|
|
142
|
+ }
|
137
|
};
|
143
|
};
|
138
|
},
|
144
|
},
|
139
|
computed: {
|
145
|
computed: {
|
140
|
- ...mapState(['logisticInfo']),
|
146
|
+ ...mapState(["logisticInfo"]),
|
141
|
platformName() {
|
147
|
platformName() {
|
142
|
const { expressType: type } = this.logisticInfo;
|
148
|
const { expressType: type } = this.logisticInfo;
|
143
|
|
149
|
|
|
@@ -291,10 +297,6 @@ export default { |
|
@@ -291,10 +297,6 @@ export default { |
291
|
|
297
|
|
292
|
<style lang="scss" scoped>
|
298
|
<style lang="scss" scoped>
|
293
|
.logistics-wrapper {
|
299
|
.logistics-wrapper {
|
294
|
- height: calc(100vh - 90px);
|
|
|
295
|
- -webkit-box-orient: vertical;
|
|
|
296
|
- overflow-x: auto;
|
|
|
297
|
-
|
|
|
298
|
/deep/ .time-line-wrapper .time-line-item {
|
300
|
/deep/ .time-line-wrapper .time-line-item {
|
299
|
padding-right: 0;
|
301
|
padding-right: 0;
|
300
|
}
|
302
|
}
|
|
@@ -348,7 +350,7 @@ export default { |
|
@@ -348,7 +350,7 @@ export default { |
348
|
|
350
|
|
349
|
.judge-count-down {
|
351
|
.judge-count-down {
|
350
|
color: #d0021b;
|
352
|
color: #d0021b;
|
351
|
- font-size: 12*2px;
|
353
|
+ font-size: 12 * 2px;
|
352
|
display: inline-block;
|
354
|
display: inline-block;
|
353
|
}
|
355
|
}
|
354
|
|
356
|
|