This commit is contained in:
liuye
2022-01-07 18:25:33 +08:00
2 changed files with 55 additions and 3 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>
@@ -319,6 +324,7 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.Detail { .Detail {
padding-bottom: 40px; padding-bottom: 40px;
background: #F6F7F9;
.end-btn { .end-btn {
position: fixed; position: fixed;
@@ -533,7 +539,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 8px; margin-top: 16px;
height: 112px; height: 112px;
padding: 0 32px 0 52px; padding: 0 32px 0 52px;
background: #fff; background: #fff;
@@ -544,7 +550,7 @@ export default {
.right { .right {
span { span {
color: #2573FF; color: #2573ff;
font-size: 28px; font-size: 28px;
} }
} }

View File

@@ -0,0 +1,46 @@
<template>
<div class="userList">
<!-- <div v-if="data.length > 0"></div> -->
<div class="datas" v-for="(item, index) in 10" :key="index">
<div class="avatLeft"></div>
<div class="right"></div>
</div>
<AiEmpty description="暂无数据"></AiEmpty>
</div>
</template>
<script>
export default {
name: 'userList',
components: {},
props: {},
data() {
return {
data: [],
}
},
computed: {},
watch: {},
onLoad() {},
onShow() {
document.title = '投票详情'
},
methods: {},
}
</script>
<style scoped lang="scss">
uni-page-body {
// height: 100%;
}
.userList {
// height: 100%;
// background: #fff;
.datas {
display: flex;
justify-content: space-between;
}
}
</style>