From 666bcc20d989be1c7a2acb314594e8e017a611ac Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期日, 11 八月 2024 23:18:51 +0800
Subject: [PATCH] update花店的一些问题等

---
 pages/home/components/home-banner-detail.vue |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/pages/home/components/home-banner-detail.vue b/pages/home/components/home-banner-detail.vue
index 72bf866..e0b8b29 100644
--- a/pages/home/components/home-banner-detail.vue
+++ b/pages/home/components/home-banner-detail.vue
@@ -17,10 +17,25 @@
 
 			</view> -->
 
+			<!-- <uni-swiper-dot class="uni-swiper-dot-box" :mode="'dot'" field="content" v-if="dto.url&&dto.url.length>0">
+				<swiper class="swiper-box" :interval="10000" :circular="true" :current="0" :autoplay="true">
+					<swiper-item v-for="(url, index) in dto.url" :key="index">
+						<view class="swiper-item" :class="'swiper-item' + index">
+
+							<image class="home-banner-image" mode="scaleToFill" @click="previewImg(url)" :src="url">
+							</image>
+						</view>
+					</swiper-item>
+				</swiper>
+			</uni-swiper-dot>
+			<view style="background: #F5F5F5;height: 24rpx;" v-if="dto.url&&dto.url.length>0">
+
+			</view> -->
+
 			<!-- 活动描述 -->
 			<view class="info-desc">
 				<!-- <view class="title">公告描述</view> -->
-				<view v-html="dto.content||'暂无内容'" class="rich" style="overflow: scroll;">
+				<view v-html="dto.content||'暂无详情'" class="rich" style="overflow: scroll;">
 
 				</view>
 			</view>
@@ -59,6 +74,9 @@
 				})
 
 				this.$message.hideLoading()
+				if (data && data.url) {
+					data.url = JSON.parse(data.url) || []
+				}
 				this.dto = {
 					...data
 				}

--
Gitblit v1.9.3