yujingsearch.wxml
4.4 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!-- 日期弹出层 -->
<view class="register" wx:if="{{datechu}}">
<view class="timewrap">
<!-- 开始时间和结束时间 -->
<view class="timetwo">
<view class="timebetin" bindtap="xuanshijan" data-time="1">
<view class="timetop {{timesel==1?'seltimeactive':''}}">开始时间</view>
<view class="timebottom {{timesel==1?'selnameactive':''}}">{{startdate}}</view>
</view>
<view class="timebetin" bindtap="xuanshijan" data-time="2">
<view class="timetop {{timesel==2?'seltimeactive':''}}">结束时间</view>
<view class="timebottom {{timesel==2?'selnameactive':''}}">{{enddate}}</view>
</view>
</view>
<view class="timebox" wx:if="{{currentdate}}">
<view class="timeboxitem {{sel==index?'timeboxactive':''}}" wx:for="{{timearr}}" wx:key="">
<view class="itemcontent">{{item.year}}</view>
<view class="itemcontent">{{item.month}}</view>
<view class="itemcontent">{{item.day}}</view>
</view>
</view>
<view class="qudingdate" wx:else bindtap='qudingxuandate'>确定</view>
<view wx:if="{{currentdate}}">
<date-picker id="date-picker" value="{{datePickerValue}}" isShow="{{datePickerIsShow}}" bindsureclick="datePickerOnSureClick" bindcancelclick="datePickerOnCancelClick" />
</view>
</view>
</view>
<!-- 搜索弹出层 -->
<view class="register searchregister" wx:if="{{historyshow}}">
<view class="searchname">搜素历史</view>
<view class="historybox">
<view class='historyitem' bindtap="golist" wx:for="{{historylist}}" wx:key="">{{item}}</view>
</view>
</view>
<!-- 企业信息输入 -->
<view class="qiyexinxi" wx:if="{{qiyexinxi}}">
<view class="searchbox">
<view class="searchinput">
<input placeholder='输入企业信息' placeholder-class='qiyeinfo' placeholder-class='enterqiname' bindconfirm="enterqiye" value="{{qiyeinfoname}}" />
</view>
<view class="quxiao" bindtap="cancelqisinxi">
取消
</view>
</view>
<!-- 企业列表 -->
<view class="qiyebox">
<view class="qiyeitem">
<view class="qiyename">企业名称</view>
<view class="qiyeshuru">
<input placeholder='请输入企业姓名' value="{{qiyename}}" bindinput="enterqiyename" />
</view>
</view>
<view class="qiyetime" bindtap="begintime">
<view class="qiyetimeleft">
<view class='qiyetimeleft'>开始时间</view>
<view class="starttime">{{startdate}}</view>
</view>
<view class="qiyerowimg">
<image src="/img/qiyerow.png"></image>
</view>
</view>
<view class="qiyetime" bindtap="begintime">
<view class="qiyetimeleft">
<view class='qiyetimeleft'>结束时间</view>
<view class="starttime">{{enddate}}</view>
</view>
<view class="qiyerowimg">
<image src="/img/qiyerow.png"></image>
</view>
</view>
</view>
<view class="chaxun" wx:if="{{chaxun}}">查询</view>
<view class="chaxun cha" wx:else bindtap="chauxn">查询</view>
<view class="reset" wx:if="{{reset}}">重置</view>
<view class="reset re" wx:else>重置</view>
</view>
<!-- 企业列表 -->
<view class="qiyecontent" wx:else>
<view class="searchbox">
<view class="searchinput">
<input placeholder='输入企业信息' placeholder-class='qiyeinfo' placeholder-class='enterqiname' bindconfirm="enterqiye" value="{{qiyeinfoname}}" />
<view class="quxiaoimg" wx:if="{{qiyexinxi==false}}" bindtap="clear">
<image src="/img/chahao.png"></image>
</view>
</view>
<view class="quxiao" bindtap="cancellist">
取消
</view>
</view>
<view class="qiyelsit">
<view class="warn_msg" wx:for="{{list}}" wx:key="">
<view class="msg_detail">
<view class="msg_box">
<view class="detail_single detail_title">
<view class="{{item.type == 1?'detail_symbol':''}}"></view>
<view>{{item.title}}</view>
</view>
<view class="detail_single">企业名称:{{item.name}}</view>
<view class="detail_single">报警时间:{{item.time}}</view>
<view class="detail_single">报警描述:{{item.des}}</view>
<view class="watch_detail" bindtap='toDetail' data-item="{{item}}">
查看详情
<view class="watch_icon">
<image src='/img/demo25.png'></image>
</view>
</view>
</view>
</view>
</view>
</view>
</view>