1 |
- <view class="content"><view class="tabs"><u-tabs vue-id="a0b2cb3c-1" list="{{tabList}}" lineWidth="30" lineColor="#02A7F0" activeStyle="{{({color:'#02A7F0',fontWeight:'bold',transform:'scale(1.05)'})}}" inactiveStyle="{{({color:'#000000',transform:'scale(1)'})}}" itemStyle="height: 50px; width: 33.3%;padding:0;border-bottom:1px solid #a0a0a0" data-event-opts="{{[['^click',[['change']]]]}}" bind:click="__e" bind:__l="__l"></u-tabs></view><u-skeleton vue-id="a0b2cb3c-2" animate="{{true}}" rows="17" title="{{true}}" loading="{{loading_skeleton}}" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="{{('height:'+wh+'px;')}}" scroll-y="true" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><u-swipe-action vue-id="{{('a0b2cb3c-3')+','+('a0b2cb3c-2')}}" btn-width="500" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-swipe-action-item vue-id="{{('a0b2cb3c-4-'+index)+','+('a0b2cb3c-3')}}" options="{{options1}}" data-event-opts="{{[['^click',[['click',['$0'],[[['productList','',index,'id']]]]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="list-items"><view data-event-opts="{{[['tap',[['toText',['$0'],[[['productList','',index]]]]]]]}}" class="list-item" bindtap="__e"><view class="left"><view class="icon"><block wx:if="{{item.$orig.type!==0}}"><u-icon vue-id="{{('a0b2cb3c-5-'+index)+','+('a0b2cb3c-4-'+index)}}" name="lock-opened-fill" color="#3c9cff" size="25" bind:__l="__l"></u-icon></block><block wx:else><u-icon vue-id="{{('a0b2cb3c-6-'+index)+','+('a0b2cb3c-4-'+index)}}" name="eye-fill" color="#3c9cff" size="25" bind:__l="__l"></u-icon></block></view><view class="msg"><view class="id">{{''+item.$orig.deviceId+''}}</view><view class="type"><text style="margin-right:5px;">{{item.f0}}</text><text>{{"信号值:"+item.$orig.signalNum}}</text></view></view></view><view data-event-opts="{{[['tap',[['textBtn',['$0'],[[['productList','',index]]]]]]]}}" class="button" catchtap="__e"><block wx:if="{{item.$orig.type==0}}"><u-button vue-id="{{('a0b2cb3c-7-'+index)+','+('a0b2cb3c-4-'+index)}}" type="primary" size="small" bind:__l="__l" vue-slots="{{['default']}}">风鸣</u-button></block><block wx:else><u-button vue-id="{{('a0b2cb3c-8-'+index)+','+('a0b2cb3c-4-'+index)}}" type="primary" size="small" bind:__l="__l" vue-slots="{{['default']}}">开门</u-button></block></view></view></view></u-swipe-action-item></block></u-swipe-action></scroll-view></u-skeleton><view class="btn"><u-button vue-id="a0b2cb3c-9" size="large" type="primary" data-event-opts="{{[['^click',[['search']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">点击进行蓝牙设备搜索</u-button></view><view data-event-opts="{{[['tap',[['scan',['$event']]]]]}}" class="scan" bindtap="__e"><image style="width:100rpx;height:80rpx;" src="{{$root.m0}}" alt class="_img"></image></view></view>
|