Station.Vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <div class="app">
  3. <component-header></component-header>
  4. <div class="body">
  5. <div class="row">
  6. <div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-xs-12">
  7. <div id="player"></div>
  8. </div>
  9. <div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-xs-12">
  10. <div class="row">
  11. <div class="col-md-8 col-sm-12 col-sm-12">
  12. </div>
  13. <img alt="Not loading" class="img-responsive col-md-4 col-xs-12 col-sm-12" onerror="this.src='/notes.png'" id="song-image" style="margin-top: 10px !important" src="https://i.scdn.co/image/32031982517529900c02654c460dc9ac6c47c598" />
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. </template>
  20. <script>
  21. import ComponentHeader from './MainHeader.vue'
  22. import ComponentBody from './HomepageBody.vue'
  23. import ComponentFooter from './MainFooter.vue'
  24. export default {
  25. data() {
  26. return {}
  27. },
  28. components: { ComponentHeader }
  29. }
  30. </script>
  31. <style lang="sass">
  32. .body {
  33. // width: 100%;
  34. // line-height: 256px;
  35. text-align: center;
  36. background-color: green;
  37. flex: 1 0 auto;
  38. padding-top: 4.5vw;
  39. transition: all 0.1s;
  40. margin: 0 auto;
  41. max-width: 1280px;
  42. width: 90%;
  43. }
  44. @media only screen and (min-width: 993px) {
  45. .body {
  46. width: 70%;
  47. }
  48. }
  49. @media only screen and (min-width: 601px) {
  50. .body {
  51. width: 85%;
  52. }
  53. }
  54. .room-title {
  55. left: 50%;
  56. -webkit-transform: translateX(-50%);
  57. transform: translateX(-50%);
  58. font-size: 2.1em;
  59. }
  60. </style>