2021-12-30 21:05:45 +08:00
|
|
|
|
<template>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<div class="detail" v-if="pageShow">
|
|
|
|
|
|
<div class="detail-header">
|
|
|
|
|
|
<h2>{{ info.content || info.title }}</h2>
|
|
|
|
|
|
<div class="detail-info">
|
|
|
|
|
|
<h2>{{ info.createUserName }}</h2>
|
|
|
|
|
|
<span>{{ info.createTime }}</span>
|
2021-12-30 21:05:45 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<div class="images">
|
|
|
|
|
|
<image v-for="(img, i) in info.images" :key="i" :src="img.url" @click="preview(img.url)" />
|
2021-12-30 21:05:45 +08:00
|
|
|
|
</div>
|
2022-01-07 14:41:21 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<div class="detail-list">
|
|
|
|
|
|
<div class="detail-list__title">
|
|
|
|
|
|
<h2>{{ info.type === '0' ? '全部评论' : (info.voteType === '1' ? '投票清单(可多选)' : '投票清单') }}</h2>
|
|
|
|
|
|
<span v-if="!isTimeout && time">剩余 {{ time }}</span>
|
|
|
|
|
|
<span v-if="info.status !== '0'">已截止</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="user-list" :style="{paddingBottom: !list.length ? '20px' : '0px'}" v-if="info.type === '0'">
|
|
|
|
|
|
<div class="user-item" v-for="(item, index) in list" :key="index">
|
|
|
|
|
|
<div class="user-item__top">
|
|
|
|
|
|
<image :src="item.avatar" />
|
|
|
|
|
|
<div class="user-item__top--right">
|
|
|
|
|
|
<div class="top">
|
|
|
|
|
|
<div class="left">
|
|
|
|
|
|
<h2>{{ item.createUserName }}</h2>
|
|
|
|
|
|
<span v-if="info.createUserId === item.createUserId">话事人</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="right" @click="like(item.id)">
|
|
|
|
|
|
<image :src="item.isSuport ? '/static/img/like-active.png' : '/static/img/like.png'" />
|
|
|
|
|
|
<span>{{ item.suport }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<p>{{ item.createTime }}</p>
|
|
|
|
|
|
</div>
|
2022-01-07 15:54:49 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<p>{{ item.content }}</p>
|
2021-12-30 21:05:45 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<AiEmpty v-if="!list.length"></AiEmpty>
|
2021-12-30 21:05:45 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<div class="vote-list" v-if="info.type === '1'">
|
|
|
|
|
|
<div class="vote-item__wrapper">
|
|
|
|
|
|
<div
|
|
|
|
|
|
class="vote-item"
|
|
|
|
|
|
@click="choose(index)"
|
|
|
|
|
|
v-for="(item, index) in info.voteItems"
|
|
|
|
|
|
:key="index"
|
|
|
|
|
|
:class="[choosed.indexOf(index) > -1 ? 'active' : '']">
|
2022-01-07 17:49:05 +08:00
|
|
|
|
<span>{{ item.item }}:</span>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<p>{{ item.content }}</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="vote-total">
|
|
|
|
|
|
<div class="left">
|
|
|
|
|
|
<span>共</span>
|
|
|
|
|
|
<i>{{ info.votes.length }}</i>
|
|
|
|
|
|
<span>人投票</span>
|
2022-01-07 17:49:05 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<i @click="$linkTo('/village/villagerDiscussion/VoteList?id=' + id + '&anonymous=' + info.anonymous)">查看投票详情</i>
|
2022-01-07 15:41:59 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2022-01-07 14:52:57 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<div class="footer" v-if="info.type === '0' && info.status === '0' && !info.isTimeout">
|
|
|
|
|
|
<input v-model="content" placeholder="我来说两句…" />
|
|
|
|
|
|
<span @click="confirm">确定</span>
|
2022-01-07 17:55:06 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<div class="btn-wrapper" v-if="info.type === '1' && !info.isTimeout && info.status === '0'">
|
|
|
|
|
|
<div class="btn" :class="[info.myVote ? 'disabled' : '']" @click="signUp" hover-class="text-hover">{{ buttonText }}</div>
|
2022-01-07 11:47:56 +08:00
|
|
|
|
</div>
|
2022-01-07 17:56:09 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<script>
|
|
|
|
|
|
import { mapState } from 'vuex'
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data () {
|
|
|
|
|
|
return {
|
|
|
|
|
|
content: '',
|
|
|
|
|
|
currIndex: 0,
|
|
|
|
|
|
pageShow: false,
|
|
|
|
|
|
info: {},
|
|
|
|
|
|
isTimeout: false,
|
|
|
|
|
|
time: '',
|
|
|
|
|
|
timer: null,
|
|
|
|
|
|
list: [],
|
|
|
|
|
|
pageShow: false,
|
|
|
|
|
|
current: 1,
|
|
|
|
|
|
choosed: [],
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
id: '',
|
|
|
|
|
|
isMore: false,
|
|
|
|
|
|
keys: ['A', 'B', 'C', 'D', 'E', 'F', 'G']
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
computed: {
|
|
|
|
|
|
...mapState(['user']),
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
buttonText () {
|
|
|
|
|
|
if (this.info.myVote) {
|
|
|
|
|
|
return '已投票'
|
|
|
|
|
|
}
|
2022-01-07 17:27:06 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
if (this.info.anonymous === '1') {
|
|
|
|
|
|
return '匿名投票'
|
|
|
|
|
|
}
|
2022-01-07 17:27:06 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
return '实名投票'
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
onLoad (query) {
|
|
|
|
|
|
this.id = query.id
|
2022-01-07 13:54:22 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
this.getInfo(query.id)
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
})
|
2022-01-05 17:53:36 +08:00
|
|
|
|
},
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
methods: {
|
|
|
|
|
|
choose (index) {
|
|
|
|
|
|
if (this.info.status !== '0') {
|
|
|
|
|
|
return false
|
|
|
|
|
|
}
|
2022-01-07 15:41:59 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
if (this.info.myVote) {
|
|
|
|
|
|
return false
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.info.voteType === '1') {
|
|
|
|
|
|
const i = this.choosed.indexOf(index)
|
|
|
|
|
|
if (i > -1) {
|
|
|
|
|
|
this.choosed.splice(i, 1)
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.choosed.push(index)
|
|
|
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.choosed = [index]
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
like (id) {
|
|
|
|
|
|
this.$loading()
|
|
|
|
|
|
this.$instance.post(`/app/appvillagediscussmessage/suport?id=${id}&userId=${this.user.id}`).then(res => {
|
|
|
|
|
|
if (res.code === 0) {
|
|
|
|
|
|
this.$toast('点赞成功')
|
|
|
|
|
|
this.current = 1
|
|
|
|
|
|
this.isMore = false
|
|
|
|
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.$hideLoading()
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
this.$hideLoading()
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getInfo (id) {
|
|
|
|
|
|
this.$loading()
|
|
|
|
|
|
this.$instance.post(`/app/appvillagediscuss/queryDetailById?id=${id}&userId=${this.user.id}`).then(res => {
|
|
|
|
|
|
if (res.code === 0) {
|
|
|
|
|
|
this.info = res.data
|
|
|
|
|
|
this.info.images = res.data.images ? JSON.parse(res.data.images): []
|
|
|
|
|
|
|
|
|
|
|
|
if (res.data.myVote && this.info.status === '0') {
|
|
|
|
|
|
const myVote = res.data.myVote.split(',')
|
|
|
|
|
|
myVote.forEach(v => {
|
|
|
|
|
|
this.choosed.push(this.keys.indexOf(v))
|
2022-01-07 17:06:23 +08:00
|
|
|
|
})
|
|
|
|
|
|
}
|
2022-01-07 15:48:15 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
if (res.data.discussDeadline) {
|
|
|
|
|
|
this.countdown(res.data.discussDeadline)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
this.pageShow = true
|
|
|
|
|
|
})
|
2022-01-07 17:06:23 +08:00
|
|
|
|
}
|
2022-01-07 17:56:09 +08:00
|
|
|
|
|
|
|
|
|
|
this.$hideLoading()
|
|
|
|
|
|
}).catch(() => {
|
2022-01-07 15:48:15 +08:00
|
|
|
|
this.$hideLoading()
|
2022-01-07 17:06:23 +08:00
|
|
|
|
})
|
2022-01-07 17:56:09 +08:00
|
|
|
|
},
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
signUp () {
|
|
|
|
|
|
if (this.info.myVote) {
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
2022-01-07 15:10:09 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
if (!this.choosed.length) {
|
|
|
|
|
|
return this.$toast('请选择投票项')
|
2022-01-07 15:10:09 +08:00
|
|
|
|
}
|
2022-01-07 17:55:06 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
this.$loading()
|
|
|
|
|
|
let item = []
|
|
|
|
|
|
this.choosed.forEach(v => {
|
|
|
|
|
|
item.push(this.info.voteItems[v].item)
|
|
|
|
|
|
})
|
|
|
|
|
|
this.$instance.post(`/app/appvillagediscussvote/addOrUpdate`, {
|
|
|
|
|
|
item: item.join(','),
|
|
|
|
|
|
discussId: this.id,
|
|
|
|
|
|
createUserId: this.user.realName || this.user.name,
|
|
|
|
|
|
createUserName: this.user.id,
|
|
|
|
|
|
avatar: this.user.avatarUrl
|
|
|
|
|
|
}).then(res => {
|
2022-01-07 17:27:06 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
this.$hideLoading()
|
|
|
|
|
|
if (res.code === 0) {
|
|
|
|
|
|
this.$toast('投票成功')
|
|
|
|
|
|
this.getInfo(this.id)
|
2022-01-07 17:30:54 +08:00
|
|
|
|
}
|
2022-01-07 17:56:09 +08:00
|
|
|
|
}).catch(() => {
|
2022-01-07 17:30:54 +08:00
|
|
|
|
this.$hideLoading()
|
|
|
|
|
|
})
|
2022-01-07 17:56:09 +08:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getList() {
|
|
|
|
|
|
if (this.isMore) return
|
|
|
|
|
|
|
|
|
|
|
|
this.$instance.post(`/app/appvillagediscussmessage/list`, null, {
|
|
|
|
|
|
params: {
|
|
|
|
|
|
current: this.current,
|
|
|
|
|
|
size: 15,
|
|
|
|
|
|
discussId: this.id,
|
|
|
|
|
|
status: this.currIndex,
|
|
|
|
|
|
areaId: uni.getStorageSync('areaId')
|
|
|
|
|
|
}
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
|
this.total = res.data.total
|
|
|
|
|
|
if (this.current > 1) {
|
|
|
|
|
|
this.list = [...this.list, ...res.data.records].map(v => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...v,
|
|
|
|
|
|
typeName: this.$dict.getLabel('discussType', v.type),
|
|
|
|
|
|
images: v.images ? JSON.parse(v.images): [],
|
|
|
|
|
|
isSuport: v.suportUser ? v.suportUser.indexOf(this.user.id) > -1 : false
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.list = res.data.records.map(v => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...v,
|
|
|
|
|
|
typeName: this.$dict.getLabel('discussType', v.type),
|
|
|
|
|
|
images: v.images ? JSON.parse(v.images): [],
|
|
|
|
|
|
isSuport: v.suportUser ? v.suportUser.indexOf(this.user.id) > -1 : false
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
uni.hideLoading()
|
|
|
|
|
|
this.pageShow = true
|
|
|
|
|
|
if (res.data.records.length < 10) {
|
|
|
|
|
|
this.isMore = true
|
2022-01-07 17:06:23 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
return false
|
|
|
|
|
|
}
|
2022-01-07 13:54:22 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
this.current = this.current + 1
|
|
|
|
|
|
} else {
|
|
|
|
|
|
uni.hideLoading()
|
2022-01-07 13:54:22 +08:00
|
|
|
|
}
|
2022-01-07 17:56:09 +08:00
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
uni.hideLoading()
|
2022-01-07 13:54:22 +08:00
|
|
|
|
})
|
2022-01-07 17:56:09 +08:00
|
|
|
|
},
|
2022-01-07 13:54:22 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
confirm () {
|
|
|
|
|
|
if (!this.content) {
|
|
|
|
|
|
return this.$toast('留言不能为空')
|
2022-01-07 13:54:22 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
this.$loading()
|
|
|
|
|
|
this.$instance.post(`/app/appvillagediscussmessage/addOrUpdate`, {
|
|
|
|
|
|
content: this.content,
|
|
|
|
|
|
discussId: this.id,
|
|
|
|
|
|
createUserId: this.user.realName || this.user.name,
|
|
|
|
|
|
createUserName: this.user.id,
|
|
|
|
|
|
avatar: this.user.avatarUrl
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
if (res.code === 0) {
|
|
|
|
|
|
this.content = ''
|
|
|
|
|
|
this.$toast('发布成功')
|
|
|
|
|
|
this.isMore = false
|
|
|
|
|
|
this.current = 1
|
|
|
|
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
}
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
this.$hideLoading()
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
this.$hideLoading()
|
2021-12-30 21:05:45 +08:00
|
|
|
|
})
|
2022-01-07 17:56:09 +08:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
countdown (time) {
|
|
|
|
|
|
this.timer = setInterval(() => {
|
|
|
|
|
|
if (new Date(time).getTime() < new Date().getTime()) {
|
|
|
|
|
|
this.isTimeout = true
|
|
|
|
|
|
clearInterval(this.timer)
|
|
|
|
|
|
} else {
|
|
|
|
|
|
var durationObj = this.$dayjs.duration(new Date(time).getTime() - new Date().getTime())
|
|
|
|
|
|
var hours = durationObj.hours() > 9 ? durationObj.hours() : '0' + durationObj.hours()
|
|
|
|
|
|
var min = durationObj.minutes() > 9 ? durationObj.minutes() : '0' + durationObj.minutes()
|
|
|
|
|
|
var seconds = durationObj.seconds() > 9 ? durationObj.seconds() : '0' + durationObj.seconds()
|
|
|
|
|
|
this.time = `${hours}小时${min}分钟${seconds}秒`
|
|
|
|
|
|
this.isTimeout = false
|
|
|
|
|
|
}
|
|
|
|
|
|
}, 1000)
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
preview (url) {
|
|
|
|
|
|
uni.previewImage({
|
|
|
|
|
|
urls: this.info.images.map(v => v.url),
|
|
|
|
|
|
current: url
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2022-01-05 17:53:36 +08:00
|
|
|
|
},
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
onReachBottom() {
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
}
|
2022-01-07 16:29:33 +08:00
|
|
|
|
}
|
2022-01-07 17:56:09 +08:00
|
|
|
|
</script>
|
2022-01-07 16:29:33 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
.detail {
|
|
|
|
|
|
padding-bottom: 140px;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.vote-list {
|
|
|
|
|
|
.vote-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
|
margin-top: 24px;
|
|
|
|
|
|
padding: 34px 32px;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
|
border: 1px solid #CCCCCC;
|
|
|
|
|
|
box-sizing: border-box;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
p {
|
|
|
|
|
|
text-align: justify;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
&.active {
|
|
|
|
|
|
border-color: #4181FF;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
background: #4181FF;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.vote-total {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
height: 100px;
|
|
|
|
|
|
|
|
|
|
|
|
.left {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
span {
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
i {
|
|
|
|
|
|
color: #4181FF;
|
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
|
font-style: normal;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.footer {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
z-index: 11;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 120px;
|
|
|
|
|
|
padding: 0 30px;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
border-top: 1px solid #DDDDDD;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
input {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
height: 88px;
|
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
|
padding: 0 32px;
|
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
|
border-radius: 44px;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
background-color: #F0F0F0;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
}
|
2022-01-07 17:56:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.detail-header {
|
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
|
padding: 32px;
|
|
|
|
|
|
background-color: #fff;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.images {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
flex-wrap: wrap;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
margin-top: 30px;
|
|
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
image {
|
|
|
|
|
|
width: 226px;
|
|
|
|
|
|
height: 226px;
|
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
|
margin-right: 6px;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
&:nth-of-type(3n) {
|
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
& > h2 {
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
font-size: 48px;
|
|
|
|
|
|
font-weight: 600;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.detail-info {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 30px;
|
2022-01-07 15:54:49 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
span {
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
h2 {
|
|
|
|
|
|
margin-right: 32px;
|
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-01-07 15:41:59 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.detail-list {
|
|
|
|
|
|
padding: 0 32px;
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
.detail-list__title {
|
2022-01-07 17:49:05 +08:00
|
|
|
|
display: flex;
|
2022-01-07 17:56:09 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
height: 116px;
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
font-size: 38px;
|
|
|
|
|
|
}
|
2022-01-07 17:49:05 +08:00
|
|
|
|
|
|
|
|
|
|
span {
|
2022-01-07 17:56:09 +08:00
|
|
|
|
color: #999999;
|
|
|
|
|
|
font-size: 28px;
|
2022-01-07 17:49:05 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.user-item {
|
|
|
|
|
|
padding: 32px 0;
|
|
|
|
|
|
border-bottom: 1px solid #DDDDDD;
|
2022-01-07 15:41:59 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
&:last-child {
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
}
|
2022-01-07 15:41:59 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
& > p {
|
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
padding-left: 114px;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
|
}
|
2022-01-07 15:41:59 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.user-item__top {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2022-01-05 18:26:02 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.user-item__top--right {
|
|
|
|
|
|
flex: 1;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.top {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
& > div {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.right {
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 32px;
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
|
}
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
span {
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-01-07 17:55:06 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
.left {
|
|
|
|
|
|
h2 {
|
|
|
|
|
|
margin-right: 24px;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
font-size: 34px;
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
}
|
2022-01-07 11:47:56 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
span {
|
|
|
|
|
|
width: 96px;
|
|
|
|
|
|
height: 44px;
|
|
|
|
|
|
line-height: 44px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
|
background: #1AAAFF;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-01-07 15:02:32 +08:00
|
|
|
|
|
2022-01-07 17:56:09 +08:00
|
|
|
|
& > p {
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
color: #999999;
|
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
& > image {
|
|
|
|
|
|
width: 96px;
|
|
|
|
|
|
height: 96px;
|
|
|
|
|
|
margin-right: 18px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-01-07 17:27:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2021-12-30 21:05:45 +08:00
|
|
|
|
</style>
|