From d99603fa4c5188d19991de978c185b2b9247c5af Mon Sep 17 00:00:00 2001
From: xuxj <hugeinfo123>
Date: Sat, 09 May 2020 09:22:02 +0800
Subject: [PATCH] Merge branch 'master' of http://git.hugeinfo.com.cn/r/nsjcy/frontEnd/nsjcy
---
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