From 854bc9c19784683dfe621a5ce9e5084dbc3a859a Mon Sep 17 00:00:00 2001 From: xiebing Date: Thu, 18 Dec 2025 10:31:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E5=9B=BE=E7=89=87=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=88=A4=E6=96=AD,=20=E4=B8=80=E4=BD=93=E6=9C=BAmodal=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/wide-screen.css | 12 ++++++++++++ pages/chat/components/ai-paging.vue | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/common/wide-screen.css b/common/wide-screen.css index 37ff8d3..d9ec97c 100644 --- a/common/wide-screen.css +++ b/common/wide-screen.css @@ -30,3 +30,15 @@ uni-toast .uni-toast__content { font-size: 30rpx !important; } +uni-modal .uni-modal{ + max-width: 450rpx !important; +} + +uni-modal .uni-modal__bd{ + font-size: 34rpx !important; + min-height: 100rpx !important; +} +uni-modal .uni-modal__ft{ + font-size: 36rpx !important; + line-height: 80rpx !important; +} diff --git a/pages/chat/components/ai-paging.vue b/pages/chat/components/ai-paging.vue index 81887db..d3d3011 100644 --- a/pages/chat/components/ai-paging.vue +++ b/pages/chat/components/ai-paging.vue @@ -470,7 +470,8 @@ function isImage(type) { 'apng', 'avif', 'heic', 'heif', 'jfif' ]; const lowerType = type.toLowerCase(); - return imageTypes.includes(lowerType); + + return imageTypes.some(item=>lowerType.includes(item)) } function isFile(type) { @@ -510,6 +511,7 @@ function uploadCamera(type = 'camera') { // 继续上传 $api.uploadFile(tempFilePaths[0], true).then((resData) => { resData = JSON.parse(resData); + console.log(file.type,'++') if (isImage(file.type)) { filesList.value.push({ url: resData.msg,