demingshangjia/pages/user/complaint.vue

32 lines
614 B
Vue
Raw Normal View History

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>
</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>