<view><view class="{{['info',equipInfo.is_online==1?'on':'off']}}"><view data-event-opts="{{[['tap',[['copy',['$0'],['equipInfo']]]]]}}" bindtap="__e">{{'设备ID：'+(equipInfo.imei||equipInfo.device_id)+''}}<image class="tishi" src="http://www.hnyfwlw.com:8006/bigdata_app/image/environment/fuzhi.png" mode></image></view><view>{{'设备名称：'+(equipInfo.device_name==""?"无":equipInfo.device_name)+''}}</view><view>设备类型：性诱3.0</view><view>{{'最新上报时间：'+$root.f0+''}}</view><view>{{'设备地址：'+equipInfo.address+''}}</view><view data-event-opts="{{[['tap',[['setdecoy',['$event']]]]]}}" bindtap="__e">{{'诱芯名称：'+equipInfo.decoy+''}}<u-icon vue-id="55c6cc0e-1" name="edit-pen" color="#f0ad4e" size="28" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['setdecoy',['$event']]]]]}}" bindtap="__e">{{'诱芯到期时间：'+equipInfo.xy_expire+''}}<u-icon vue-id="55c6cc0e-2" name="edit-pen" color="#f0ad4e" size="28" bind:__l="__l"></u-icon></view></view><u-popup bind:input="__e" vue-id="55c6cc0e-3" mode="center" width="600rpx" value="{{yxShow}}" data-event-opts="{{[['^input',[['__set_model',['','yxShow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-field bind:input="__e" class="field" vue-id="{{('55c6cc0e-4')+','+('55c6cc0e-3')}}" label="害虫名称" label-width="240" required="{{true}}" error-message="{{xyErr}}" field-style="{{fieldstyle}}" placeholder="请填写害虫名称" value="{{decoy}}" data-event-opts="{{[['^input',[['__set_model',['','decoy','$event',[]]]]]]}}" bind:__l="__l"></u-field><u-field class="field" vue-id="{{('55c6cc0e-5')+','+('55c6cc0e-3')}}" label="诱芯到期时间" label-width="240" required="{{true}}" error-message="{{xyErrtime}}" field-style="{{fieldstyle}}" placeholder="请填写到期时间" value="{{decoytime}}" data-event-opts="{{[['^click',[['settime']]],['^input',[['__set_model',['','decoytime','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-field><view style="text-align:center;color:#fa3534;">{{''+tishitext+''}}</view><view class="btn-box"><u-button class="box-item" vue-id="{{('55c6cc0e-6')+','+('55c6cc0e-3')}}" size="mini" type="success" data-event-opts="{{[['^click',[['yxSubmit']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定</u-button></view></u-popup><u-calendar vue-id="55c6cc0e-7" mode="date" max-date="{{date}}" value="{{tiemshow}}" data-event-opts="{{[['^change',[['tiemchange']]],['^input',[['__set_model',['','tiemshow','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-calendar><view class="caobox"><block wx:if="{{$root.m0}}"><view data-event-opts="{{[['tap',[['tophoto',['$event']]]]]}}" class="caobox_item" bindtap="__e"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/1.png" mode="widthFix"></image><view>查看图片</view></view></block><block wx:if="{{$root.m1}}"><view data-event-opts="{{[['tap',[['toset',['$event']]]]]}}" class="caobox_item" bindtap="__e"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/4.png" mode="widthFix"></image><view>设备控制</view></view></block><block wx:if="{{$root.m2}}"><view data-event-opts="{{[['tap',[['tosim',['$event']]]]]}}" class="caobox_item" bindtap="__e"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/6.png" mode="widthFix"></image><view>SIM卡</view></view></block><block wx:if="{{$root.m3}}"><view data-event-opts="{{[['tap',[['tohis',['$event']]]]]}}" class="caobox_item" bindtap="__e"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/2.png" mode="widthFix"></image><view>历史数据</view></view></block></view><view class="realtime"><view class="realtime_title"><view class="_p">实时数据</view></view><view class="realtime_text"><view class="realtime_item"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/xy2.0/wendu.png" mode></image><view class="text"><view class="_p">环境温度</view><view class="_p">{{at+"℃"}}</view></view></view><view class="realtime_item"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/xy2.0/shidu.png" mode></image><view class="text"><view class="_p">环境湿度</view><view class="_p">{{ah+"%"}}</view></view></view><view class="realtime_item"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/xy2.0/tianqi.png" mode></image><view class="text"><view class="_p">天气</view><view class="_p">{{wea}}</view></view></view><view class="realtime_item"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/xy2.0/xiayu.png" mode></image><view class="text"><view class="_p">是否下雨</view><view class="_p">{{rain}}</view></view></view><view class="realtime_item"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/xy2.0/fengxiang.png" mode></image><view class="text"><view class="_p">风力风向</view><view class="_p">{{wind}}</view></view></view><view class="realtime_item"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/xy2.0/yujing.png" mode></image><view class="text"><view class="_p">诱虫次数</view><view class="_p">{{wormnum}}</view></view></view></view></view></view>