123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <template>
- <view class="content">
- <view class="body">
- <view class="list" style="padding-top: 20rpx;">
- <view class="time">
- </view>
- <view class="text">
- <view class="icon-big">
- 收
- </view>
- <view class="icon-text">
- 【收宠地址】{{data.addr}}
- </view>
- </view>
- </view>
- <view class="list" v-for="(item,key) in data.log" :key="key">
- <view class="time">
- {{$u.timeFormat(item.created_at, 'yyyy年mm月dd日 hh时MM分')}}
- </view>
- <view class="text">
- <view class="icon-small"></view>
- <view class="icon-text">
- <view>
- 【{{item.status}}】{{item.txt}}
- </view>
- <view
- style="display: flex;flex-direction: row;align-items: center;justify-content: flex-start;">
- <video :src="iitem" controls v-for="(iitem,kkey) in item.media" :key="kkey"
- style="width: 120rpx;height: 120rpx;margin-left: 20rpx;"></video>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- id: "",
- data: {}
- }
- },
- onLoad(e) {
- this.id = e.id || 2
- this.getData();
- },
- methods: {
- getData() {
- this.request("/sender_order_controller/send_detail", {
- id: this.id
- }, "GET").then(res => {
- // console.log(res)
- if (res.code === 1) {
- this.data = res.data
- }
- })
- }
- }
- }
- </script>
- <style lang="scss">
- page,
- .content {
- background-color: #F8F8F8;
-
- .body {
- margin-top: 50rpx;
- background-color: #FFFFFF;
- width: 100%;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- .list {
- width: 90%;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .time {
- width: 20%;
- }
- .text {
- width: 79%;
- border-left: 6rpx #999 dotted;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: flex-start;
- position: relative;
- padding-bottom: 60rpx;
- .icon-big {
- width: 50rpx;
- height: 50rpx;
- border-radius: 50rpx;
- background-color: #FFE3A0;
- color: #E68500;
- text-align: center;
- line-height: 50rpx;
- position: absolute;
- left: -27rpx;
- }
- .icon-small {
- width: 20rpx;
- height: 20rpx;
- background-color: #999999;
- border-radius: 20rpx;
- position: absolute;
- left: -12rpx;
- }
- .icon-text {
- margin-left: 40rpx;
- }
- }
- }
- }
- }
- </style>
|