index.axml
2.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
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
<view class="page">
<view class="app__bgc bgc"></view>
<view class="app__bg bg"></view>
<view class="app__content main">
<view class="top-space"></view>
<image class="ebg" mode="widthFix" src="/images/index/index-bg-1.png" />
<view class="content">
<view class="table">
<view class="func-wrap">
<view class="search-wrap">
<view class="search-icon"></view>
<input
onInput="inputEdit"
onConfirm="onSearchConfirm"
data-name="queryForm.query"
value="{{queryForm.query}}"
class="search-input"
placeholder="请输入您喜欢的数字"
type="number"
/>
<view onTap="onSearch" class="search-btn">
搜 索
</view>
</view>
<view class="tag-list">
<view
a:for="{{ tagList }}"
onTap="onTagItem"
data-data="{{item}}"
data-index="{{index}}"
class="tag-item {{ tagIndex == index ? 'tag-item-act' : '' }}"
style="font-size: {{ item.fontSize || 28 }}rpx;"
>
{{item.name}}
</view>
</view>
</view>
<view class="number-wrap">
<view class="number-list">
<view
a:for="{{ numberList }}"
onTap="onNumberItem"
data-data="{{item}}"
data-index="{{index}}"
class="number-item"
>
<text a:for="{{ item.numberDisplayList }}" class="text {{item.highlight ? 'highlight' : ''}}">
{{item.number}}
</text>
</view>
</view>
</view>
<view class="page-btn-wrap">
<view onTap="onPagePrev" class="page-btn btn-prev">
</view>
<view onTap="onPageNext" class="page-btn btn-next">
</view>
</view>
</view>
</view>
<image class="ebg" mode="widthFix" src="/images/index/index-bg-2.png" />
<view a:if="{{ shortCutVisible }}" onTap="toTop" class="bot-btn ani-heart"></view>
</view>
</view>
<view hidden="{{ !formVisible }}" class="popup">
<view catchTap="onHideMask" class="popup-mask"></view>
<view class="dialog">
<form-comp item="{{curNumberItem}}" onChange="evtcomp"></form-comp>
</view>
</view>
<view a:if="{{ succVisible }}" class="popup">
<view catchTap="onHideMask" class="popup-mask"></view>
<view class="dialog">
<succ-comp></succ-comp>
</view>
</view>