|
|
@@ -12,7 +12,7 @@
|
|
|
|
|
|
<view class="talk-box">
|
|
|
<view class="talk-head-box">
|
|
|
- <image src="../../static/logo.png" mode="" class="talk-head"></image>
|
|
|
+ <image src="../../static/rabotHead.png" mode="" class="talk-head"></image>
|
|
|
</view>
|
|
|
<view class="talk-content">您好,智能顾投很高兴为您服务!</view>
|
|
|
</view>
|
|
|
@@ -34,9 +34,8 @@
|
|
|
</view>
|
|
|
|
|
|
</scroll-view>
|
|
|
-
|
|
|
- <view class="send-box">
|
|
|
- <input type="number" class="enter-box" v-model="inputInfo">
|
|
|
+ <view class="send-box" :style="{ 'padding-bottom' : isShowKeyBoard + 'px'}">
|
|
|
+ <input type="text" class="enter-box" v-model="inputInfo" adjust-position='{{true}}' >
|
|
|
<button type="primary" class="submit-message" @click="sendInputInfo()">发送</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -53,8 +52,9 @@
|
|
|
nowTime: '',
|
|
|
nowHeight: '622px',
|
|
|
inputInfo: '',
|
|
|
+ isShowKeyBoard:0,
|
|
|
rabotHeadImg: "../../static/rabotHead.png",
|
|
|
- userHeadUrl: getApp().globalData.user_headUrl || '../../static/alienware.png',
|
|
|
+ userHeadUrl: getApp().globalData.user_headUrl || '../../static/userDefault.png',
|
|
|
talkList: [],
|
|
|
config: {
|
|
|
title: "阿拉丁神灯", //title
|
|
|
@@ -249,6 +249,12 @@
|
|
|
console.log('noData')
|
|
|
}
|
|
|
},
|
|
|
+ // getInputFocus(e){
|
|
|
+ // this.isShowKeyBoard = e.detail.height
|
|
|
+ // },
|
|
|
+ // getInputBlur(){
|
|
|
+ // this.isShowKeyBoard = 0
|
|
|
+ // },
|
|
|
},
|
|
|
}
|
|
|
</script>
|