You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.2 KiB
71 lines
1.2 KiB
<template>
|
|
<view>
|
|
<view class="box" style="margin: 30rpx 50rpx;">
|
|
<u-time-line>
|
|
<u-time-line-item nodeTop="2" v-for="(item,index) in list" :key="index">
|
|
<!-- 此处自定义了左边内容,用一个图标替代 -->
|
|
<template v-slot:node>
|
|
<view class="u-node">
|
|
<u-icon name="pushpin-fill" color="#fff" :size="24"></u-icon>
|
|
</view>
|
|
</template>
|
|
<template v-slot:content>
|
|
<view>
|
|
<view class="u-order-desc">{{item.context}}</view>
|
|
<view class="u-order-time">{{item.ftime}}</view>
|
|
</view>
|
|
</template>
|
|
</u-time-line-item>
|
|
</u-time-line>
|
|
</view>
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
computed: {
|
|
list() {
|
|
return this.$store.state.logisticsDetail
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
page {
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
.u-node {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
border-radius: 100rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: #d0d0d0;
|
|
}
|
|
|
|
.u-order-title {
|
|
color: #333333;
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.u-order-desc {
|
|
font-size: 28rpx;
|
|
margin-bottom: 6rpx;
|
|
}
|
|
|
|
.u-order-time {
|
|
color: rgb(200, 200, 200);
|
|
font-size: 26rpx;
|
|
}
|
|
</style>
|