This commit is contained in:
parent
f53f6bda2d
commit
da688a3f01
|
@ -4,6 +4,19 @@ layout: default_tool
|
|||
keywords: [WSP,websocket,websocket联调工具,websocket测试]
|
||||
description: websocket 在线联调、测试工具。手动发送、接收 websocket 消息。可以编辑保存快捷消息,方便相同消息多次发送。
|
||||
---
|
||||
|
||||
<style>
|
||||
|
||||
pre, code {
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
font-family: Consolas, monospace;
|
||||
}
|
||||
.more-quick-msg {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="content">
|
||||
{% raw %}
|
||||
<div id="main" class="uk-height-1-1" style="min-height: 440px; min-width: 1098px;">
|
||||
|
@ -73,14 +86,14 @@ description: websocket 在线联调、测试工具。手动发送、接收 webso
|
|||
style="min-height: 70px;" onkeydown="onkeydown_tab(this)"
|
||||
placeholder="快捷消息2,内容会保存到 localStorage,方便下次使用"></textarea>
|
||||
</div>
|
||||
<!-- <div class="uk-form-row" style="margin-top: 5px;">
|
||||
<div class="uk-form-row more-quick-msg" style="margin-top: 5px;">
|
||||
<textarea class="uk-width-1-1" type="text" v-model="myMsg3"
|
||||
style="min-height: 50px;" onkeydown="onkeydown_tab(this)"
|
||||
placeholder="快捷消息3,内容会保存到 localStorage,方便下次使用"></textarea>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="uk-form-row">
|
||||
<!-- <button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend3()"
|
||||
style="float: right;">发送消息3 (ctrl+3)</button> -->
|
||||
<button class="uk-button uk-button-primary more-quick-msg" :disabled="!connected" @click="doSend3()"
|
||||
style="float: right;">发送消息3 (ctrl+3)</button>
|
||||
<button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend2()"
|
||||
style="float: right;margin-left:15px;">发送消息2</button>
|
||||
<button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend1()"
|
||||
|
@ -100,14 +113,6 @@ description: websocket 在线联调、测试工具。手动发送、接收 webso
|
|||
</div>
|
||||
{% endraw %}
|
||||
|
||||
<style>
|
||||
pre, code {
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
font-family: Consolas, monospace;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="//cdn.apihub.net/js/clipboard.min.js"></script>
|
||||
<script>
|
||||
new ClipboardJS('.copy-btn', {
|
||||
|
@ -157,6 +162,10 @@ pre, code {
|
|||
localStorage.alipayRedBaoViewTime = new Date().getTime()
|
||||
$('#alipay-red-bao-button').removeClass('red-point-button')
|
||||
}
|
||||
|
||||
if (localStorage.shyFooter == 'true') {
|
||||
$('.more-quick-msg').show()
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue