order-logistics-info.vue
1.02 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
<template>
<div class="logistics-wrapper">
<div class="header">
<p class="title">{{ logisticInfo.expressSender }}</p>
<img class="step" alt="" :src="stageImgUrl" />
</div>
<div class="platform-delivery-info">
<time-line />
</div>
<div class="platform-identification-info"></div>
<div class="seller-delivery-info"></div>
</div>
</template>
<script>
import { createNamespacedHelpers } from "vuex";
import TimeLine from "./components/time-line";
const { mapActions, mapState, mapGetters } = createNamespacedHelpers(
"order/logisticsInfo"
);
export default {
components: {
TimeLine
},
computed: {
...mapState(["logisticInfo"]),
...mapGetters(["stageImgUrl"])
},
mounted() {
this.fetchLogisticInfo(this.$route.params);
},
methods: {
...mapActions(["fetchLogisticInfo"])
}
};
</script>
<style lang="scss" scoped>
.logistics-wrapper {
height: 100vh;
-webkit-box-orient: vertical;
.step {
display: block;
margin: 0 auto;
height: 100px;
}
}
</style>