| | |
| | | </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" > |
| | | <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> --> |
| | |
| | | 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 |