1 line
2.2 KiB
Plaintext
1 line
2.2 KiB
Plaintext
<view class="device-detail data-v-3f992d11"><view class="tabback data-v-3f992d11"><view data-event-opts="{{[['tap',[['btnback',['$event']]]]]}}" class="rtjt data-v-3f992d11" bindtap="__e">←</view><view class="name data-v-3f992d11">{{$root.g0}}</view><view style="width:36rpx;" class="data-v-3f992d11"></view></view><view class="avatar-box data-v-3f992d11"><image class="avatar data-v-3f992d11" src="{{xqobj.productPicture||'https://api.ccttiot.com/smartmeter/img/static/uZiAQwh3lTliRkGXV3R0'}}" mode="aspectFill"></image><view data-event-opts="{{[['tap',[['btnrdit',['$event']]]]]}}" class="scan-btn data-v-3f992d11" bindtap="__e"><image src="https://api.ccttiot.com/smartmeter/img/static/uZiAQwh3lTliRkGXV3R0" mode="aspectFill" class="data-v-3f992d11"></image></view></view><view class="info-card data-v-3f992d11"><block wx:for="{{infoList}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view class="info-item data-v-3f992d11"><image class="{{['iconfont','info-icon','data-v-3f992d11',item.iconClass]}}" src="{{item.icon}}" mode="aspectFill"></image><view class="info-content data-v-3f992d11"><view class="info-title data-v-3f992d11">{{item.title}}</view><view class="info-status-row data-v-3f992d11"><block wx:if="{{item.type==='signal'}}"><view class="signal-bar data-v-3f992d11"><block wx:for="{{4}}" wx:for-item="n" wx:for-index="__i0__" wx:key="*this"><view class="{{['signal-block','data-v-3f992d11',(n<=item.signalLevel)?'active':'']}}"></view></block></view></block><block wx:else><text class="{{['info-status','data-v-3f992d11',item.valueClass]}}">{{item.value}}</text></block></view></view><block wx:if="{{item.valueClass=='red'}}"><image style="width:60rpx;height:60rpx;" src="https://api.ccttiot.com/smartmeter/img/static/uw31nuDEs8OOlS36kYE3" mode class="data-v-3f992d11"></image></block><block wx:if="{{idx!==$root.g1-1}}"><view class="divider data-v-3f992d11"></view></block></view></block></view><view class="device-summary data-v-3f992d11"><view class="data-v-3f992d11">{{(xqobj.productName||'--')+$root.g2}}</view><view class="data-v-3f992d11">{{$root.g3+" "+(xqobj.hardwareVersion||'--')}}</view><view class="data-v-3f992d11">{{$root.g4+" "+(xqobj.firmwareVersion||'--')}}</view><view class="data-v-3f992d11">{{$root.g5+(xqobj.mac||'--')}}</view></view></view> |