default.vue 717 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <div>
  3. <Nuxt />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. mounted() {
  9. console.log(this);
  10. (function() {
  11. var hm = document.createElement("script");
  12. hm.src = "http://res.wx.qq.com/open/js/jweixin-1.6.0.js";
  13. var s = document.getElementsByTagName("script")[0];
  14. s.parentNode.insertBefore(hm, s);
  15. })();
  16. console.log(window)
  17. },
  18. }
  19. </script>t
  20. <style>
  21. html {
  22. font-family:
  23. 'Source Sans Pro',
  24. 'Microsoft YaHei UI',
  25. -apple-system,
  26. BlinkMacSystemFont,
  27. 'Segoe UI',
  28. Roboto,
  29. 'Helvetica Neue',
  30. Arial,
  31. sans-serif;
  32. /* font-size: 13.6986301369863vw;*/
  33. font-size: 13.333333333333333vw;
  34. }
  35. body {
  36. font-size: 12px;
  37. }
  38. </style>