Showing
1 changed file
with
8 additions
and
3 deletions
| @@ -46,13 +46,16 @@ | @@ -46,13 +46,16 @@ | ||
| 46 | </u--form> | 46 | </u--form> |
| 47 | </view> | 47 | </view> |
| 48 | <view class="basic-bottom u-flex"> | 48 | <view class="basic-bottom u-flex"> |
| 49 | - <view class="item" v-if="info.data.isThirdLoginAndNoDind"> | 49 | + <view class="item" v-if="info.data.isThirdLoginAndNoDind && isJudgeBindBtn"> |
| 50 | <button class="submit" size="default" @click="clearAccountFunc" :style="{ background: InfoColor }"><text class="un-bind-text">解绑</text></button> | 50 | <button class="submit" size="default" @click="clearAccountFunc" :style="{ background: InfoColor }"><text class="un-bind-text">解绑</text></button> |
| 51 | </view> | 51 | </view> |
| 52 | <view | 52 | <view |
| 53 | class="item" | 53 | class="item" |
| 54 | style="margin-right: 60rpx;" | 54 | style="margin-right: 60rpx;" |
| 55 | - :style="[{ position: info.data.isThirdLoginAndNoDind ? '' : 'relative' }, { right: info.data.isThirdLoginAndNoDind ? '' : '-190rpx' }]" | 55 | + :style="[ |
| 56 | + { position: info.data.isThirdLoginAndNoDind && isJudgeBindBtn ? '' : 'relative' }, | ||
| 57 | + { right: info.data.isThirdLoginAndNoDind && isJudgeBindBtn ? '' : '-190rpx' } | ||
| 58 | + ]" | ||
| 56 | > | 59 | > |
| 57 | <button class="submit" size="default" @click="onSubmitFunc" :style="{ background: PrimaryColor }"><text class="un-bind-text">确认</text></button> | 60 | <button class="submit" size="default" @click="onSubmitFunc" :style="{ background: PrimaryColor }"><text class="un-bind-text">确认</text></button> |
| 58 | </view> | 61 | </view> |
| @@ -100,7 +103,8 @@ export default { | @@ -100,7 +103,8 @@ export default { | ||
| 100 | id: '', | 103 | id: '', |
| 101 | info: {}, | 104 | info: {}, |
| 102 | openIds: '', | 105 | openIds: '', |
| 103 | - isUpdatePersonOrLoginInfo: false | 106 | + isUpdatePersonOrLoginInfo: false, |
| 107 | + isJudgeBindBtn: true | ||
| 104 | }; | 108 | }; |
| 105 | }, | 109 | }, |
| 106 | onLoad(e) { | 110 | onLoad(e) { |
| @@ -141,6 +145,7 @@ export default { | @@ -141,6 +145,7 @@ export default { | ||
| 141 | title: '解绑成功' | 145 | title: '解绑成功' |
| 142 | }); | 146 | }); |
| 143 | this.showBind = false; | 147 | this.showBind = false; |
| 148 | + this.isJudgeBindBtn = false; | ||
| 144 | } else { | 149 | } else { |
| 145 | uni.showToast({ | 150 | uni.showToast({ |
| 146 | title: '解绑失败' | 151 | title: '解绑失败' |