1234567891011121314151617181920212223242526 |
- <view>
- <view class="pyp_box1">
- <view class="add_text">添加图片或视频</view>
- <image src="../../images/camera.png" class="xj" wx:if="{{carWin_img_hidden}}" bindtap="openCamera"></image>
- <image src="{{carWin_img}}" class="xj" bindtap="openCamera" wx:if="{{carWin_img_type==0}}"></image>
- <video class="xj" src="{{carWin_img}}" wx:if="{{carWin_img_type==1}}" show-center-play-btn='{{false}}' show-play-btn="{{true}}" controls></video>
- <van-button type="primary" block color="#eb3f33" custom-style="width:614rpx;border-radius:10rpx;margin-top:20rpx;" bindtap="submitImgToTxy">提交</van-button>
- <van-button type="primary" block color="#eb3f33" custom-style="width:614rpx;border-radius:10rpx;margin-top:20rpx;" bindtap="openCamera">重新拍摄</van-button>
- </view>
- <view class="pyp_box2" wx:if="{{isPhoto}}">
- <view class="add_text">历史上传照片</view>
- <view style="display:flex;flex-wrap:wrap">
- <view wx:for="{{imgList}}" wx:for-item="item">
- <image src="{{item.filePath}}" class="slt"></image>
- </view>
- </view>
- </view>
- <view class="pyp_box2" style="margin-bottom:50rpx" wx:if="{{isVideo}}">
- <view class="add_text">历史上传视频</view>
- <view style="display:flex;flex-wrap:wrap">
- <view wx:for="{{videoList}}" wx:for-item="item">
- <video src="{{item.filePath}}" show-center-play-btn='{{false}}' show-play-btn="{{true}}" controls class="xj"></video>
- </view>
- </view>
- </view>
- </view>
|