|
@ -1,49 +1,64 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="box" :style="{'--sexcolor' : sex[item.sex].color}"> |
|
|
|
|
|
<view class="headPortraitimg"> |
|
|
|
|
|
<image :src="item.userImage" @click.stop="previewImage([item.userImage])" mode="aspectFill"></image> |
|
|
|
|
|
|
|
|
<view class="o"> |
|
|
|
|
|
<view class="indee"> |
|
|
|
|
|
<view class="k"> |
|
|
|
|
|
#{{item.classId_dictText}} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="YaoduUniversalWall"> |
|
|
|
|
|
<view class="heide"> |
|
|
|
|
|
<view class="username text-ellipsis"> |
|
|
|
|
|
{{ item.userName }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde" v-if="item.sex"> |
|
|
|
|
|
<!-- 性别 --> |
|
|
|
|
|
{{ item.sex }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde" v-if="item.yearDate"> |
|
|
|
|
|
<!-- 年份 --> |
|
|
|
|
|
{{ item.yearDate }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde" v-if="item.addId"> |
|
|
|
|
|
<!-- 地址 --> |
|
|
|
|
|
{{ item.addId }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde"> |
|
|
|
|
|
#{{item.classId_dictText}} |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="authentication" v-if="item.isContent"> |
|
|
|
|
|
<!-- 个人认证 --> |
|
|
|
|
|
{{ item.isContent }} |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="box" :style="{'--sexcolor' : sex[item.sex].color}"> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <view class="indee"> |
|
|
|
|
|
#{{item.classId_dictText}} |
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="headPortraitimg"> |
|
|
|
|
|
<image :src="item.userImage" @click.stop="previewImage([item.userImage])" mode="aspectFill"></image> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="Times"> |
|
|
|
|
|
<view class="TimeMonth"> |
|
|
|
|
|
<!-- 10-08 --> |
|
|
|
|
|
{{ item.createTime }}发布 |
|
|
|
|
|
|
|
|
<view class="YaoduUniversalWall"> |
|
|
|
|
|
|
|
|
|
|
|
<view class="heide"> |
|
|
|
|
|
<view class="username text-ellipsis"> |
|
|
|
|
|
{{ item.userName }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde" v-if="item.sex"> |
|
|
|
|
|
<!-- 性别 --> |
|
|
|
|
|
{{ item.sex }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde" v-if="item.yearDate"> |
|
|
|
|
|
<!-- 年份 --> |
|
|
|
|
|
{{ item.yearDate }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="inde" v-if="item.addId"> |
|
|
|
|
|
<!-- 地址 --> |
|
|
|
|
|
{{ item.addId }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- 分类 --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="authentication" v-if="item.isContent"> |
|
|
|
|
|
<!-- 个人认证 --> |
|
|
|
|
|
{{ item.isContent }} |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="Month"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="Times"> |
|
|
|
|
|
<view class="TimeMonth"> |
|
|
|
|
|
<!-- 10-08 --> |
|
|
|
|
|
{{ item.createTime }}发布 |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <view class="Month"> |
|
|
12:34 |
|
|
12:34 |
|
|
</view> --> |
|
|
</view> --> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
@ -65,78 +80,95 @@ |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
<style scoped lang="scss"> |
|
|
.box { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
|
|
.headPortraitimg { |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 100rpx; |
|
|
|
|
|
border-radius: 15rpx; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
|
.o { |
|
|
|
|
|
.indee{ |
|
|
|
|
|
.k{ |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: flex-end; |
|
|
|
|
|
margin-top: -30rpx; |
|
|
|
|
|
color:gold; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.box { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
.YaoduUniversalWall { |
|
|
|
|
|
padding: 0rpx 10rpx; |
|
|
|
|
|
|
|
|
.indee {} |
|
|
|
|
|
|
|
|
.username { |
|
|
|
|
|
max-width: 200rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.headPortraitimg { |
|
|
|
|
|
|
|
|
.heide { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 100rpx; |
|
|
|
|
|
border-radius: 15rpx; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
.inde { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
padding: 0rpx 10rpx; |
|
|
|
|
|
margin: 0rpx 5rpx; |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
height: 30rpx; |
|
|
|
|
|
color: white; |
|
|
|
|
|
// background-color: rgb(124, 136, 242); |
|
|
|
|
|
background-color: var(--sexcolor); |
|
|
|
|
|
border-radius: 7rpx; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.authentication { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
padding: 0rpx 10rpx; |
|
|
|
|
|
margin: 0rpx 5rpx; |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
height: 34rpx; |
|
|
|
|
|
|
|
|
.YaoduUniversalWall { |
|
|
padding: 0rpx 10rpx; |
|
|
padding: 0rpx 10rpx; |
|
|
color: white; |
|
|
|
|
|
background-color: #ffd036; |
|
|
|
|
|
border-radius: 7rpx; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.Times { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
padding: 5rpx 0rpx; |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
|
|
|
|
.username { |
|
|
|
|
|
max-width: 200rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.Month { |
|
|
|
|
|
margin: 0rpx 15rpx; |
|
|
|
|
|
|
|
|
.heide { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.inde { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
padding: 0rpx 10rpx; |
|
|
|
|
|
margin: 0rpx 5rpx; |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
height: 30rpx; |
|
|
|
|
|
color: white; |
|
|
|
|
|
// background-color: rgb(124, 136, 242); |
|
|
|
|
|
background-color: var(--sexcolor); |
|
|
|
|
|
border-radius: 7rpx; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.authentication { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
padding: 0rpx 10rpx; |
|
|
|
|
|
margin: 0rpx 5rpx; |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
height: 34rpx; |
|
|
|
|
|
padding: 0rpx 10rpx; |
|
|
|
|
|
color: white; |
|
|
|
|
|
background-color: #ffd036; |
|
|
|
|
|
border-radius: 7rpx; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.Times { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
padding: 5rpx 0rpx; |
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
|
|
|
|
|
|
|
.Month { |
|
|
|
|
|
margin: 0rpx 15rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |