| | |
| | | </view> |
| | | <!-- bind:tap="onClick" --> |
| | | <view class="pictureBox" wx:if="{{selectType == 'picture'}}"> |
| | | <!-- style="width: {{(newScale <= 5 ? newScale: 5) * 100}}%;" --> |
| | | <image |
| | | src="{{showData}}" |
| | | mode="aspectFit" |
| | | mode="widthFix" |
| | | data-src="{{showData}}" |
| | | bindtap="preview" |
| | | /> |
| | |
| | | </view> |
| | | |
| | | <view class="button-example"> |
| | | <t-button size="large" bind:tap="onDownloadButton"> |
| | | <t-button size="large" bind:tap="onDownloadButton" class="download-btn"> |
| | | <view class="text"> 下载 </view> |
| | | </t-button> |
| | | </view> |
| | |
| | | wx:key="index" |
| | | wx:for-item="item" |
| | | wx:for-index="index" |
| | | class="img-box" |
| | | > |
| | | <image src="{{item}}" alt="" style="min-height: 550px"></image> |
| | | <image |
| | | src="{{item}}" |
| | | data-src="{{item}}" |
| | | bind:tap="preview" |
| | | alt="" |
| | | style="min-height: 550px; width: 100%" |
| | | mode="aspectFit" |
| | | ></image> |
| | | <view class="divider">第 {{index + 1}} 页</view> |
| | | </view> |
| | | <!-- <web-view src="{{pdfSrc}}" id="web-view-pdf" /> --> |
| | | </view> |
| | | |
| | | <web-view wx:if="{{selectType == 'webpage'}}" src="{{webpageSrc}}"></web-view> |