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 | 297 | |
298 | 298 | <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> |
299 | 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 | 302 | <view class="modal-content"> |
303 | 303 | <view class="flex"> |
304 | 304 | <image src="{{user.head_pic}}" class="hd_img"></image> | ... | ... |
packageG/pages/user/userinfo/userinfo.wxss
... | ... | @@ -201,15 +201,18 @@ input { |
201 | 201 | top: 0px; |
202 | 202 | background: rgba(0, 0, 0, 0.4); |
203 | 203 | overflow: hidden; |
204 | + z-index: 9; | |
204 | 205 | } |
205 | 206 | |
206 | 207 | .modal-body { |
207 | 208 | position: fixed; |
208 | - top: 80rpx; | |
209 | + top: 0; | |
209 | 210 | left: 0; |
211 | + bottom: 0; | |
212 | + right: 0; | |
210 | 213 | z-index: 100; |
211 | 214 | background: #fff; |
212 | - margin-left: 73rpx; | |
215 | + margin: auto; | |
213 | 216 | width: 600rpx; |
214 | 217 | height: 860rpx; |
215 | 218 | border-radius: 8px; | ... | ... |