| 1 |
- <view><view><view class="shuju_one"><view class="shuju_one_title"><block wx:for="{{titletext}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeindex',[index]]]]]}}" class="{{[titleidnex==index?'title_text_color':'tltle_text']}}" bindtap="__e">{{''+item+''}}</view></block></view><block wx:if="{{!canvastishiTF}}"><view class="canvastishi">暂无数据</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"><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.f0}}</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></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></view>
|