48 lines
2.7 KiB
Plaintext
48 lines
2.7 KiB
Plaintext
<view class="poster {{full?'full':''}}">
|
|
<view bindtouchmove="touchMove" bindtouchstart="touchStart" catchtouchend="touchEnd" class="poster_box" style="margin-left:{{-left}}px;width:{{posterboxwidth}}px" wx:if="{{!full}}">
|
|
<view class="posterimg poster_show" style="width:{{posterwidth}}px" wx:for="{{posterArr}}">
|
|
<image bindload="loadImg" class="image" data-index="{{index}}" mode="widthFix" src="{{item.thumb}}" style="display: {{item.thumbLoaded?'block':'none'}};"></image>
|
|
<view class="loading " wx:if="{{!item.thumbLoaded}}">
|
|
<view class="sk-three-bounce">
|
|
<view class="sk-child sk-bounce1"></view>
|
|
<view class="sk-child sk-bounce2"></view>
|
|
<view class="sk-child sk-bounce3"></view>
|
|
</view>
|
|
</view>
|
|
<image catchtap="enlarge" class="check" src="{{check}}" wx:if="{{item.thumbLoaded}}"></image>
|
|
</view>
|
|
</view>
|
|
<view bindtap="pre" class="pre" wx:if="{{index>0}}">
|
|
<text class="icox icox-qianjin-copy-copy"></text>
|
|
</view>
|
|
<view bindtap="next" class="next" wx:if="{{index<posterArr.length-1}}">
|
|
<text class="icox icox-qianjin-copy"></text>
|
|
</view>
|
|
<view bindtouchend="touchEnd" bindtouchmove="touchMove" bindtouchstart="touchStart" class="poster_box" style="margin-left:{{-left}}px;width:{{posterboxwidth}}px" wx:if="{{full}}">
|
|
<view class="posterimg poster_show" style="width:{{posterwidth}}px;height:{{windowHeight}}px" wx:for="{{posterArr}}">
|
|
<view class="loading " wx:if="{{!item.posterLoaded}}">
|
|
<view class="sk-three-bounce">
|
|
<view class="sk-child sk-bounce1"></view>
|
|
<view class="sk-child sk-bounce2"></view>
|
|
<view class="sk-child sk-bounce3"></view>
|
|
</view>
|
|
</view>
|
|
<image bindload="loadImg" data-index="{{index}}" data-poster="true" mode="widthFix" src="{{item.poster}}" style="width:100%;height:{{lgimgheight}}rpx; display: {{item.posterLoaded?'block':'none'}};"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="tips" wx:if="{{!full}}">
|
|
<view bindtap="savePicture" class="savepic">保存图片</view>
|
|
<text class="icox icox-zhuyi" style="color:#ffd800"></text>
|
|
保存至相册
|
|
</view>
|
|
<view class="pos_bot" wx:if="{{full}}">
|
|
<text class="icox icox-zhuyi" style="color:#ffd800"></text>
|
|
左右滑动切换模版
|
|
<text bindtap="savePicture" class="btn btn-danger btn-sm">保存图片</text>
|
|
<text bindtap="ensmall" class="btn btn-danger-o btn-sm">返回选择</text>
|
|
</view>
|
|
<view class="fui-toast {{FoxUIToast.show?'in':'out'}}">
|
|
<view class="text">{{FoxUIToast.text}}</view>
|
|
</view>
|