个人绑定失败
Showing
2 changed files
with
13 additions
and
11 deletions
| ... | @@ -969,7 +969,7 @@ function handleDelete(row) { | ... | @@ -969,7 +969,7 @@ function handleDelete(row) { |
| 969 | box-sizing: border-box; | 969 | box-sizing: border-box; |
| 970 | 970 | ||
| 971 | &.dropdown-open-page { | 971 | &.dropdown-open-page { |
| 972 | padding-bottom: calc(420rpx + env(safe-area-inset-bottom)); | 972 | padding-bottom: calc(490rpx + env(safe-area-inset-bottom)); |
| 973 | } | 973 | } |
| 974 | } | 974 | } |
| 975 | 975 | ||
| ... | @@ -1428,7 +1428,7 @@ function handleDelete(row) { | ... | @@ -1428,7 +1428,7 @@ function handleDelete(row) { |
| 1428 | justify-content: space-around; | 1428 | justify-content: space-around; |
| 1429 | align-items: center; | 1429 | align-items: center; |
| 1430 | padding-top: 60rpx; | 1430 | padding-top: 60rpx; |
| 1431 | padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); | 1431 | padding-bottom: calc(10rpx + env(safe-area-inset-bottom)); |
| 1432 | background: #fff; | 1432 | background: #fff; |
| 1433 | border-top: 1rpx solid #f0f0f0; | 1433 | border-top: 1rpx solid #f0f0f0; |
| 1434 | 1434 | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <view class="page-container"> | 2 | <view class="page-container"> |
| 3 | <!-- 会员卡区域 --> | 3 | <!-- 会员卡区域 --> |
| 4 | <view class="member-card"> | 4 | <view class="member-card"> |
| ... | @@ -365,16 +365,18 @@ const confirmBind = async () => { | ... | @@ -365,16 +365,18 @@ const confirmBind = async () => { |
| 365 | idcCode: bindForm.value.idcCode | 365 | idcCode: bindForm.value.idcCode |
| 366 | })) | 366 | })) |
| 367 | uni.hideLoading() | 367 | uni.hideLoading() |
| 368 | // if (res.data != 1) { | 368 | if(res?.data == '1'){ |
| 369 | // // handelGo() | ||
| 370 | // closeBindPopup() | ||
| 371 | // } else { | ||
| 372 | uni.showToast({ | ||
| 373 | title: '绑定成功', | ||
| 374 | icon: 'success' | ||
| 375 | }) | ||
| 376 | closeBindPopup() | 369 | closeBindPopup() |
| 377 | await getWebInfo() | 370 | await getWebInfo() |
| 371 | }else{ | ||
| 372 | uni.showToast({ | ||
| 373 | title: res?.data || '绑定失败', | ||
| 374 | icon: null, | ||
| 375 | duration: 3000 | ||
| 376 | }) | ||
| 377 | } | ||
| 378 | |||
| 379 | |||
| 378 | // } | 380 | // } |
| 379 | if (err) { | 381 | if (err) { |
| 380 | console.log(err) | 382 | console.log(err) | ... | ... |
-
Please register or sign in to post a comment