From 3f9baa276c7a7fcd8ed052d6b6e13d22faf0f381 Mon Sep 17 00:00:00 2001 From: ZhaoYang <565837861@qq.com> Date: Fri, 13 Mar 2026 17:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/pages/expertChat/expertChat.js | 20 +--------- pagesA/pages/expertChat/expertChat.wxml | 17 +-------- pagesA/pages/expertChat/expertChat.wxss | 49 ------------------------- 3 files changed, 2 insertions(+), 84 deletions(-) diff --git a/pagesA/pages/expertChat/expertChat.js b/pagesA/pages/expertChat/expertChat.js index 205ca7f..0983c16 100644 --- a/pagesA/pages/expertChat/expertChat.js +++ b/pagesA/pages/expertChat/expertChat.js @@ -1316,25 +1316,7 @@ Page({ }); }, - // 选择视频 - chooseVideo: function() { - this.hideMediaActionSheet(); - - wx.chooseVideo({ - sourceType: ['album'], - compressed: true, - maxDuration: 60, - success: (res) => { - this.uploadVideo(res.tempFilePath, res.thumbTempFilePath); - }, - fail: () => { - wx.showToast({ - title: '选择视频失败', - icon: 'none' - }); - } - }); - }, + // 预览图片 previewImage: function(e) { diff --git a/pagesA/pages/expertChat/expertChat.wxml b/pagesA/pages/expertChat/expertChat.wxml index 936a55a..91d8e33 100644 --- a/pagesA/pages/expertChat/expertChat.wxml +++ b/pagesA/pages/expertChat/expertChat.wxml @@ -30,15 +30,6 @@ {{todayDate}} - - - - - - - 正在发送{{sendingCount}}条消息... - - @@ -241,13 +232,7 @@ 照片 - - - - - - 视频 - + diff --git a/pagesA/pages/expertChat/expertChat.wxss b/pagesA/pages/expertChat/expertChat.wxss index 3e15051..92e3ed3 100644 --- a/pagesA/pages/expertChat/expertChat.wxss +++ b/pagesA/pages/expertChat/expertChat.wxss @@ -105,56 +105,7 @@ background-color: #d8d8d8; } -/* ========== 发送中提示 ========== */ -.sending-tip-container { - display: flex; - justify-content: center; - margin: 10rpx 0 20rpx; - animation: fadeIn 0.3s ease; -} -.sending-tip { - background: rgba(0, 0, 0, 0.6); - backdrop-filter: blur(10px); - padding: 12rpx 32rpx; - border-radius: 40rpx; - display: flex; - align-items: center; - gap: 8rpx; -} - -.sending-dot { - width: 8rpx; - height: 8rpx; - background: #ffffff; - border-radius: 50%; - animation: sendingPulse 1.4s infinite; -} - -.sending-dot:nth-child(2) { - animation-delay: 0.2s; -} - -.sending-dot:nth-child(3) { - animation-delay: 0.4s; -} - -@keyframes sendingPulse { - 0%, 60%, 100% { - transform: scale(1); - opacity: 1; - } - 30% { - transform: scale(1.5); - opacity: 0.5; - } -} - -.sending-text { - font-size: 24rpx; - color: #ffffff; - margin-left: 8rpx; -} /* ========== 消息项 ========== */ .message-item {