wlcb-miniapp-syzl/pages/reportHandle/reportHandle.wxml

32 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-08-19 14:28:03 +08:00
<view class="log">
<view class="log-box" wx:for="{{handleList}}" wx:key="index">
<view class="log-info">
<view class="log-row">
<view class="row-name">处理人:</view>
<view class="row-content">张三{{item.handleUserName }}</view>
</view>
<view class="log-row">
<view class="row-name">处理时间:</view>
<view class="row-content">{{item.gmtCreate }}</view>
</view>
<view class="log-row">
<view class="row-name">处理结果:</view>
<view class="row-content">
<rich-text nodes="{{item.handleContent}}"></rich-text>
</view>
</view>
<view class="log-row" wx:if="{{item.handlePhoto.length > 0}}">
<view class="row-name">处理图片:</view>
<view class="row-content">
<image src="{{reportUrl + baseImgUrl + img}}" wx:for="{{item.handlePhoto}}" wx:for-item="img" wx:for-index="idx" wx:key="idx" data-cur="{{index}}" bindtap="previewImg"></image>
</view>
</view>
<view class="log-row" wx:if="{{item.handleVideo}}">
<view class="row-name">处理视频:</view>
<view class="row-content">
<video src="{{reportUrl + baseImgUrl + item.handleVideo}}"></video>
</view>
</view>
</view>
</view>
</view>