修改
This commit is contained in:
parent
5b3844d839
commit
556ec8551e
@ -524,8 +524,8 @@
|
|||||||
}, {
|
}, {
|
||||||
"path": "seekadvicefrom/seekadvicefrom",
|
"path": "seekadvicefrom/seekadvicefrom",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "咨询医生",
|
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationStyle": "custom",
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
"softinputMode": "adjustResize"
|
"softinputMode": "adjustResize"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,12 @@
|
|||||||
</view> -->
|
</view> -->
|
||||||
<!-- 聊天渲染列表 -->
|
<!-- 聊天渲染列表 -->
|
||||||
<!-- scroll-y scroll-into-view="placeholder" scroll-top="500" scroll-with-animation -->
|
<!-- 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"
|
<scroll-view scroll-y="true" :scroll-top='scrollTop' id="demo"
|
||||||
:style="'height:calc(100vh - '+ inputboxtop +'px)'" scroll-with-animation="true">
|
:style="'height:calc(100vh - '+ inputboxtop +'px)'" scroll-with-animation="true">
|
||||||
<view style="height: 85vh; padding-top: 200rpx;" @tap='touchend'>
|
<view style="height: 85vh; padding-top: 200rpx;" @tap='touchend'>
|
||||||
@ -89,6 +95,9 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
background: {
|
||||||
|
backgroundColor: '#26A888',
|
||||||
|
},
|
||||||
baseurl: '',
|
baseurl: '',
|
||||||
title: '',
|
title: '',
|
||||||
SOCKETURL: '',
|
SOCKETURL: '',
|
||||||
@ -150,9 +159,9 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onReady() { //更改导航栏文字
|
onReady() { //更改导航栏文字
|
||||||
uni.setNavigationBarTitle({
|
// uni.setNavigationBarTitle({
|
||||||
title: this.title,
|
// title: this.title,
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.baseurl = baseurl;
|
this.baseurl = baseurl;
|
||||||
@ -296,6 +305,11 @@
|
|||||||
oftenc(e) {
|
oftenc(e) {
|
||||||
this.formData.content = e.title;
|
this.formData.content = e.title;
|
||||||
},
|
},
|
||||||
|
goprevious() {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
})
|
||||||
|
},
|
||||||
//选择表情
|
//选择表情
|
||||||
expre(e) {
|
expre(e) {
|
||||||
this.formData.content = !this.formData.content ? e : this.formData.content + e;
|
this.formData.content = !this.formData.content ? e : this.formData.content + e;
|
||||||
@ -531,6 +545,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.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 {
|
.input-box {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user