From 91294e385f43628543ebcd9ef4b9931beaabf4a1 Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Wed, 27 May 2020 17:44:41 +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