recordingReview.wxml
1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!-- packageIndex/pages/recordingReview/recordingReview.wxml -->
<view class="container">
<!-- 顶部标题区域 -->
<view class="header">
<view class="title flex">
<text class="title-text">录音复盘</text>
<view class="status-tag flex status-{{summary.taskStatus}}">{{summary.statusText}}</view>
</view>
<view class="subtitle">请按以下要求提交实战效果录音复盘记录</view>
</view>
<!-- 日期分组列表 -->
<view class="date-group">
<view class="date-header">
<text class="date-text">{{summary.date}}</text>
<view class="stats">
<text class="stat-item">战败 {{summary.totalCount}}</text>
<text class="stat-item reviewed">已复盘 {{summary.reviewedCount}}</text>
<text class="stat-item unreviewed">未复盘 {{summary.unreviewedCount}}</text>
</view>
</view>
<!-- 录音记录卡片列表 -->
<block wx:if="{{flag}}">
<block wx:if="{{records.length}}">
<block wx:for="{{records}}" wx:key="index" wx:for-item="record">
<view class="record-block">
<block wx:if="{{index != records.length - 1}}">
<view class="line"></view>
</block>
<view class="index-badge-box">
<view class="index-badge">
{{index + 1}}
</view>
</view>
<review-item record="{{record}}" bindreviewrecord="reviewRecord"></review-item>
</view>
</block>
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<block wx:else>
<empty-data></empty-data>
</block>
</block>
</view>
</view>