提交留言控制

This commit is contained in:
daihh
2022-11-08 14:56:52 +08:00
parent 2616d59102
commit ccb4c46293

View File

@@ -19,11 +19,11 @@
<p>{{item.content}}</p> <p>{{item.content}}</p>
</div> </div>
<div class="li-right"> <div class="li-right">
<div class="replys-icon" v-if="userInfo.aid == pageId" @click="showReplyInput(item, idx)"><svg-icon style="margin-right: 4px;font-size: 14px;" icon-class="comment"></svg-icon>回复</div> <div class="replys-icon" @click="showReplyInput(item, idx)"><svg-icon style="margin-right: 4px;font-size: 14px;" icon-class="comment"></svg-icon>回复</div>
<div style="margin-top:4px"> <div style="margin-top:4px">
<interactBar :type="7" :data="item" :comments="false" :shares="false" :views="false" :favorites="false"></interactBar> <interactBar :type="7" :data="item" :comments="false" :shares="false" :views="false" :favorites="false"></interactBar>
</div> </div>
<div class="replys-icon" style="margin-right:0px;margin-left:10px" v-if="userInfo.aid == pageId || userInfo.aid == item.sysCreateAid" @click="delReply(item)"><svg-icon icon-class="notedel" style="margin-right: 4px;font-size: 14px;"></svg-icon>删除</div> <div class="replys-icon" style="margin-right:0px;margin-left:10px" v-if="userInfo.aid == item.sysCreateAid" @click="delReply(item)"><svg-icon icon-class="notedel" style="margin-right: 4px;font-size: 14px;"></svg-icon>删除</div>
</div> </div>
</div> </div>
<!-- 回复框 --> <!-- 回复框 -->
@@ -41,7 +41,7 @@
</div> </div>
<div class="li-right"> <div class="li-right">
<!-- <interactBar :type="7" :data="rep" :comments="false" :shares="false" :views="false" :favorites="false"></interactBar> --> <!-- <interactBar :type="7" :data="rep" :comments="false" :shares="false" :views="false" :favorites="false"></interactBar> -->
<div class="replys-icon" style="margin-right:0px;margin-left:10px" v-if="userInfo.aid == pageId || userInfo.aid == item.sysCreateAid" @click="delReplySon(item,index)"><svg-icon icon-class="notedel" style="margin-right: 4px;font-size: 14px;"></svg-icon>删除</div> <div class="replys-icon" style="margin-right:0px;margin-left:10px" v-if="userInfo.aid == item.sysCreateAid" @click="delReplySon(item,index)"><svg-icon icon-class="notedel" style="margin-right: 4px;font-size: 14px;"></svg-icon>删除</div>
</div> </div>
</div> </div>
</div> </div>
@@ -213,7 +213,7 @@
}) })
}, },
getUserData(ids,list) { getUserData(ids,list) {
const noReapetIds = [...new Set(ids)]; const noReapetIds = [...new Set(ids)];
apiUser.getByIds(noReapetIds).then(res => { apiUser.getByIds(noReapetIds).then(res => {
if (res.status == 200) { if (res.status == 200) {
@@ -241,8 +241,8 @@
this.$message.error(res.message); this.$message.error(res.message);
} }
}); });
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.page.pageSize = val; this.page.pageSize = val;