show.vue 831 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <div id="app">
  3. <app-layout></app-layout>
  4. </div>
  5. </template>
  6. <script>
  7. import AppLayout from "@/framework/show/";
  8. import '@/assets/style/reset.less'
  9. import '@/assets/style/public.less'
  10. import '@/assets/style/iconfont/iconfont.css'
  11. export default {
  12. components: {
  13. AppLayout
  14. },
  15. mounted(){
  16. if (this.g_isMobile) {
  17. window.location.href = window.location.href.replace('show_single.html','showMobile_single.html')
  18. }
  19. }
  20. };
  21. </script>
  22. <style lang="less">
  23. html,
  24. body,
  25. #app {
  26. width: 100%;
  27. height: 100%;
  28. overflow: hidden;
  29. }
  30. body {
  31. margin: 0;
  32. color: #fff;
  33. font-size: 14px;
  34. line-height: normal;
  35. background-color: rgb(38, 39, 41);
  36. user-select: none;
  37. font-family: OpenSans, sans-serif;
  38. }
  39. ul {
  40. list-style: none;
  41. margin: 0;
  42. padding: 0;
  43. }
  44. img {
  45. border: 0;
  46. outline: 0;
  47. }
  48. </style>