pyip.wxml 1.4 KB

1234567891011121314151617181920212223242526
  1. <view>
  2. <view class="pyp_box1">
  3. <view class="add_text">添加图片或视频</view>
  4. <image src="../../images/camera.png" class="xj" wx:if="{{carWin_img_hidden}}" bindtap="openCamera"></image>
  5. <image src="{{carWin_img}}" class="xj" bindtap="openCamera" wx:if="{{carWin_img_type==0}}"></image>
  6. <video class="xj" src="{{carWin_img}}" wx:if="{{carWin_img_type==1}}" show-center-play-btn='{{false}}' show-play-btn="{{true}}" controls></video>
  7. <van-button type="primary" block color="#eb3f33" custom-style="width:614rpx;border-radius:10rpx;margin-top:20rpx;" bindtap="submitImgToTxy">提交</van-button>
  8. <van-button type="primary" block color="#eb3f33" custom-style="width:614rpx;border-radius:10rpx;margin-top:20rpx;" bindtap="openCamera">重新拍摄</van-button>
  9. </view>
  10. <view class="pyp_box2" wx:if="{{isPhoto}}">
  11. <view class="add_text">历史上传照片</view>
  12. <view style="display:flex;flex-wrap:wrap">
  13. <view wx:for="{{imgList}}" wx:for-item="item">
  14. <image src="{{item.filePath}}" class="slt"></image>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="pyp_box2" style="margin-bottom:50rpx" wx:if="{{isVideo}}">
  19. <view class="add_text">历史上传视频</view>
  20. <view style="display:flex;flex-wrap:wrap">
  21. <view wx:for="{{videoList}}" wx:for-item="item">
  22. <video src="{{item.filePath}}" show-center-play-btn='{{false}}' show-play-btn="{{true}}" controls class="xj"></video>
  23. </view>
  24. </view>
  25. </view>
  26. </view>