@ -21,6 +21,7 @@
<!-- 聊天列表 -->
<scroll-view
scroll-y="true"
scroll-x="false"
class="chat-scroll-view"
refresher-enabled="{{true}}"
refresher-triggered="{{isRefreshing}}"
@ -35,6 +35,13 @@
.chat-scroll-view {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
width: 100%;
}
/* 确保容器不产生横向滚动 */
.chat-container {
/* 聊天项 */
@ -45,6 +52,8 @@
background-color: #fff;
border-bottom: 1rpx solid #f0f0f0;
transition: background-color 0.2s;
box-sizing: border-box;
overflow: hidden;
.chat-item:active {