preview.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <title>form-generator-preview</title>
  9. <link href="https://cdn.bootcss.com/element-ui/2.12.0/theme-chalk/index.css" rel="stylesheet">
  10. <script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
  11. <script src="https://cdn.bootcss.com/vue-router/3.1.3/vue-router.min.js"></script>
  12. <!-- <script src="https://cdn.bootcss.com/axios/0.19.0/axios.min.js"></script> -->
  13. <script src="https://cdn.bootcss.com/element-ui/2.12.0/index.js"></script>
  14. <style>
  15. body{
  16. margin: 0;
  17. padding: 0;
  18. overflow-x: hidden;
  19. -moz-osx-font-smoothing: grayscale;
  20. -webkit-font-smoothing: antialiased;
  21. text-rendering: optimizeLegibility;
  22. height: calc(100vh - 33px);
  23. padding: 12px;
  24. box-sizing: border-box;
  25. font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  26. }
  27. input, textarea{
  28. font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <noscript>
  34. <strong>抱歉,javascript被禁用,请开启后重试。</strong>
  35. </noscript>
  36. <div id="previewApp"></div>
  37. </body>
  38. </html>