| | |
| | | |
| | | <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> |
| | | </view> |
| | | <view class="head-text-wrapper"> |
| | | <text bind:tap="wxLogin">{{userName}}</text> |
| | | <text class="head-bottom">{{userPhone}}</text> |
| | |
| | | <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> |