diff --git a/components/ImageSwiper/index.vue b/components/ImageSwiper/index.vue index 98ae825..c880131 100644 --- a/components/ImageSwiper/index.vue +++ b/components/ImageSwiper/index.vue @@ -14,7 +14,7 @@ v-for="(item, index) in thumbnails" :key="index" > - + @@ -39,8 +39,8 @@ :id="`thumbnail-${index}`" @click="handleThumbnailClick(index)" > - - {{ thumb.photoName }} + + {{ thumb.name }} @@ -106,35 +106,35 @@ const swiperStyle = computed(() => { // 默认图片数据 const defaultImages = [ { - photoUrl: - "https://fastly.picsum.photos/id/866/654/400.jpg?hmac=z3vI4CYrpnXEgimSlJCDwXRxEa-UDHiRwzGEyB8V-po", - photoName: "瑶山古寨", + imageUrl: + "https://one-feel-image-bucket.oss-cn-chengdu.aliyuncs.com/DH04006.jpg", + name: "瑶山古寨", }, { - photoUrl: - "https://fastly.picsum.photos/id/284/654/400.jpg?hmac=89XRCJxYTblKIFGLOp6hJ9U0GC8BQrcnJwE5pG21NAk", - photoName: "民俗表演", + imageUrl: + "https://one-feel-image-bucket.oss-cn-chengdu.aliyuncs.com/DH04002.JPG", + name: "民俗表演", }, { - photoUrl: - "https://fastly.picsum.photos/id/281/654/400.jpg?hmac=hcAJB7y2Xz3DVuz6S4XeQZgzaTJ_QWnxtbnaagZL6Fs", - photoName: "特色美食", + imageUrl: + "https://one-feel-image-bucket.oss-cn-chengdu.aliyuncs.com/DH04007.jpg", + name: "特色美食", }, { - photoUrl: - "https://fastly.picsum.photos/id/435/654/400.jpg?hmac=TSVDxfo-zXbunxNQK0erSG_nmKcS20xfhbQsCAXLlHo", - photoName: "传统服饰", + imageUrl: + "https://one-feel-image-bucket.oss-cn-chengdu.aliyuncs.com/DH04014.JPG", + name: "传统服饰", }, { - photoUrl: - "https://fastly.picsum.photos/id/737/654/400.jpg?hmac=VED05oEK3XB0Aa_DUVoZjTAf0bHjAmNYyJky4lq5vVo", - photoName: "其他", + imageUrl: + "https://one-feel-image-bucket.oss-cn-chengdu.aliyuncs.com/DH04020.JPG", + name: "其他", }, ]; // 使用传入的图片数据或默认数据 const thumbnails = computed(() => { - return props.images.length ? props.images : defaultImages; + return props.images; }); const handleThumbnailClick = (index) => { diff --git a/components/ImageSwiper/styles/index.scss b/components/ImageSwiper/styles/index.scss index e9a73f6..5c5038f 100644 --- a/components/ImageSwiper/styles/index.scss +++ b/components/ImageSwiper/styles/index.scss @@ -29,7 +29,7 @@ position: absolute; left: 12px; right: 12px; - bottom: 36px; + bottom: 0px; height: 60px; } diff --git a/pages/chat/ChatMainList.vue b/pages/chat/ChatMainList.vue index e50bd46..626b4be 100644 --- a/pages/chat/ChatMainList.vue +++ b/pages/chat/ChatMainList.vue @@ -57,6 +57,12 @@ item.toolCall.componentName === CompName.createWorkOrderCard " /> +