From d9cb8e57537fe5764018f53a224f6afceec64f9e Mon Sep 17 00:00:00 2001
From: liuwh <liuwh@hugeinfo.com.cn>
Date: Tue, 24 Mar 2020 09:22:06 +0800
Subject: [PATCH] 提交
---
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