From de0151aaae18282e885e5ae2d84653d1131a65a4 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Wed, 01 Apr 2020 11:26:42 +0800 Subject: [PATCH] xiufu --- 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