yiming
2024-04-29 4496721cd3af3c68ed4d55218d3e83ea0664c57e
packageDomain/pages/resourceDetails/document/index.wxml
@@ -11,9 +11,9 @@
<view class="titleNameBox" wx:if="{{selectType != 'webpage'}}">
  {{titleName}}
</view>
<!-- bind:tap="onClick" -->
<view class="pictureBox" wx:if="{{selectType == 'picture'}}">
  <image src="{{showData}}" mode="aspectFit" />
  <image src="{{showData}}" mode="aspectFit" data-src="{{showData}}" bindtap="preview" />
</view>
<view wx:if="{{selectType == 'zip'}}">
@@ -44,3 +44,9 @@
<web-view wx:if="{{selectType == 'webpage'}}" src="{{webpageSrc}}"></web-view>
<!-- <button bind:tap="handleTap">点位</button> -->
<!-- <t-button theme="primary" size="large" variant="outline" block>基础图片预览</t-button> -->
<t-toast id="t-toast" />
<t-image-viewer usingCustomNavbar deleteBtn="{{deleteBtn}}" closeBtn="{{closeBtn}}" showIndex="{{showIndex}}" visible="{{visible}}" images="{{images}}" bind:change="onChange" bind:delete="onDelete" bind:close="onClose"></t-image-viewer>