Files
dvcp_v2_wxcp_app/src/apps/AppVillageDiscuss/userList.vue

93 lines
1.7 KiB
Vue
Raw Normal View History

2022-01-07 18:13:17 +08:00
<template>
2022-01-07 18:16:28 +08:00
<div class="userList">
2022-01-07 18:13:17 +08:00
<!-- <div v-if="data.length > 0"></div> -->
<div class="datas" v-for="(item, index) in 10" :key="index">
2022-01-07 18:31:24 +08:00
<div class="avatLeft">李毅</div>
2022-01-07 18:13:17 +08:00
2022-01-07 18:31:24 +08:00
<div class="right">
<div class="top">
<span class="names">李毅</span>
<!-- <span>匿名用户</span> -->
<span class="times">1111</span>
</div>
<div class="bottom">选择了选择了三联村篮球队蟠龙镇篮球队选择了三联村篮球队蟠龙镇篮球队</div>
</div>
2022-01-07 18:13:17 +08:00
</div>
<AiEmpty description="暂无数据"></AiEmpty>
</div>
</template>
<script>
export default {
2022-01-07 18:16:28 +08:00
name: 'userList',
2022-01-07 18:13:17 +08:00
components: {},
props: {},
data() {
return {
data: [],
}
},
computed: {},
watch: {},
onLoad() {},
2022-01-07 18:16:28 +08:00
onShow() {
document.title = '投票详情'
},
2022-01-07 18:13:17 +08:00
methods: {},
}
</script>
<style scoped lang="scss">
uni-page-body {
// height: 100%;
}
2022-01-07 18:16:28 +08:00
.userList {
2022-01-07 18:13:17 +08:00
// height: 100%;
// background: #fff;
.datas {
display: flex;
2022-01-07 18:31:24 +08:00
padding: 20px 32px 0 32px;
.avatLeft {
width: 80px;
height: 80px;
line-height: 80px;
text-align: center;
border-radius: 50%;
background: #4e8eee;
font-size: 28px;
font-weight: 500;
color: #ffffff;
}
.right {
border-bottom: 1px solid #ddd;
width: 100%;
margin: 10px 0 0 16px;
padding-bottom: 32px;
.top {
.names {
font-size: 32px;
color: #333333;
}
.times {
margin-left: 16px;
font-size: 28px;
color: #999999;
}
}
.bottom {
margin-top: 6px;
font-size: 30px;
color: #666666;
}
}
2022-01-07 18:13:17 +08:00
}
}
</style>