| | |
| | | </view> |
| | | |
| | | <view class="center-wrapper"> |
| | | <view class="center-view"> |
| | | <view class="center-view" bind:tap="recharge"> |
| | | <image src="/images/wallet.svg" /> |
| | | <text>充值</text> |
| | | </view> |
| | |
| | | <image src="/images/valva.svg" /> |
| | | <text>开阀</text> |
| | | </view> |
| | | <view class="center-view"> |
| | | <view class="center-view" bind:tap="openValveList"> |
| | | <image src="/images/record.svg" /> |
| | | <text>开关阀记录</text> |
| | | </view> |
| | | <view class="center-view"> |
| | | <view class="center-view" bind:tap="feedBack"> |
| | | <image src="/images/question.svg" /> |
| | | <text>问题反馈</text> |
| | | </view> |
| | |
| | | <view class="list-item" wx:for="{{listData}}" wx:for-item="item" wx:for-index="index"> |
| | | <view class="item-left"> |
| | | <!-- <image class="item-img" src="/images/pipeline.svg" /> --> |
| | | <text>{{item.name}}</text> |
| | | <image class="item-img" src="/images/wifi_no.svg" /> |
| | | <text>{{item.intakeNum}}</text> |
| | | <image class="item-img" src="{{item.isOnLine ? '/images/wifi_no.svg' : '/images/wifi_off.svg'}}" /> |
| | | </view> |
| | | <view> |
| | | <t-switch class="switch" bindchange="handleChange" value="{{true}}" label="{{['开', '关']}}" slot="note" /> |
| | | <t-switch wx:if="{{item.isOnLine }}" class="switch" data-item="{{item}}" bindchange="handleChange" value="{{true}}" label="{{['开', '关']}}" slot="note" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | <t-dialog class="t-dialog" visible="{{showConfirm}}" content="确认关闭{{waterIntakeName}}吗?" confirm-btn="{{ { content: '确认', variant: 'base', theme: 'danger' } }}" close-on-overlay-click="false" cancel-btn="取消" bind:confirm="confirmDialog" bind:cancel="closeDialog" /> |
| | | |
| | | </view> |