| | |
| | | <yk-authpup ref="authpup" type="top" @changeAuth="changeAuth" noticeTitle="便于您使用该功能上传您的照片用于核实身份场景中读取相册内容" permissionID="WRITE_EXTERNAL_STORAGE"></yk-authpup> |
| | | <yk-authpup ref="camears" type="top" @changeAuth="changeAuth2" noticeTitle="便于您使用该功能便于您拍摄上传用于核实身份场景" permissionID="CAMERA"></yk-authpup> |
| | | <view class="profile"> |
| | | <view class="profile-item"> |
| | | <!-- <view class="profile-item"> |
| | | <text class="label">头像(点击更换)</text> |
| | | <view class="" @tap="setImg"> |
| | | <image :src="$baseUrl + userInfo.avatar" mode=""></image> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="profile-item"> |
| | | <text class="label">姓名</text> |
| | | <view class=""> |
| | |
| | | <input type="text" disabled v-model="userInfo.idcard" placeholder="请输入身份证" /> |
| | | </view> |
| | | </view> |
| | | <view class="profile-item"> |
| | | <!-- <view class="profile-item"> |
| | | <text class="label">总余额</text> |
| | | <view class=""> |
| | | <input type="text" disabled v-model="userInfo.edu" placeholder="请输入可用额度" /> |
| | |
| | | <switch @change="equityOpen" v-if="userInfo.equity_open == 1" checked color="#e3b400" style="transform:scale(0.7)"/> |
| | | <switch @change="equityOpen" v-else color="#e3b400" style="transform:scale(0.7)"/> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view class="logout" @tap="logOut">退出登录</view> |
| | | <view class="logout red" @tap="logOff">注销账号</view> |
| | |
| | | }) |
| | | }, |
| | | logOut () { |
| | | uni.setStorageSync('lzsc-token', null) |
| | | uni.setStorageSync('pig-token', null) |
| | | uni.setStorageSync('user-info', null) |
| | | uni.setStorageSync('choose-address',null) |
| | | uni.setStorageSync('choose-bank',null) |