2020-06-12 18:05:39 +08:00
|
|
|
<template>
|
|
|
|
<view class="complaint">
|
2020-06-13 17:36:24 +08:00
|
|
|
<view class="complaint-item" v-for="(item, index) in 4" :key="index" @click="toDetailsPage">
|
2020-06-12 18:05:39 +08:00
|
|
|
<ComplaintItem></ComplaintItem>
|
|
|
|
</view>
|
2020-07-30 10:12:27 +08:00
|
|
|
<u-toast ref="uToast" />
|
2020-06-12 18:05:39 +08:00
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import ComplaintItem from '@/components/complaint-item/index'
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {}
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
ComplaintItem
|
2020-06-13 17:36:24 +08:00
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
toDetailsPage() {
|
|
|
|
uni.navigateTo({
|
|
|
|
url: '/pages/user/complaintDetails'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
2020-06-12 18:05:39 +08:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.complaint {
|
|
|
|
min-height: calc(100vh - var(--window-top));
|
|
|
|
background-color: #ECECEC;
|
|
|
|
padding: 20rpx 30rpx;
|
|
|
|
}
|
|
|
|
</style>
|