eslint
This commit is contained in:
@@ -95,6 +95,7 @@ export default {
|
||||
},
|
||||
},
|
||||
onLoad(o) {
|
||||
console.log(this.user)
|
||||
this.moduleId = o.moduleId
|
||||
this.listName = o.listName
|
||||
|
||||
@@ -125,9 +126,9 @@ export default {
|
||||
if (res?.data) {
|
||||
res.data.records.forEach((e) => {
|
||||
// e.avatar = e.createUserName?.substring(0, 2) || '游客'
|
||||
if(e.createUserName) {
|
||||
if (e.createUserName) {
|
||||
e.avatar = e.createUserName.substring(e.createUserName.length, e.createUserName.length - 2)
|
||||
}else {
|
||||
} else {
|
||||
e.avatar = '游客'
|
||||
}
|
||||
|
||||
@@ -220,11 +221,11 @@ export default {
|
||||
background: #f2f2f2;
|
||||
|
||||
::v-deep .AiCard {
|
||||
border-radius: 0!important;
|
||||
border-radius: 0 !important;
|
||||
box-shadow: none;
|
||||
|
||||
.start {
|
||||
border-radius: 0!important;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
<div class="content" v-text="op.content" @click="adddeleShow(op.id)" />
|
||||
|
||||
<div class="content" v-text="op.content" />
|
||||
<div class="content color-999" v-text="op.createTime" />
|
||||
</div>
|
||||
<AiEmpty v-if="!data.messages.length"></AiEmpty>
|
||||
@@ -65,6 +64,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="votePeople">
|
||||
<div class="leftPeople">共23人参与投票</div>
|
||||
|
||||
<u-section sub-title="查看更多"></u-section>
|
||||
</div>
|
||||
|
||||
<div class="bottomInput" v-if="isAnnouncer && data.status === '0' && data.type === '0'">
|
||||
<div class="leftInput" @click="showBottomInput = true">我来说两句...</div>
|
||||
</div>
|
||||
@@ -198,9 +203,12 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
adddeleShow(id) {
|
||||
if (this.user.id == this.data.createUserId) {
|
||||
this.deleId = id
|
||||
this.deleShow = true
|
||||
}
|
||||
},
|
||||
|
||||
confirmDelete() {
|
||||
@@ -255,10 +263,6 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
a() {
|
||||
console.log(aa)
|
||||
},
|
||||
|
||||
previewImage(images, img) {
|
||||
uni.previewImage({
|
||||
urls: images.map((v) => v.url),
|
||||
@@ -500,6 +504,16 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.votePeople {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 8px;
|
||||
padding: 36px 32px 36px 20px;
|
||||
.leftPeople {
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.bottomInput {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user