default.vue 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <div>
  3. <Nuxt />
  4. </div>
  5. </template>
  6. <script>
  7. import Vue from "vue";
  8. import { mapGetters } from "vuex";
  9. Vue.mixin({
  10. computed:{
  11. ...mapGetters({
  12. openId: "authen/openId",
  13. accessToken: "authen/accessToken",
  14. unionId: "authen/unionId",
  15. stationId: "authen/stationId",
  16. })
  17. }
  18. })
  19. export default {
  20. mounted() {
  21. // console.log(this);
  22. // (function() {
  23. // var hm = document.createElement("script");
  24. // hm.src = "http://res.wx.qq.com/open/js/jweixin-1.6.0.js";
  25. // var s = document.getElementsByTagName("script")[0];
  26. // s.parentNode.insertBefore(hm, s);
  27. // })();
  28. }
  29. }
  30. </script>t
  31. <style>
  32. html {
  33. font-family:
  34. 'Source Sans Pro',
  35. 'Microsoft YaHei UI',
  36. -apple-system,
  37. BlinkMacSystemFont,
  38. 'Segoe UI',
  39. Roboto,
  40. 'Helvetica Neue',
  41. Arial,
  42. sans-serif;
  43. font-size: 13.333333333333333vw;
  44. -ms-text-size-adjust:none;
  45. -webkit-text-size-adjust:none;
  46. }
  47. body {
  48. font-size: 12px;
  49. }
  50. </style>