1 line
1.7 KiB
Plaintext
1 line
1.7 KiB
Plaintext
<view class="room-tab data-v-483cf127"><view class="room-content data-v-483cf127"><scroll-view class="room-list data-v-483cf127" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{isRefreshing}}" refresher-default-style="black" data-event-opts="{{[['scrolltolower',[['handqixing',['$event']]]],['refresherrefresh',[['onRefresh',['$event']]]]]}}" bindscrolltolower="__e" bindrefresherrefresh="__e"><block wx:for="{{roomList}}" wx:for-item="room" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleRoomClick',['$0'],[[['roomList','',index]]]]]]]}}" class="room-item data-v-483cf127" bindtap="__e"><view class="room-image-placeholder data-v-483cf127"><image src="{{room.picture}}" mode="aspectFill" class="data-v-483cf127"></image></view><view class="room-info data-v-483cf127"><text class="room-name data-v-483cf127">{{room.name}}</text></view><view class="room-actions data-v-483cf127"><text data-event-opts="{{[['tap',[['btnedit',['$0'],[[['roomList','',index]]]]]]]}}" class="settings-icon data-v-483cf127" catchtap="__e">⚙️</text><text class="arrow-icon data-v-483cf127">›</text></view></view></block><block wx:if="{{$root.g0==0}}"><view style="margin:auto;margin-top:50rpx;width:272rpx;height:272rpx;border-radius:50%;border:1px solid #ccc;" class="data-v-483cf127"><image style="width:272rpx;height:272rpx;" src="https://api.ccttiot.com/smartmeter/img/static/umA124Tcq2VMMgwye048" mode class="data-v-483cf127"></image></view></block><view data-event-opts="{{[['tap',[['showAddRoomModal',['$event']]]]]}}" class="add-device-btn data-v-483cf127" bindtap="__e"><text class="add-icon data-v-483cf127">+</text><text class="add-text data-v-483cf127">{{$root.g1}}</text></view></scroll-view></view></view> |