修改界面中,临时提交
This commit is contained in:
@@ -28,6 +28,12 @@ Page({
|
||||
onShow() {
|
||||
this.getAiQuickQuestions()
|
||||
this.setData({ inputFocus: true })
|
||||
// 同步自定义 tabBar 选中态(AI客服为第 1 项)
|
||||
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
|
||||
this.getTabBar().setData({
|
||||
selected: 1
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
// 获取陪诊服务问题
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
box-sizing: border-box;
|
||||
/* 给 fixed 的自定义 tabBar 留位;安全区由这里统一承担,输入区不再重复加 */
|
||||
padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
|
||||
background-color: #F5F5F5;
|
||||
position: relative;
|
||||
}
|
||||
@@ -289,7 +292,6 @@
|
||||
.input-area {
|
||||
background-color: #FFFFFF;
|
||||
padding: 20rpx 24rpx;
|
||||
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||||
border-top: 1rpx solid #EEEEEE;
|
||||
}
|
||||
|
||||
@@ -337,7 +339,6 @@
|
||||
/* AI声明 */
|
||||
.ai-disclaimer {
|
||||
padding: 12rpx 24rpx;
|
||||
padding-bottom: calc(12rpx + env(safe-area-inset-bottom));
|
||||
text-align: center;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user