From 36a629a3cf1e082a750e9691632d3b3bf28888b8 Mon Sep 17 00:00:00 2001
From: liuwh <liuwh@hugeinfo.com.cn>
Date: Sat, 14 Mar 2020 22:47:52 +0800
Subject: [PATCH] 小程序bug修改

---
 SunshineLnsMinApp/pages/zhdtInfo/zhdtInfo.wxml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SunshineLnsMinApp/pages/zhdtInfo/zhdtInfo.wxml b/SunshineLnsMinApp/pages/zhdtInfo/zhdtInfo.wxml
index 36111c3..24eae90 100644
--- a/SunshineLnsMinApp/pages/zhdtInfo/zhdtInfo.wxml
+++ b/SunshineLnsMinApp/pages/zhdtInfo/zhdtInfo.wxml
@@ -1,8 +1,8 @@
 <!--pages/zhdtInfo/zhdtInfo.wxml-->
 
-<swiper class="screen-swiper square-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500">
+<swiper wx:if="{{data.attList.length > 0}}" class="screen-swiper square-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500">
 	<swiper-item wx:for="{{data.attList}}" wx:key>
-		<image src="{{item.url}}" mode="aspectFill"></image>
+		<image src="{{item.path}}" mode="aspectFill"></image>
 		<!-- <video src="{{item.url}}" autoplay loop muted show-play-btn="{{false}}" controls="{{false}}" objectFit="cover" wx:if="{{item.type=='video'}}"></video> -->
 	</swiper-item>
 </swiper>

--
Gitblit v1.8.0