index.wxml 3.2 KB

1
  1. <view style="{{'padding:'+('10rpx 10rpx')+';'}}"><view class="card_time_row"><view class="time_picker"><view class="time_title">开始时间</view><uni-datetime-picker style="width:210rpx;" vue-id="5bc55f00-1" type="datetime" clear-icon="{{false}}" value="{{startTime}}" data-event-opts="{{[['^change',[['maskClick']]],['^input',[['__set_model',['','startTime','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker></view><view class="time_picker"><view class="time_title">结束时间</view><uni-datetime-picker style="width:210rpx;" vue-id="5bc55f00-2" type="datetime" clear-icon="{{false}}" value="{{endTime}}" data-event-opts="{{[['^change',[['maskClick']]],['^input',[['__set_model',['','endTime','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker></view></view><view class="card_layout"><view class="facility_card"><view class="card_title_name">名称</view><scroll-view class="scroll-view" style="{{'height:'+(leftHeight+'px')+';'}}" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadMore',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{tableData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item_title_name">{{''+item.name+''}}</view></block></scroll-view></view><view class="table_card_data"><uni-table class="vue-ref" vue-id="5bc55f00-3" loading="{{loading}}" border="{{true}}" emptyText="暂无更多数据" data-ref="table" bind:__l="__l" vue-slots="{{['default']}}"><uni-tr vue-id="{{('5bc55f00-4')+','+('5bc55f00-3')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-th vue-id="{{('5bc55f00-5')+','+('5bc55f00-4')}}" width="10" align="center" bind:__l="__l"></uni-th><uni-th vue-id="{{('5bc55f00-6')+','+('5bc55f00-4')}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">名称</uni-th><uni-th vue-id="{{('5bc55f00-7')+','+('5bc55f00-4')}}" width="40" align="center" bind:__l="__l" vue-slots="{{['default']}}">温度(℃)</uni-th><uni-th vue-id="{{('5bc55f00-8')+','+('5bc55f00-4')}}" width="40" align="center" bind:__l="__l" vue-slots="{{['default']}}">湿度(℃)</uni-th><uni-th vue-id="{{('5bc55f00-9')+','+('5bc55f00-4')}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">保存时间</uni-th></uni-tr><block wx:for="{{tableData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-tr vue-id="{{('5bc55f00-10-'+index)+','+('5bc55f00-3')}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-td vue-id="{{('5bc55f00-11-'+index)+','+('5bc55f00-10-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{index+1}}</uni-td><uni-td vue-id="{{('5bc55f00-12-'+index)+','+('5bc55f00-10-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.name}}</uni-td><uni-td vue-id="{{('5bc55f00-13-'+index)+','+('5bc55f00-10-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}"><view class="name">{{item.name}}</view></uni-td><uni-td vue-id="{{('5bc55f00-14-'+index)+','+('5bc55f00-10-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.name}}</uni-td><uni-td vue-id="{{('5bc55f00-15-'+index)+','+('5bc55f00-10-'+index)}}" align="center" bind:__l="__l" vue-slots="{{['default']}}">{{item.date}}</uni-td></uni-tr></block></uni-table></view></view></view>