|
@@ -68,11 +68,11 @@
|
|
:curInd="atInd"
|
|
:curInd="atInd"
|
|
:filterList="filterMembers">
|
|
:filterList="filterMembers">
|
|
</chat-at>
|
|
</chat-at>
|
|
- <div class="input-ctrl" v-if="showLoginBtn">
|
|
|
|
|
|
+ <!-- <div class="input-ctrl" v-if="showLoginBtn">
|
|
<span v-if="showLoginBtn === 'loading'">登录中...</span>
|
|
<span v-if="showLoginBtn === 'loading'">登录中...</span>
|
|
<span v-else class="enable" @click="handleLogin">登录</span>
|
|
<span v-else class="enable" @click="handleLogin">登录</span>
|
|
- </div>
|
|
|
|
- <div class="input-con" v-else>
|
|
|
|
|
|
+ </div> -->
|
|
|
|
+ <div class="input-con">
|
|
<!-- <div class="btn-file">
|
|
<!-- <div class="btn-file">
|
|
<input type="file" ref="inputFile" name="res" @change="handleFile">
|
|
<input type="file" ref="inputFile" name="res" @change="handleFile">
|
|
</div> -->
|
|
</div> -->
|
|
@@ -247,6 +247,10 @@ export default {
|
|
inputMsg (val, newval) {
|
|
inputMsg (val, newval) {
|
|
let ele = this.$refs.chatInput
|
|
let ele = this.$refs.chatInput
|
|
this.inputHeight = 'auto'
|
|
this.inputHeight = 'auto'
|
|
|
|
+
|
|
|
|
+ // 处理ios系统下窗体闪烁的bug
|
|
|
|
+ this.$refs.scrollWrap.style.overflowY = 'hidden'
|
|
|
|
+
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.inputHeight = Math.max(18, Math.min(ele.scrollHeight, 75)) + 'px'
|
|
this.inputHeight = Math.max(18, Math.min(ele.scrollHeight, 75)) + 'px'
|
|
})
|
|
})
|
|
@@ -707,6 +711,9 @@ export default {
|
|
return false
|
|
return false
|
|
},
|
|
},
|
|
handleBlur () {
|
|
handleBlur () {
|
|
|
|
+ // 处理ios系统下窗体闪烁的bug
|
|
|
|
+ this.$refs.scrollWrap.style.overflowY = 'scroll'
|
|
|
|
+
|
|
this.updateChatInputFocus(false)
|
|
this.updateChatInputFocus(false)
|
|
},
|
|
},
|
|
placeEnd (el) {
|
|
placeEnd (el) {
|