This commit is contained in:
花有清香月有阴
2022-01-07 18:16:28 +08:00
parent 0ba068b879
commit 483eb26dce
2 changed files with 13 additions and 6 deletions

View File

@@ -72,7 +72,7 @@
<div class="right"> <div class="right">
<span>查看详情</span> <span>查看详情</span>
<u-icon name="arrow-right" color="#999"></u-icon> <u-icon name="arrow-right" color="#999" @click="toUserList"></u-icon>
</div> </div>
</div> </div>
@@ -295,6 +295,7 @@ export default {
this.$u.toast('不能提交空评论!') this.$u.toast('不能提交空评论!')
} }
}, },
handleComplete() { handleComplete() {
this.$confirm('是否要结束公示') this.$confirm('是否要结束公示')
.then(() => { .then(() => {
@@ -312,6 +313,10 @@ export default {
}) })
.catch(() => 0) .catch(() => 0)
}, },
toUserList() {
uni.navigateTo({ url: `./userList` })
},
}, },
} }
</script> </script>
@@ -544,7 +549,7 @@ export default {
.right { .right {
span { span {
color: #2573FF; color: #2573ff;
font-size: 28px; font-size: 28px;
} }
} }

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="userType"> <div class="userList">
<!-- <div v-if="data.length > 0"></div> --> <!-- <div v-if="data.length > 0"></div> -->
<div class="datas" v-for="(item, index) in 10" :key="index"> <div class="datas" v-for="(item, index) in 10" :key="index">
<div class="avatLeft"></div> <div class="avatLeft"></div>
@@ -13,7 +13,7 @@
<script> <script>
export default { export default {
name: 'userType', name: 'userList',
components: {}, components: {},
props: {}, props: {},
data() { data() {
@@ -24,7 +24,9 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() {}, onLoad() {},
onShow() {}, onShow() {
document.title = '投票详情'
},
methods: {}, methods: {},
} }
</script> </script>
@@ -33,7 +35,7 @@ export default {
uni-page-body { uni-page-body {
// height: 100%; // height: 100%;
} }
.userType { .userList {
// height: 100%; // height: 100%;
// background: #fff; // background: #fff;
.datas { .datas {