| | |
| | | <view class="direc"></view> |
| | | <view class="dept-per">执法人员</view> |
| | | </view> |
| | | <view class="dept-name"> |
| | | <view class="dept-name u-line-1"> |
| | | {{userInfo.data.dept.deptName}} |
| | | </view> |
| | | </view> |
| | |
| | | <u-icon name="arrow-right"></u-icon> |
| | | </view> |
| | | </view> |
| | | <view class="logout"> |
| | | <view class="logout" @click="logOut"> |
| | | 退出登录 |
| | | </view> |
| | | </view> |
| | |
| | | methods: { |
| | | goChangePhone() { |
| | | uni.navigateTo({ |
| | | url: '/policy/changePhone/changePhone' |
| | | url: `/policy/changePhone/changePhone?code=${this.userInfo.data.userType}` |
| | | }) |
| | | }, |
| | | logOut() { |
| | | uni.showModal({ |
| | | title: '提示', |
| | | content: '确认退出登录?', |
| | | success: res => { |
| | | if(res.confirm) { |
| | | uni.clearStorageSync() |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | .user-info{ |
| | | margin-left: 24rpx; |
| | | color: white; |
| | | width: calc(100% - 108rpx); |
| | | .user-name{ |
| | | display: flex; |
| | | justify-content: flex-start; |
| | |
| | | width: calc(100% - 64rpx); |
| | | left: 32rpx; |
| | | position: fixed; |
| | | bottom: 180rpx; |
| | | bottom: 220rpx; |
| | | } |
| | | .inckname{ |
| | | font-size: 36rpx; |