gshistory.wxml 3.3 KB

1
  1. <view><view class="status_bar"></view><view style="position:relative;top:40px;"><view style="position:fixed;z-index:10000000;width:100%;background-color:#000000;"><uni-nav-bar vue-id="ebf7ae3a-1" left-icon="back" left-text="返回" title="历史数据" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar></view></view><view style="position:relative;top:100px;"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="selecttimes" bindtap="__e"><view class="timesbox"><image src="http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/1acfe2751c01d3786cdc49b83d7e505.png" mode></image><view class="_p">{{$root.m0}}</view><view class="or _p">~</view><view class="_p">{{$root.m1}}</view><u-icon class="icon" vue-id="ebf7ae3a-2" name="rili" custom-prefix="custom-icon" bind:__l="__l"></u-icon></view><u-calendar vue-id="ebf7ae3a-3" 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></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><canvas hidden="{{!(!tiemshow)}}" 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 class="condition"><scroll-view class="scroll-X" scroll-top="0" scroll-x="true"><view class="table _table" style="{{'width:'+(300*$root.g0+'rpx')+';'}}"><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.f0}}</view><view class="td _td">{{items.$orig.ats}}</view><view class="td _td">{{items.$orig.at}}</view><block wx:for="{{items.$orig.temp}}" wx:for-item="item" wx:for-index="index"><view class="td _td">{{item}}</view></block><block wx:for="{{items.$orig.swc}}" wx:for-item="item" wx:for-index="index"><view class="td _td">{{item}}</view></block><view class="td _td">{{items.$orig.atm}}</view></view></block></block><block wx:if="{{forbidden}}"><view class="tr _tr"><block wx:for="{{13}}" wx:for-item="item" wx:for-index="__i0__"><view class="td _td">暂无数据</view></block></view></block></view></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 data-event-opts="{{[['tap',[['next',['$event']]]]]}}" bindtap="__e">下一页</button></view></view></view></view>