| | |
| | | </view> |
| | | <view class="info-box-head-info" v-if="isLogin"> |
| | | <view class="info-box-head-info-name" @click="jump(1)">{{userInfo.nickName||'匿名'}}</view> |
| | | <view class="info-box-head-info-type"> |
| | | <view class="info-box-head-info-type-val">{{userInfo.useIdentity==1?'用工接单方':'用工发布方'}}</view> |
| | | <view class="info-box-head-info-type-wz" @click="editUseIdentity">切换</view> |
| | | <view class="info-box-head-info-type" > |
| | | <view class="info-box-head-info-type-val1" v-if="userInfo.useIdentity==1">用工接单方</view> |
| | | <view class="info-box-head-info-type-val" v-else>用工发布方</view> |
| | | <!-- <view class="info-box-head-info-type-wz" @click="editUseIdentity">切换</view> --> |
| | | </view> |
| | | </view> |
| | | <view class="info-box-head-info" v-else @click="jump(5)"> |
| | |
| | | <view class="info-box-head-info-type"> |
| | | <view class="info-box-head-info-type-wz">微信授权登录</view> |
| | | </view> |
| | | </view> |
| | | <view class="info-box-head-qiehuan" @click="editUseIdentity"> |
| | | <image src="/static/icon/ic_change@2x.png" mode="widthFix"></image> |
| | | <text>切换身份</text> |
| | | </view> |
| | | </view> |
| | | <view class="info-box-label">账户余额</view> |
| | |
| | | changing1:false, |
| | | autoReceiveStatus: false, |
| | | isLogin:false, |
| | | useIdentity:0 |
| | | useIdentity:0, |
| | | qrcode:'' |
| | | } |
| | | }, |
| | | onShow(options){ |
| | |
| | | that.changing1 = false |
| | | }) |
| | | } , |
| | | saoyisao(){ |
| | | var that =this |
| | | // 允许从相机和相册扫码 |
| | | wx.scanCode({ |
| | | // scanType:['barCode'], |
| | | success (res) { |
| | | that.qrcode =res.result |
| | | console.log(res) |
| | | }, |
| | | fail(e){ |
| | | console.error(e) |
| | | } |
| | | }) |
| | | }, |
| | | updateMemberInfo(e) { |
| | | if(this.changing){ |
| | | return |
| | |
| | | width: 100%; |
| | | height: 108rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | margin-bottom: 30rpx; |
| | | .info-box-head-image { |
| | | width: 108rpx; |
| | |
| | | margin-right: 24rpx; |
| | | image { |
| | | width: 100%; |
| | | } |
| | | } |
| | | .info-box-head-qiehuan { |
| | | flex-shrink: 0; |
| | | display: flex; |
| | | image { |
| | | width: 32rpx; |
| | | height: 32rpx; |
| | | margin-right: 10rpx; |
| | | } |
| | | text { |
| | | font-weight: 400; |
| | | font-size: 28rpx; |
| | | color: #00BC12; |
| | | } |
| | | } |
| | | .info-box-head-info { |
| | |
| | | border: 2rpx solid #FD9E24; |
| | | margin-right: 20rpx; |
| | | } |
| | | .info-box-head-info-type-val1 { |
| | | width: 144rpx; |
| | | height: 42rpx; |
| | | line-height: 42rpx; |
| | | text-align: center; |
| | | background: rgba(91,190,56,0.06); |
| | | border-radius: 8rpx; |
| | | font-weight: 400; |
| | | font-size: 24rpx; |
| | | color: #00BC12; |
| | | border: 2rpx solid #00BC12; |
| | | margin-right: 20rpx; |
| | | } |
| | | .info-box-head-info-type-wz { |
| | | font-weight: 400; |
| | | font-size: 24rpx; |