analyse.wxml 7.3 KB

1
  1. <view class="anabox"><view class="timebox"><view class="schedulebox"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="schedule" bindtap="__e"><view class="schedule_value _p">{{yservalue}}</view><view class="schedule_icon _p"><u-icon vue-id="02cf4282-1" name="arrow-down" bind:__l="__l"></u-icon></view></view><u-picker vue-id="02cf4282-2" mode="selector" default-selector="{{[yserindex]}}" range="{{yearlist}}" value="{{pickertfone}}" data-event-opts="{{[['^confirm',[['confirmFun']]],['^input',[['__set_model',['','pickertfone','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="schedule" bindtap="__e"><view class="schedule_value _p">{{wormvalue}}</view><view class="schedule_icon _p"><u-icon vue-id="02cf4282-3" name="arrow-down" bind:__l="__l"></u-icon></view></view><u-picker vue-id="02cf4282-4" mode="selector" default-selector="{{[wormindex]}}" range="{{wormlist}}" value="{{pickertfworm}}" data-event-opts="{{[['^confirm',[['confirmFun2']]],['^input',[['__set_model',['','pickertfworm','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></view><view class="wormtime"><view class="wormtime_item"><image class="img" src="../../../static/images/cb/shijianqi.png" mode></image><view class="_p">始见期</view><view class="_p">{{timeobj.startTime}}</view></view><view class="wormtime_item"><image class="img" src="../../../static/images/cb/gaofengqi.png" mode></image><view class="_p">高峰期</view><view class="_p">{{timeobj.highTime}}</view><view class="_p">{{"数量:"+timeobj.highNum+"头"}}</view></view><view class="wormtime_item"><image class="img" src="../../../static/images/cb/zhongjianqi.png" mode></image><view class="_p">终见期</view><view class="_p">{{timeobj.endTime}}</view></view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="selecttimes" bindtap="__e"><view style="line-height:28px;">日期</view><view class="timesbox"><view class="_p">{{oldtime}}</view><view class="or _p">至</view><view class="_p">{{newtime}}</view></view><u-button vue-id="02cf4282-5" type="primary" text="归档时间" size="mini" data-event-opts="{{[['^click',[['e3']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">归档时间</u-button></view><view class="pickerBox"><u-calendar vue-id="02cf4282-6" mode="range" value="{{tiemshow}}" data-event-opts="{{[['^change',[['tiemchange']]],['^input',[['__set_model',['','tiemshow','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-calendar><u-select vue-id="02cf4282-7" mode="mutil-column" list="{{list}}" default-value="{{defaultValue}}" value="{{timeshow}}" data-event-opts="{{[['^confirm',[['Hourchange']]],['^input',[['__set_model',['','timeshow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select></view><view hidden="{{!(!tiemshow&&!timeshow&&!pickertfone&&!pickertfworm)}}" class="tendency"><canvas class="charts" style="{{'width:'+(cWidth*pixelRatio+'px')+';'+('height:'+(cHeight*pixelRatio+'px')+';')+('transform:'+('scale('+1/pixelRatio+')')+';')+('margin-left:'+(-cWidth*(pixelRatio-1)/2+'px')+';')+('margin-top:'+(-cHeight*(pixelRatio-1)/2+'px')+';')}}" canvas-id="canvasColumnA" id="canvasColumnA" disable-scroll="true" data-event-opts="{{[['touchstart',[['touchLineA',['$event']]]],['touchmove',[['moveLineA',['$event']]]],['touchend',[['touchEndLineA',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></view><view hidden="{{!(!tiemshow&&!timeshow&&!pickertfone&&!pickertfworm)}}" class="tendency"><canvas class="charts" style="{{'width:'+(cWidth*pixelRatio+'px')+';'+('height:'+(cHeight*pixelRatio+'px')+';')+('transform:'+('scale('+1/pixelRatio+')')+';')+('margin-left:'+(-cWidth*(pixelRatio-1)/2+'px')+';')+('margin-top:'+(-cHeight*(pixelRatio-1)/2+'px')+';')}}" canvas-id="canvasRing" id="canvasRing" data-event-opts="{{[['touchstart',[['touchRing',['$event']]]]]}}" bindtouchstart="__e"></canvas></view><view hidden="{{!(!tiemshow&&!timeshow&&!pickertfone&&!pickertfworm)}}" class="tendency_pro"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><view><label class="_span">{{index+1+"、"+item.$orig.name}}</label><u-line-progress vue-id="{{'02cf4282-8-'+index}}" active-color="{{colorlist[index%6]}}" percent="{{item.m0}}" show-percent="{{false}}" bind:__l="__l"></u-line-progress><label class="_span">{{item.m1+"%"}}</label></view></block></view><view hidden="{{!(!tiemshow&&!timeshow&&!pickertfone&&!pickertfworm)}}" class="tablebox"><view class="top_text"><block wx:for="{{toptext}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeindex',[index]]]]]}}" class="{{[topindex==index?'title_text_color':'tltle_text']}}" bindtap="__e"><label class="title_item _span">{{''+item+''}}</label></view></block></view><scroll-view class="scroll-X" scroll-top="0" scroll-x="true"><block wx:if="{{topindex==0}}"><view class="table _table"><view class="tr _tr"><block wx:for="{{thdata}}" wx:for-item="item" wx:for-index="index"><view class="th _th">{{item}}</view></block></view><block wx:for="{{$root.l1}}" wx:for-item="items" wx:for-index="indexs" wx:key="indexs"><view class="tr _tr"><view class="td _td">{{items.$orig.deviceId}}</view><view class="td _td">{{items.$orig.deviceName}}</view><view data-event-opts="{{[['tap',[['wormdetails',['$0'],[[['eqlistdata','',indexs,'pest_dict']]]]]]]}}" class="td _td" bindtap="__e">{{items.$orig.pestName}}</view><view class="td _td">{{items.f0}}</view><view class="td _td">{{items.$orig.location}}</view><view data-event-opts="{{[['tap',[['examine',['$0'],[[['eqlistdata','',indexs,'indentify_photo']]]]]]]}}" class="td _td" bindtap="__e">查看</view></view></block><block wx:if="{{forbidden1}}"><view class="tr _tr"><block wx:for="{{6}}" wx:for-item="item" wx:for-index="__i0__"><view class="td _td">暂无数据</view></block></view></block></view></block><block wx:else><view class="table2 _table"><view class="tr _tr"><block wx:for="{{thdata2}}" wx:for-item="item" wx:for-index="index"><view class="th _th">{{item}}</view></block></view><block wx:for="{{$root.l2}}" wx:for-item="items" wx:for-index="indexs" wx:key="indexs"><view class="tr _tr"><view class="td _td">{{items.$orig.pest_name}}</view><view class="td _td">{{items.$orig.pest_num}}</view><view class="td _td">{{items.f1}}</view></view></block><block wx:if="{{forbidden2}}"><view class="tr _tr"><block wx:for="{{6}}" wx:for-item="item" wx:for-index="__i1__"><view class="td _td">暂无数据</view></block></view></block></view></block></scroll-view><view class="pagenumber"><button disabled="{{page==1}}" data-event-opts="{{[['tap',[['prev',['$event']]]]]}}" bindtap="__e">上一页</button><view class="pagenumber_page">{{'第'+page+'页'}}</view><view class="pagenumber_page">{{'共 '+pagesum+' 页'}}</view><button disabled="{{page==pagesum}}" data-event-opts="{{[['tap',[['next',['$event']]]]]}}" bindtap="__e">下一页</button></view></view><u-modal bind:input="__e" vue-id="02cf4282-9" mask-close-able="{{true}}" title="24小时数据" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="modalbox"><block wx:for="{{pest_dict}}" wx:for-item="item" wx:for-index="key"><view class="_p">{{key+"--"+pest_dict[key]+"头"}}</view></block></view></u-modal></view></view>