historydatas.wxml 4.1 KB

1
  1. <view><view><view class="timeandtype"><view class="timebox"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="firsttime" bindtap="__e"><block wx:if="{{start_time!=''}}"><view>{{''+$root.f0+''}}</view></block><block wx:else><view>{{''+(start_time==""?'请选择开始时间':start_time)+''}}</view></block></view><view class="jiange">-</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="endtime" bindtap="__e"><block wx:if="{{end_time!=''}}"><view>{{''+$root.f1+''}}</view></block><block wx:else><view>{{''+(end_time==""?'请选择结束时间':end_time)+''}}</view></block></view></view></view><view class="shuju_one"><block wx:if="{{!canvastishiTF&&!dataloadingtf}}"><view class="canvastishi">暂无数据</view></block><block wx:if="{{dataloadingtf}}"><view class="canvastishi"><view class="dataloading _p">加载中</view></view></block><block wx:if="{{canvastishiTF}}"><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></block></view><view data-event-opts="{{[['tap',[['refresh',['$event']]]]]}}" class="refresh" bindtap="__e">刷 新</view><view class="condition"><scroll-view class="scroll-X" scroll-top="0" scroll-x="true"><block wx:if="{{$root.m0}}"><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.l0}}" wx:for-item="items" wx:for-index="indexs"><block wx:if="{{!forbidden}}"><view class="tr _tr"><view class="td _td">{{items.f2}}</view><view class="td _td">{{items.$orig.at==""?"--":items.$orig.at}}</view><view class="td _td">{{items.$orig.ah==""?"--":items.$orig.ah}}</view><view class="td _td">{{items.$orig.warn==""?"--":items.$orig.warn}}</view><view class="td _td">{{items.$orig.b_V==""?"--":items.$orig.b_V}}</view><view class="td _td">{{items.$orig.b_c==""?"--":items.$orig.b_c}}</view><view class="td _td">{{items.$orig.p_v==""?"--":items.$orig.p_v}}</view><view class="td _td">{{items.$orig.p_c==""?"--":items.$orig.p_c}}</view></view></block></block><block wx:if="{{forbidden}}"><view class="tr _tr"><block wx:for="{{8}}" wx:for-item="item" wx:for-index="__i0__"><view class="td _td">暂无数据</view></block></view></block></view></block><block wx:else><view class="thdata2 _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.l1}}" wx:for-item="items" wx:for-index="indexs"><block wx:if="{{!forbidden}}"><view class="tr _tr"><view class="td _td">{{items.f3}}</view><view class="td _td">{{items.$orig.at==""?"--":items.$orig.at}}</view><view class="td _td">{{items.$orig.ah==""?"--":items.$orig.ah}}</view><view class="td _td">{{items.$orig.warn==""?"--":items.$orig.warn}}</view></view></block></block><block wx:if="{{forbidden}}"><view class="tr _tr"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="__i1__"><view class="td _td">暂无数据</view></block></view></block></view></block></scroll-view><view class="pagenumber"><button data-event-opts="{{[['tap',[['prev',['$event']]]]]}}" bindtap="__e">上一页</button><view class="pagenumber_page">{{'第 '+page+' 页'}}</view><view class="pagenumber_page">{{'共 '+pagesum+' 页'}}</view><button disabled="{{forbidden}}" data-event-opts="{{[['tap',[['next',['$event']]]]]}}" bindtap="__e">下一页</button></view></view></view><u-calendar vue-id="403ef064-1" mode="{{mode}}" value="{{timeshow}}" data-event-opts="{{[['^change',[['timechange']]],['^input',[['__set_model',['','timeshow','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-calendar></view>