You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
815 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <!doctype html>
  2. <html lang="zh" gv-id="index">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="keywords" content="">
  6. <link rel="stylesheet" href="css/main.css">
  7. <script src="js/vue.min.js"></script>
  8. </head>
  9. <body>
  10. <div id="app" class="content">
  11. <my-title></my-title>
  12. <a>{{desc}}</a>
  13. </div>
  14. <div id="quick_start" class="content">
  15. <h3>{{title}}</h3>
  16. <a v-on:click="click" class="gv-ignore">查看</a>
  17. </div>
  18. <div id="pre" class="content">
  19. <pre>{{pre}}</pre>
  20. </div>
  21. </body>
  22. <script src="index.js" gv-src></script>
  23. <script gv-src gv-common>
  24. new Vue({
  25. el: "#quick_start",
  26. data: {
  27. title: "快速开始"
  28. },
  29. methods: {
  30. click: function () {
  31. alert("点击触发");
  32. }
  33. }
  34. });
  35. </script>
  36. </html>