Commit c6f90d07bf49cfca7cac0da942aa7a013ecf7902
1 parent
6821ba5f
会员中心 二维码窗口滚动问题修改
Showing
2 changed files
with
7 additions
and
4 deletions
pages/user/index/index.wxml
| ... | ... | @@ -313,8 +313,8 @@ |
| 313 | 313 | |
| 314 | 314 | <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> |
| 315 | 315 | <view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> |
| 316 | - <view class="modal-box" hidden="{{flag}}" bindtap="hide"></view> | |
| 317 | - <view class="modal-body"> | |
| 316 | + <view class="modal-box" hidden="{{flag}}" bindtap="hide" catchtouchmove="true"></view> | |
| 317 | + <view class="modal-body" catchtouchmove="true"> | |
| 318 | 318 | <view class="modal-content"> |
| 319 | 319 | <view class="flex"> |
| 320 | 320 | <image src="{{userInfo.head_pic}}" class="hd_img"></image> | ... | ... |
pages/user/index/index.wxss
| ... | ... | @@ -537,11 +537,14 @@ |
| 537 | 537 | |
| 538 | 538 | .modal-body { |
| 539 | 539 | position: fixed; |
| 540 | - top: 80rpx; | |
| 540 | + top: 0; | |
| 541 | + bottom: 0; | |
| 541 | 542 | left: 0; |
| 543 | + right: 0; | |
| 544 | + margin: auto; | |
| 542 | 545 | z-index: 100; |
| 543 | 546 | background: #fff; |
| 544 | - margin-left: 73rpx; | |
| 547 | + /* margin-left: 73rpx; */ | |
| 545 | 548 | width: 600rpx; |
| 546 | 549 | height: 860rpx; |
| 547 | 550 | border-radius: 8px; | ... | ... |