| | |
| | | |
| | | <view class="head-wrapper"> |
| | | <view class="head-top"> |
| | | <t-avatar class="avatar-example" image="{{image}}" size="120rpx" bind:tap="handleAvatarTap" /> |
| | | <view class="avatar-project-container"> |
| | | |
| | | <t-avatar class="avatar-example" image="{{image}}" size="120rpx" bind:tap="handleAvatarTap" /> |
| | | <view class="current-project"> |
| | | <text>{{ projectConfig[selectedProject].displayName }}</text> |
| | | <view class="switch-project" bind:tap="switchProject"> |
| | | <image class="switch-icon" src="/images/switch.svg" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="head-text-wrapper"> |
| | | <text bind:tap="wxLogin">{{userName}}</text> |
| | | <text class="head-bottom">{{userPhone}}</text> |
| | |
| | | </view> |
| | | |
| | | <view class="center-wrapper"> |
| | | <view class="center-view" bind:tap="recharge"> |
| | | <image src="/images/wallet.svg" /> |
| | | <text>充值</text> |
| | | </view> |
| | | <view class="center-view" bind:tap="openValve"> |
| | | <image src="/images/valva.svg" /> |
| | | <text>开阀</text> |
| | | </view> |
| | | <view class="center-view" bind:tap="openValveList"> |
| | | <image src="/images/record.svg" /> |
| | | <text>开关阀记录</text> |
| | | </view> |
| | | <view class="center-view" bind:tap="irrigation"> |
| | | <image src="/images/irrigation.svg" /> |
| | | <text>轮灌</text> |
| | | <view class="center-grid"> |
| | | <view class="grid-item" bind:tap="monitor"> |
| | | <view class="item-icon"> |
| | | <image src="/images/monitor.svg" /> |
| | | </view> |
| | | <text class="item-text">综合站监测</text> |
| | | </view> |
| | | |
| | | <view class="grid-item" bind:tap="openValve"> |
| | | <view class="item-icon"> |
| | | <image src="/images/valva.svg" /> |
| | | </view> |
| | | <text class="item-text">开阀</text> |
| | | </view> |
| | | |
| | | <view class="grid-item" bind:tap="openValveList"> |
| | | <view class="item-icon"> |
| | | <image src="/images/record.svg" /> |
| | | </view> |
| | | <text class="item-text">开关阀记录</text> |
| | | </view> |
| | | |
| | | <view class="grid-item" bind:tap="irrigation"> |
| | | <view class="item-icon"> |
| | | <image src="/images/irrigation.svg" /> |
| | | </view> |
| | | <text class="item-text">轮灌</text> |
| | | </view> |
| | | |
| | | <view class="grid-item" bind:tap="modeCompute"> |
| | | <view class="item-icon"> |
| | | <image src="/images/mode.svg" /> |
| | | </view> |
| | | <text class="item-text">模型计算</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <view class="project-modal-body"> |
| | | <scroll-view scroll-y class="project-scroll-view"> |
| | | <radio-group class="project-radio-group" bindchange="onProjectChange"> |
| | | <label wx:for="{{projectList}}" wx:key="index" class="project-radio {{selectedProject === item.key ? 'project-radio-selected' : ''}}"> |
| | | <radio value="{{item.key}}" checked="{{selectedProject === item.key}}" color="#1890FF" /> |
| | | <label wx:for="{{projectList}}" wx:key="index" class="project-radio {{(tempSelectedProject || selectedProject) === item.key ? 'project-radio-selected' : ''}}"> |
| | | <radio value="{{item.key}}" checked="{{(tempSelectedProject || selectedProject) === item.key}}" color="#1890FF" /> |
| | | <text>{{item.displayName}}</text> |
| | | </label> |
| | | </radio-group> |