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