Files
dvcp_v2_wxcp_app/src/apps/AppVillagersCircle/detail.vue

215 lines
4.6 KiB
Vue
Raw Normal View History

2022-02-15 15:55:09 +08:00
<template>
<div class="detail">
2022-02-15 16:49:49 +08:00
<div class="avatar-info">
<div class="avatar-img">
<img src="./img/tx@2x.png" alt="">
<!-- <img src="./img/tx@2x.png" alt=""> -->
</div>
<div class="avatar-title">
<div class="name">雷洋</div>
<div class="time">
<span>美丽庭院</span>
<span>2020-10-28 12:30</span>
</div>
</div>
2022-02-15 16:23:27 +08:00
</div>
2022-02-15 16:49:49 +08:00
<div class="textarea">秋穿上漫步森林在阳光下呼吸伸展在安逸的天也许是兰天名字的由来吧</div>
2022-02-15 18:42:21 +08:00
<div>
<img :src="item.url" alt="" v-for="(item, i) in files" :key="i" @click="previewImage(files, item.url)" />
</div>
<div class="address">
<div class="addr-bg">
<img src="./img/address.png" alt="">
<span>东湖生态旅游风景区听涛景区</span>
</div>
</div>
<div class="comment">
<div class="comment-list">
<div class="title">评论:</div>
<div class="item">
<span class="avatar">桃白白:</span>为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢为什么不带上我呢
</div>
</div>
</div>
<div class="readOnly" v-if="status==1">
<div class="item">
<div>审核结果</div>
<div>不通过</div>
</div>
<div class="item nopass">
<div>不通过理由</div>
<div class="textarea">我村赴黎平参加百村杯篮球赛经费分两阶段分发 第一阶段为小组循环赛第二阶段为淘汰赛第一 其中包括队员球服两套住宿饮食</div>
</div>
<div class="item">
<div>审核人</div>
<div>李世民</div>
</div>
<div class="item last">
<div>审核时间</div>
<div>2022-02-18 18:16:27</div>
</div>
</div>
<div style="height: 56px;"></div>
<div class="btn" v-if="status == 0">
<div class="reject" @click="toReject">驳回发布</div>
<div class="agree" @click="agree">同意发布</div>
</div>
2022-02-15 15:55:09 +08:00
</div>
</template>
<script>
export default {
2022-02-15 16:23:27 +08:00
name: 'detail',
data() {
return {
2022-02-15 18:42:21 +08:00
files: [],
status: 1,
2022-02-15 16:23:27 +08:00
}
},
2022-02-15 18:42:21 +08:00
methods: {
previewImage() {},
toReject() {
uni.navigateTo({url: './Reject'})
},
agree() {}
},
onShow() {
document.title = "村民圈审核"
},
2022-02-15 16:23:27 +08:00
onLoad() {},
2022-02-15 15:55:09 +08:00
}
</script>
2022-02-15 16:23:27 +08:00
<style lang="scss" scoped>
.detail {
2022-02-15 18:42:21 +08:00
2022-02-15 16:49:49 +08:00
.avatar-info {
display: flex;
2022-02-15 18:42:21 +08:00
padding: 0 32px;
box-sizing: border-box;
background: #FFFFFF;
2022-02-15 16:49:49 +08:00
.avatar-img {
margin-right: 20px;
img {
2022-02-15 18:42:21 +08:00
margin-top: 30px;
2022-02-15 16:49:49 +08:00
width: 88px;
height: 88px;
border-radius: 50%;
}
}
.avatar-title {
2022-02-15 18:42:21 +08:00
padding: 30px 32px;
box-sizing: border-box;
2022-02-15 16:49:49 +08:00
.name {
font-size: 32px;
color: #333333;
font-weight: 600;
margin-bottom: 12px;
}
.time {
font-size: 26px;
color: #999999;
}
}
}
.textarea {
2022-02-15 18:42:21 +08:00
padding: 0 32px;
box-sizing: border-box;
font-size: 32px;
background: #FFFFFF;
}
.address {
background: #FFFFFF;
padding: 20px 32px;
box-sizing: border-box;
.addr-bg {
display: flex;
border-radius: 28px;
padding: 6px 20px;
background: #EFF1F3;
img {
margin-top: 5px;
width: 32px;
height: 32px;
}
}
}
.comment {
padding: 0 32px 30px 32px;
box-sizing: border-box;
background: #FFFFFF;
.comment-list {
padding: 20px 30px;
background: #F7F8F9;
border-radius: 16px;
.title {
color: #333333;
font-weight: 600;
}
.item {
font-size: 28px;
.avatar {
color: #576a91;
}
}
}
2022-02-15 16:49:49 +08:00
}
2022-02-15 18:42:21 +08:00
.readOnly {
font-size: 32px;
.item {
display: flex;
justify-content: space-between;
background: #FFFFFF;
border-bottom: 1px solid #D8DDE6;
padding: 30px 30px;
box-sizing: border-box;
2022-02-15 16:49:49 +08:00
2022-02-15 18:42:21 +08:00
.textarea {
width: 100%;
padding: 30px 0 0 0 ;
color: #999999;
}
}
.nopass {
flex-direction: column;
border-bottom: 1px solid #D8DDE6;
}
.last {
border-bottom: none;
}
}
.btn {
display: flex;
position: fixed;
bottom: 0;
width: 100%;
height: 112px;
line-height: 112px;
.reject {
width: 50%;
color: #FF4466;
background: #FFFFFF;
text-align: center;
}
.agree {
width: 50%;
color: #FFFFFF;
background: #3975C6;
text-align: center;
}
}
2022-02-15 15:55:09 +08:00
2022-02-15 16:23:27 +08:00
}
2022-02-15 15:55:09 +08:00
</style>