|
|
@@ -1,7 +1,18 @@ |
|
|
|
<view class="content-box"> |
|
|
|
<view class='content'> |
|
|
|
<view class='top-img'> |
|
|
|
<image src='{{data.coverImg}}'></image> |
|
|
|
<view wx:if="{{coverPicture.length>0}}" class="banner"> |
|
|
|
<swiper class="index-slide" bindchange="swiperChange" autoplay="true" circular="false" current="{{swiperCurrent}}"> |
|
|
|
<block wx:for="{{coverPicture}}" wx:key="unique"> |
|
|
|
<swiper-item> |
|
|
|
<image data-data="{{item}}" mode='widthFix' src="{{item}}" class="index-slide-image" /> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<view class="dots"> |
|
|
|
<block wx:for="{{coverPicture}}" wx:key="unique"> |
|
|
|
<view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='title'>{{data.title}}</view> |
|
|
|
<view class='text'> |
|
|
@@ -57,6 +68,9 @@ |
|
|
|
<text><text class='spot'></text>{{data.remark}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='detailImg' wx:if="{{detailPicture.length>0}}"> |
|
|
|
<image wx:for="{{detailPicture}}" wx:key="{{index}}" wx:for-item="item" src='{{item}}'></image> |
|
|
|
</view> |
|
|
|
<form bindsubmit="submit" report-submit='true' > |
|
|
|
<view class='edit'> |
|
|
|
<button class='goback' bindtap='gotoIndex'><image src='{{wmhome}}' mode="widthFix"></image></button> |
|
|
|