修改
This commit is contained in:
parent
5b3844d839
commit
556ec8551e
@ -524,8 +524,8 @@
|
||||
}, {
|
||||
"path": "seekadvicefrom/seekadvicefrom",
|
||||
"style": {
|
||||
"navigationBarTitleText": "咨询医生",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom",
|
||||
"app-plus": {
|
||||
"softinputMode": "adjustResize"
|
||||
}
|
||||
|
||||
@ -6,6 +6,12 @@
|
||||
</view> -->
|
||||
<!-- 聊天渲染列表 -->
|
||||
<!-- scroll-y scroll-into-view="placeholder" scroll-top="500" scroll-with-animation -->
|
||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||
<image src="@/static/fanhui.png" mode="" @tap="goprevious"></image>
|
||||
<view class="navbartitle" @tap="goprevious">
|
||||
{{title}}
|
||||
</view>
|
||||
</u-navbar>
|
||||
<scroll-view scroll-y="true" :scroll-top='scrollTop' id="demo"
|
||||
:style="'height:calc(100vh - '+ inputboxtop +'px)'" scroll-with-animation="true">
|
||||
<view style="height: 85vh; padding-top: 200rpx;" @tap='touchend'>
|
||||
@ -89,6 +95,9 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
background: {
|
||||
backgroundColor: '#26A888',
|
||||
},
|
||||
baseurl: '',
|
||||
title: '',
|
||||
SOCKETURL: '',
|
||||
@ -150,9 +159,9 @@
|
||||
};
|
||||
},
|
||||
onReady() { //更改导航栏文字
|
||||
uni.setNavigationBarTitle({
|
||||
title: this.title,
|
||||
});
|
||||
// uni.setNavigationBarTitle({
|
||||
// title: this.title,
|
||||
// });
|
||||
},
|
||||
onLoad(options) {
|
||||
this.baseurl = baseurl;
|
||||
@ -296,6 +305,11 @@
|
||||
oftenc(e) {
|
||||
this.formData.content = e.title;
|
||||
},
|
||||
goprevious() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
},
|
||||
//选择表情
|
||||
expre(e) {
|
||||
this.formData.content = !this.formData.content ? e : this.formData.content + e;
|
||||
@ -531,6 +545,31 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
::v-deep .u-navbar-placeholder {
|
||||
background-color: #F7F5F5;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.u-navbar {
|
||||
display: inline-block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 99999;
|
||||
|
||||
image {
|
||||
margin: 0 4% 0 4%;
|
||||
width: 20rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
|
||||
.navbartitle {
|
||||
width: 31%;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
|
||||
.input-box {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user