This commit is contained in:
chenyan 2021-12-27 15:06:31 +08:00
parent aef35f9470
commit f8ad146f72
1 changed files with 9 additions and 6 deletions

View File

@ -6,7 +6,6 @@ description: websocket 在线联调、测试工具。手动发送、接收 webso
---
<style>
pre, code {
word-wrap: break-word;
white-space: pre-wrap;
@ -75,19 +74,22 @@ description: websocket 在线联调、测试工具。手动发送、接收 webso
</div>
<!-- 快捷消息 -->
<div class="uk-form">
<div class="uk-form-row" style="margin-top: 15px;">
<textarea class="uk-width-1-1" type="text" v-model="myMsg1"
<div class="uk-form quick-msg-form"
style="
margin-top: 15px;
min-height: calc(100% - 240px - 15px)">
<div class="uk-form-row" >
<textarea class="uk-width-1-1 quick-msg-textarea" type="text" v-model="myMsg1"
style="min-height: 70px;" onkeydown="onkeydown_tab(this)"
placeholder="快捷消息1内容会保存到 localStorage方便下次使用"></textarea>
</div>
<div class="uk-form-row" style="margin-top: 5px;">
<textarea class="uk-width-1-1" type="text" v-model="myMsg2"
<textarea class="uk-width-1-1 quick-msg-textarea" type="text" v-model="myMsg2"
style="min-height: 70px;" onkeydown="onkeydown_tab(this)"
placeholder="快捷消息2内容会保存到 localStorage方便下次使用"></textarea>
</div>
<div class="uk-form-row more-quick-msg" style="margin-top: 5px;">
<textarea class="uk-width-1-1" type="text" v-model="myMsg3"
<textarea class="uk-width-1-1 quick-msg-textarea" type="text" v-model="myMsg3"
style="min-height: 70px;" onkeydown="onkeydown_tab(this)"
placeholder="快捷消息3内容会保存到 localStorage方便下次使用"></textarea>
</div>
@ -166,6 +168,7 @@ description: websocket 在线联调、测试工具。手动发送、接收 webso
if (localStorage.shyFooter == 'true') {
$('.more-quick-msg').show()
}
$('.quick-msg-textarea').css('min-height', (($('.quick-msg-form').height() - 45) / 3) - 5)
</script>
<script>