Skip to content

Commit

Permalink
x底部输入框适配
Browse files Browse the repository at this point in the history
  • Loading branch information
BigPiter committed Sep 2, 2019
1 parent d862990 commit 6904004
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions dzmini/pages/thread_detail/thread_detail.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,5 @@
<view class='replyAudio' catchtap='replyAudio'></view>
<view class='replyImage' catchtap='replyImage'></view>
<view class='replyVideo' catchtap='replyVideo'></view>
<view class="toolback"></view>
</view>
11 changes: 10 additions & 1 deletion dzmini/pages/thread_detail/thread_detail.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ view,input,textarea,image,text,button,scroll-view{
position: fixed;
bottom: 0rpx;
width: 100%;
height: 125rpx;
height: calc(125rpx + env(safe-area-inset-bottom));
display: flex;
}

Expand All @@ -293,6 +293,15 @@ view,input,textarea,image,text,button,scroll-view{
z-index: -1;
}

.toolback {
width: 100%;
height: 80rpx;
position:absolute;
bottom: 0;
z-index: -2;
background-color: white;
}

.flowerAndDiscuss {
display: flex;
justify-content: flex-end;
Expand Down

0 comments on commit 6904004

Please sign in to comment.