demingshangjia/components/complaint-item/index.vue

74 lines
1.4 KiB
Vue
Raw Normal View History

2020-06-12 10:05:39 +00:00
<template>
<view class="item">
2020-07-30 11:49:12 +00:00
<image :src="info.complain_goods_image"></image>
2020-06-12 10:05:39 +00:00
<view class="people">
2020-07-30 11:49:12 +00:00
<view class="status">{{info.complain_status==0?"未受理":"已审核"}}</view>
<view class="goods-name u-line-1">{{info.complain_goods_name}}</view>
2020-06-12 10:05:39 +00:00
<view class="info">
2020-07-30 11:49:12 +00:00
<view class="name">骑手{{info.takeawayer_name}}</view>
<view class="price">{{info.complain_goods_price*info.complain_goods_num}}</view>
2020-06-12 10:05:39 +00:00
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {}
},
2020-07-30 11:49:12 +00:00
props: {
info:{
type: Object,
default: null
}
2020-06-12 10:05:39 +00:00
},
2020-07-30 11:49:12 +00:00
methods: {
}
2020-06-12 10:05:39 +00:00
};
</script>
<style lang="scss" scoped>
.item {
width: 690rpx;
height: 220rpx;
background: rgba(255,255,255,1);
border-radius: 10rpx;
padding: 30rpx;
display: flex;
align-items: center;
margin-bottom: 20rpx;
> image {
width: 160rpx;
height: 160rpx;
flex-shrink: 0;
margin-right: 25rpx;
}
.people {
.status {
text-align: right;
font-size: 26rpx;
color: rgba(255,49,49,1);
margin-bottom: 30rpx;
}
.goods-name {
width: 439rpx;
font-size: 28rpx;
color: rgba(51,51,51,1);
margin-bottom: 30rpx;
}
.info {
display: flex;
align-items: center;
font-size: 26rpx;
color: rgba(102,102,102,1);
.name {
font-size: 26rpx;
color: rgba(101,101,101,1);
margin-right: auto;
}
.price {
color: #FF780F;
}
}
}
}
</style>