Commit 2100b71ab6b01018f56aff16b6b77dccda84d223
1 parent
c442304e
优化
Showing
2 changed files
with
7 additions
and
4 deletions
packageG/pages/user/userinfo/userinfo.wxml
@@ -297,8 +297,8 @@ | @@ -297,8 +297,8 @@ | ||
297 | 297 | ||
298 | <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> | 298 | <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> |
299 | <view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> | 299 | <view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> |
300 | - <view class="modal-box" hidden="{{flag}}" bindtap="hide"></view> | ||
301 | - <view class="modal-body"> | 300 | + <view catchtouchmove="true" class="modal-box" hidden="{{flag}}" bindtap="hide"></view> |
301 | + <view class="modal-body" catchtouchmove="true"> | ||
302 | <view class="modal-content"> | 302 | <view class="modal-content"> |
303 | <view class="flex"> | 303 | <view class="flex"> |
304 | <image src="{{user.head_pic}}" class="hd_img"></image> | 304 | <image src="{{user.head_pic}}" class="hd_img"></image> |
packageG/pages/user/userinfo/userinfo.wxss
@@ -201,15 +201,18 @@ input { | @@ -201,15 +201,18 @@ input { | ||
201 | top: 0px; | 201 | top: 0px; |
202 | background: rgba(0, 0, 0, 0.4); | 202 | background: rgba(0, 0, 0, 0.4); |
203 | overflow: hidden; | 203 | overflow: hidden; |
204 | + z-index: 9; | ||
204 | } | 205 | } |
205 | 206 | ||
206 | .modal-body { | 207 | .modal-body { |
207 | position: fixed; | 208 | position: fixed; |
208 | - top: 80rpx; | 209 | + top: 0; |
209 | left: 0; | 210 | left: 0; |
211 | + bottom: 0; | ||
212 | + right: 0; | ||
210 | z-index: 100; | 213 | z-index: 100; |
211 | background: #fff; | 214 | background: #fff; |
212 | - margin-left: 73rpx; | 215 | + margin: auto; |
213 | width: 600rpx; | 216 | width: 600rpx; |
214 | height: 860rpx; | 217 | height: 860rpx; |
215 | border-radius: 8px; | 218 | border-radius: 8px; |