| | |
| | | |
| | | <view class="head-wrapper"> |
| | | <view class="head-top"> |
| | | <t-avatar class="avatar-example" image="{{image}}" size="120rpx" /> |
| | | <t-avatar class="avatar-example" image="{{image}}" size="120rpx" bind:tap="handleAvatarTap" /> |
| | | <view class="head-text-wrapper"> |
| | | <text>{{userName}}</text> |
| | | <text bind:tap="wxLogin">{{userName}}</text> |
| | | <text class="head-bottom">{{userPhone}}</text> |
| | | </view> |
| | | <view class="head-button-wrapper"> |
| | |
| | | </view> |
| | | <view class="center-view" bind:tap="feedBack"> |
| | | <image src="/images/question.svg" /> |
| | | <text>问题反馈</text> |
| | | <text>轮灌</text> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <t-dialog class="error-dialog" title="{{errorDialogTitle}}" visible="{{showErrorDialog}}" content="{{errorData}}" confirm-btn="{{ confirmBtn }}" bind:confirm="closeDialog" /> |
| | | <t-dialog visible="{{showForceConfirm}}" content="当前虚拟卡被占用,是否强制开阀?" confirm-btn="{{ { content: '强制开阀', variant: 'base', theme: 'danger' } }}" cancel-btn="取消" bind:confirm="confirmForceDialog" bind:cancel="cancelDialog" /> |
| | | |
| | | <!-- 使用微信原生弹窗组件 --> |
| | | <view class="project-modal" wx:if="{{showProjectDialog}}"> |
| | | <view class="project-modal-mask"></view> |
| | | <view class="project-modal-content"> |
| | | <view class="project-modal-header"> |
| | | <text class="project-modal-title">请选择项目</text> |
| | | </view> |
| | | <view class="project-modal-body"> |
| | | |
| | | <radio-group class="project-radio-group" bindchange="onProjectChange"> |
| | | <label class="project-radio {{selectedProject === 'JYG' ? 'project-radio-selected' : ''}}"> |
| | | <radio value="JYG" checked="{{selectedProject === 'JYG'}}" color="#1890FF" /> |
| | | <text>嘉峪关项目</text> |
| | | </label> |
| | | <label class="project-radio {{selectedProject === 'MQ' ? 'project-radio-selected' : ''}}"> |
| | | <radio value="MQ" checked="{{selectedProject === 'MQ'}}" color="#1890FF" /> |
| | | <text>民勤项目</text> |
| | | </label> |
| | | </radio-group> |
| | | </view> |
| | | <view class="project-modal-footer"> |
| | | <button class="project-modal-btn" disabled="{{!selectedProject}}" bindtap="handleProjectConfirm">确认</button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | </view> |