down.wxml 1.4 KB

12345678910111213141516171819202122232425262728
  1. <view style="background: #f5f5f5; padding: 20rpx 0;">
  2. <view class="container">
  3. <view class="top_boxs">
  4. <view class="title">{{itemlist.name}}</view>
  5. <view>文件大小:{{itemlist.size}}</view>
  6. <view class="item_boxs">连接有效期剩余:{{countdown}}</view>
  7. </view>
  8. <view style="width: 100%;">
  9. <button class="preview-btn" bindtap="handleDownloadFile">立即下载</button>
  10. </view>
  11. <view class="top_boxs">
  12. <view class="title">分享下载链接</view>
  13. <view style="display: flex; padding: 20rpx 0; justify-content: space-between;">
  14. <view style="display: flex; width: 90%; border: 1rpx solid #e4e7ed; height: 80rpx; line-height: 80rpx; border-radius: 12rpx;">
  15. <!-- <view style="width: 30%; text-align: center;border-right: 1rpx solid #e4e7ed; background: #f5f7fa; font-weight: 600; color: #606266;">Https: //</view> -->
  16. <view style="width: 100%; padding-left: 20rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">{{ itemtempFileURL ? itemtempFileURL : '暂无' }}</view>
  17. </view>
  18. <image style="width: 50rpx;height: 50rpx; margin-top: 15rpx;" src="{{fuzhi}}" mode=""/>
  19. </view>
  20. <view class="dowm_boxs">
  21. <button class="dowm_boxs-btn" bindtap="handleShareTap">分享到微信</button>
  22. <button class="dowm_boxs-btns" bindtap="handleCopyLink">保存链接地址</button>
  23. </view>
  24. </view>
  25. <float />
  26. </view>
  27. </view>