index.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <div id="bigScreen-container">
  3. <bigScreenHeader />
  4. <bigScreenView />
  5. </div>
  6. </template>
  7. <script>
  8. import bigScreenHeader from '@/views/bigScreen/components/Header.vue'
  9. import bigScreenView from '@/views/bigScreen/home'
  10. export default {
  11. components: {
  12. bigScreenHeader,
  13. bigScreenView
  14. }
  15. }
  16. </script>
  17. <style lang="scss" scoped>
  18. @font-face{
  19. font-family: 'YouSheBiaoTiHei';
  20. src: url('~@/views/bigScreen/assets/font/YouSheBiaoTiHei.ttf');
  21. }
  22. #bigScreen-container{
  23. height:100vh;
  24. background-image: url(~@/views/bigScreen/assets/bg.png);
  25. background-repeat: no-repeat;
  26. background-size: 100% 100%;
  27. box-sizing: border-box;
  28. overflow: hidden;
  29. ::-webkit-scrollbar {
  30. height: 4px;
  31. width: 4px;
  32. }
  33. ::-webkit-scrollbar-corner {
  34. background-color: transparent;
  35. }
  36. ::-webkit-scrollbar-thumb {
  37. width: 5px !important;
  38. height: 5px !important;
  39. border-radius: 10px;
  40. -webkit-box-shadow: inset 0 0 2px #115BE6;
  41. background: #115BE6;
  42. }
  43. ::-webkit-scrollbar-track {
  44. -webkit-box-shadow: inset 0 0 2px #03399F;
  45. border-radius: 10px;
  46. background: #03399F;
  47. }
  48. }
  49. </style>