wj
litian
2024-10-23 abe52e53bee051e3f801d001c4de58d34a3fefd7
packageDomain/pages/resourceDetails/document/index.wxml
@@ -13,9 +13,10 @@
</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"
  />
@@ -27,7 +28,7 @@
  </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>
@@ -39,8 +40,14 @@
    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}}"
      alt=""
      style="min-height: 550px"
      mode="aspectFit"
    ></image>
    <view class="divider">第 {{index + 1}} 页</view>
  </view>
</view>