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,8 +313,8 @@ | ||
313 | 313 | ||
314 | <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> | 314 | <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> |
315 | <view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> | 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 | <view class="modal-content"> | 318 | <view class="modal-content"> |
319 | <view class="flex"> | 319 | <view class="flex"> |
320 | <image src="{{userInfo.head_pic}}" class="hd_img"></image> | 320 | <image src="{{userInfo.head_pic}}" class="hd_img"></image> |
pages/user/index/index.wxss
@@ -537,11 +537,14 @@ | @@ -537,11 +537,14 @@ | ||
537 | 537 | ||
538 | .modal-body { | 538 | .modal-body { |
539 | position: fixed; | 539 | position: fixed; |
540 | - top: 80rpx; | 540 | + top: 0; |
541 | + bottom: 0; | ||
541 | left: 0; | 542 | left: 0; |
543 | + right: 0; | ||
544 | + margin: auto; | ||
542 | z-index: 100; | 545 | z-index: 100; |
543 | background: #fff; | 546 | background: #fff; |
544 | - margin-left: 73rpx; | 547 | + /* margin-left: 73rpx; */ |
545 | width: 600rpx; | 548 | width: 600rpx; |
546 | height: 860rpx; | 549 | height: 860rpx; |
547 | border-radius: 8px; | 550 | border-radius: 8px; |