完成consumer端同步

This commit is contained in:
2026-05-14 15:28:09 +08:00
parent 612fb3d360
commit 0ffbc53902
197 changed files with 92657 additions and 7564 deletions

View File

@@ -21,7 +21,7 @@
<!-- 聊天内容 -->
<scroll-view
scroll-y="true"
direction="vertical"
class="chat-content"
:scroll-into-view="scrollToView"
:scroll-with-animation="true"
@@ -92,7 +92,7 @@
</view>
<image
class="avatar me"
src="/static/images/default-product.png"
src="/static/images/default.png"
mode="aspectFill"
/>
</view>
@@ -168,7 +168,7 @@ const scrollToView = ref<string>('')
const currentUserId = ref<string>('')
const merchantId = ref<string>('') // 商家ID
const headerTitle = ref<string>('在线客服')
const merchantAvatar = ref<string>('/static/default-shop.png') // 商家头像
const merchantAvatar = ref<string>('/static/images/default.png') // 商家头像
const navPaddingTop = ref<string>('30px') // 默认值,包含状态栏高度+原有内边距
const isInitialLoading = ref<boolean>(true)
let realtimeChannel: AkSupaRealtimeChannel | null = null
@@ -552,7 +552,7 @@ function showImagePicker(): void {
// 处理 tempFilePaths兼容不同平台
let filePath: string = ''
const tempFilePaths = res.tempFilePaths
const tempFilePaths = res.tempFilePaths as string[]
if (tempFilePaths != null) {
if (Array.isArray(tempFilePaths)) {
const arr = tempFilePaths as string[]