wordsDetail.wxml
2.8 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
<!--pages/MemorizingWords/wordsDetail/wordsDetail.wxml-->
<view class='null_box'></view>
<view class='content_box'>
<view class='banner_box'>
<view class='label_box'>
<view class='label_item'>
<text>新学</text>
<text>{{listdata.new_study}}</text>
</view>
<view class='label_item'>
<text>需复习</text>
<text>{{listdata.review}}</text>
</view>
</view>
<view class='label_box info' data-status='4' bindtap='{{ifclick?"handleWords":""}}'>
<view class='iconfont icon-xuanzhong'></view>
<view>熟识</view>
</view>
</view>
</view>
<view class='content_item' wx:if='{{page==0}}'>
<view class='item_content'>
<view class='words'>{{listdata.info.word}}</view>
<view class='phonetic_symbol' catchtap='audioPlay' >
<view class='iconfont icon-laba1' wx:if='{{f}}'></view>
<view>{{listdata.info.yinbiao}}</view>
</view>
<view class='paraphrase'>{{listdata.info.explain}}</view>
</view>
<view class='mask_box' bindtap='showParaphrase'>
<view class='iconfont icon-dianji'></view>
<view>点击屏幕显示释义</view>
</view>
</view>
<block wx:if='{{page==1}}'>
<view class='content_item content_item2'>
<view class='content_itembox'>
<view class='item_content'>
<view class='words'>{{listdata.info.word}}</view>
<view class='phonetic_symbol'>
<view class='iconfont icon-laba1' wx:if='{{f}}'></view>
<view>{{listdata.info.yinbiao}}</view>
</view>
<view class='paraphrase'>{{listdata.info.explain}}</view>
</view>
<view class='item_box'>
<view class='item_list'>
<view class='title'>例句</view>
<view class='list_content'>
<view>
<view class='point' wx:if='{{listdata.info.liju.length !=0}}'></view>
</view>
<view><text> {{listdata.info.liju}}</text>
</view>
</view>
</view>
<view class='item_list'>
<view class='title'>大仙点评</view>
<view class='list_content'>
<view>
<view class='point' wx:if='{{listdata.info.dianping.length !=0}}'></view>
</view>
<view>{{listdata.info.dianping}}
</view>
</view>
</view>
<view class='item_list'>
<view class='title'>近义词</view>
<view class='list_content'>
<view>{{listdata.info.jinyici?listdata.info.jinyici:'暂无'}}</view>
</view>
</view>
</view>
</view>
</view>
</block>
<view class='bottom_btn'>
<view class='btn' data-status='1' bindtap='{{ifclick?"handleWords":""}}'>认识</view>
<view class='btn' data-status='2' bindtap='{{ifclick?"handleWords":""}}'>不认识</view>
<view class='btn' data-status='3' bindtap='{{ifclick?"handleWords":""}}'>模糊</view>
<view class='btn' wx:if=''>忘记</view>
</view>