客服:重构消息列表(引入 z-paging)

This commit is contained in:
puhui999
2024-07-17 16:45:03 +08:00
parent 4c6a8077aa
commit d221f277a1
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -5,6 +5,10 @@
safe-area-inset-bottom bottom-bg-color="#f8f8f8" :back-to-top-style="backToTopStyle"
:auto-show-back-to-top="showNewMessageTip" @backToTopClick="onBackToTopClick"
@scrolltoupper="onScrollToUpper" @query="queryList">
<template #top>
<!-- 撑一下顶部导航 -->
<view style="height: 45px"></view>
</template>
<!-- style="transform: scaleY(-1)"必须写否则会导致列表倒置 -->
<!-- 注意不要直接在chat-item组件标签上设置style因为在微信小程序中是无效的请包一层view -->
<template #cell="{item,index}">