demingshangjia/components/complaint-item/index.vue
2020-07-30 19:49:12 +08:00

74 lines
1.4 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="item">
<image :src="info.complain_goods_image"></image>
<view class="people">
<view class="status">{{info.complain_status==0?"未受理":"已审核"}}</view>
<view class="goods-name u-line-1">{{info.complain_goods_name}}</view>
<view class="info">
<view class="name">骑手{{info.takeawayer_name}}</view>
<view class="price">{{info.complain_goods_price*info.complain_goods_num}}</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {}
},
props: {
info:{
type: Object,
default: null
}
},
methods: {
}
};
</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>