index.wxml
2.66 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!--packageEquity/pages/receptionDetail/components/attack/index.wxml-->
<view class="attack-wrap">
<block wx:if="{{ isShow }}">
<block wx:if="{{ list && list.detailList && list.detailList.length>0 }}">
<scroll-view scroll-x
class="scroll-view"
wx:if="{{ list && list.detailList && list.detailList.length>0 }}">
<view class="attack-bout {{ list.detailList.length>4?'attach-list-scroll':'' }}">
<view class="attack-list {{ activeIndex==index?'active':'' }}"
wx:for="{{ list.detailList }}"
data-index="{{ index }}"
bind:tap="changeAttackType">
<view class="title">
攻防回合{{ index+1 }}
</view>
<view class="score">
{{ item.defScore }}<text>分</text>
</view>
</view>
</view>
</scroll-view>
<scroll-view scroll-y
class="attack-content"
scroll-top="{{ scrollTop }}"
bindscroll="watchScrollTrack"
data-event-code="offense_and_defense">
<view class="content">
<view class="left attack">
攻
</view>
<view class="text">
{{ list.detailList[activeIndex].question }}
</view>
</view>
<view class="content">
<view class="left defend">
防
</view>
<view class="text">
{{ list.detailList[activeIndex].answer }}
</view>
</view>
<view class="verbal-wrap">
<view class="verbal-wrap-content">
<view class="title">
<gl-image class="improve"
webp
src="/improve.png" />
话术建议
</view>
<view class="suggest-content">
<rich-text nodes="{{ list.detailList[activeIndex].suggestionsForImprovement }}"></rich-text>
</view>
<view class="line"></view>
<view class="title">
<gl-image class="improve"
webp
src="/polish.png" />
润色表达
</view>
<view class="suggest-content">
<rich-text nodes="{{ list.detailList[activeIndex].refineTheExpression }}"></rich-text>
</view>
</view>
</view>
<view class="footer">
<view class="more" bind:tap="lookMore">
去对话查看
</view>
</view>
<view class="safeAreaInset"></view>
</scroll-view>
</block>
<block wx:else>
<view class="no-data">
<gl-image class="no-data-img"
webp
src="/equity/empty.png" />
<view class="list-not">
{{ defenceResultFlag === 1 || defenceResultFlag === 0 || defenceResultFlag === 4 ? "数据分析中,请稍等" : defenceResultFlag === 3 ? "未发现攻防" : "未进行攻防识别" }}
</view>
</view>
</block>
</block>
</view>