会话存档

This commit is contained in:
liuye
2023-06-21 09:52:04 +08:00
parent f6b65e4cd6
commit 6662e8e423
3 changed files with 22 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ export default {
this.$http.post(`/app/appsessionarchiveindex/listByUser`, null, {
params: {
current: this.current,
size: 10,
size: 15,
type: this.currentTabs == 1 ? 0 : 1,
// areaId: this.areaId,
toUserName: this.currentTabs == 1 ? this.keyword : '',

View File

@@ -102,6 +102,10 @@ export default {
}
},
},
onReachBottom() {
this.current ++
this.getList()
}
};
</script>

View File

@@ -5,7 +5,10 @@
<div class="left" @click="isShowDate=true">
<div class="color-999" v-if="!dateList.length">开始时间-结束时间</div>
<div v-else>{{dateList[0]}}{{dateList[1]}}</div>
<img src="./img/del-icon.png" alt="" v-if="dateList.length" @click.stop="clearDate()">
<!-- <img src="./img/del-icon.png" alt="" v-if="dateList.length" @click.stop="clearDate()"> -->
<div class="clear-btn" v-if="dateList.length" @click.stop="clearDate">
<img src="./img/del-icon.png" alt="" class="del-icon">
</div>
</div>
<div class="right">
<u-search v-model="keyword" :clearabled="true" placeholder="请输入关键词" :show-action="false" bg-color="#F5F5F5"
@@ -412,13 +415,23 @@ export default {
padding: 20px 32px;
display: flex;
.left {
width: 360px;
width: 400px;
.clear-btn {
display: inline-block;
padding: 0 16px;
}
.del-icon {
width: 32px;
height: 32px;
vertical-align: middle;
}
div {
display: inline-block;
line-height: 64px;
}
}
.right {
width: calc(100% - 360px);
width: calc(100% - 400px);
}
}
.conversation-list {
@@ -476,6 +489,7 @@ export default {
.fail-img {
width: 32px;
height: 32px;
padding-top: 44px;
margin: auto 0 auto 24px;
}
.img-list {