home.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <title>售货柜通讯测试</title>
  7. <link rel="stylesheet" type="text/css" href="../script/lib/layui/css/layui.css" />
  8. <script src="../script/lib/layui/layui.js"></script>
  9. <script id="script"></script>
  10. <script src="../js/sub.js"></script>
  11. </head>
  12. <body>
  13. <div class="layui-container">
  14. <blockquote class="layui-elem-quote"><a id="pdf" href="http://192.168.33.10/cab/main/assets/pdf/msg.pdf" target="_blank">点此查看协议文档</a></blockquote>
  15. <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  16. <legend>售货柜通讯测试</legend>
  17. </fieldset>
  18. <div class="layui-row">
  19. <form class="layui-form" action="" lay-filter="form1">
  20. <div class="layui-form-item">
  21. <label class="layui-form-label">通讯指令</label>
  22. <div class="layui-input-block">
  23. <input type="text" name="code" id="code" value="52" required="" lay-verify="required" placeholder="请输入通讯指令" autocomplete="off" class="layui-input">
  24. </div>
  25. </div>
  26. <div class="layui-form-item">
  27. <label class="layui-form-label">发送方ID</label>
  28. <div class="layui-input-block">
  29. <input type="text" name="from" id="from" value="XXG001" required="" lay-verify="required" placeholder="请输入发送方ID" autocomplete="off" class="layui-input">
  30. </div>
  31. </div>
  32. <div class="layui-form-item">
  33. <label class="layui-form-label">接收送方ID</label>
  34. <div class="layui-input-block">
  35. <input type="text" name="to" id="to" value="869300032841441" required="" lay-verify="required" placeholder="请输入接收送方ID" autocomplete="off" class="layui-input">
  36. </div>
  37. </div>
  38. <div class="layui-form-item">
  39. <label class="layui-form-label">消息ID号</label>
  40. <div class="layui-input-block">
  41. <input type="text" name="mid" id="mid" value="2" required="" lay-verify="required" placeholder="请输入消息ID号" autocomplete="off" class="layui-input">
  42. </div>
  43. </div>
  44. <div class="layui-form-item">
  45. <label class="layui-form-label">消息内容</label>
  46. <div class="layui-input-block">
  47. <textarea type="text" name="msg" id="msg" value='' required="" lay-verify="required" placeholder="请输入消息内容" class="layui-textarea" autocomplete="off" rows="3" cols="100">0&12312234234sfsfsf</textarea>
  48. </div>
  49. </div>
  50. <div class="layui-form-item">
  51. <div class="layui-input-block">
  52. <button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. </div>
  58. </body>
  59. </html>