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.
54 lines
1.0 KiB
54 lines
1.0 KiB
4 months ago
|
<template>
|
||
|
<view>
|
||
|
<view class="edgeInsetTop"></view>
|
||
|
<view class="wanl-log bg-white margin-bottom-bj padding-bj flex" v-for="(item, index) in logData" :key="item.id">
|
||
|
<view class="cu-avatar radius margin-right-bj" :style="{backgroundImage:'url('+$wanlshop.oss(item.avatar, 40, 40)+')'}"></view>
|
||
|
<view class="content">
|
||
|
<view class="">{{item.name}}</view>
|
||
|
<view class="text-sm wanl-gray-light">
|
||
|
{{item.createtime_text}}
|
||
|
</view>
|
||
|
<view class="text-sm margin-top-bj">
|
||
|
{{item.content}}
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="edgeInsetBottom"> </view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
logData: []
|
||
|
};
|
||
|
},
|
||
|
onLoad(option) {
|
||
|
this.loadData(option.id);
|
||
|
},
|
||
|
methods: {
|
||
|
async loadData(id){
|
||
|
// 提交
|
||
|
await uni.request({
|
||
|
url: '/wanlshop/refund/getRefundLog',
|
||
|
data: {id:id},
|
||
|
success: res => {
|
||
|
this.logData = res.data;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.wanl-log .cu-avatar{
|
||
|
margin-top: 4rpx;
|
||
|
}
|
||
|
.wanl-log .content{
|
||
|
flex: 1;
|
||
|
}
|
||
|
</style>
|