You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

App.vue 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <template>
  2. <div id="app">
  3. <a href="#" class="back-to-top">
  4. <i class="fa fa-chevron-up"></i>
  5. </a>
  6. <div class="click-closed"></div>
  7. <SearchTab />
  8. <NavBar @routerGoTo="routerGoTo" />
  9. <div class="pushDown"></div>
  10. <router-view />
  11. <FooterSection class="margin-top" />
  12. </div>
  13. </template>
  14. <script>
  15. import SearchTab from './components/shared/searchTab.vue';
  16. import NavBar from './components/shared/navBar.vue';
  17. import FooterSection from './components/shared/footerSection.vue';
  18. export default {
  19. name: 'app',
  20. components: {
  21. SearchTab,
  22. NavBar,
  23. FooterSection,
  24. },
  25. methods: {
  26. routerGoTo(goTo) {
  27. this.$router.push(goTo);
  28. },
  29. },
  30. };
  31. </script>
  32. <style>
  33. button:hover {
  34. cursor: pointer;
  35. }
  36. hr {
  37. background-color: #60cbeb;
  38. }
  39. .my-btn {
  40. margin: 2px;
  41. color: #60cbeb;
  42. }
  43. .title-img {
  44. width: 800px;
  45. height: 400px;
  46. border-radius: 10px;
  47. }
  48. .title-title {
  49. opacity: 0.7;
  50. border: white solid 3px;
  51. border-radius: 15px;
  52. }
  53. .myBackground {
  54. border-color: #60cbeb;
  55. background-color: #60cbeb;
  56. }
  57. .myFill {
  58. fill: #60cbeb;
  59. color: #60cbeb;
  60. }
  61. .mySuccess {
  62. border-color: rgba(2, 184, 117, 0.5);
  63. background-color: rgba(2, 184, 117, 0.5);
  64. }
  65. .myInfo {
  66. border-color: rgba(23, 162, 184, 0.5);
  67. background-color: rgba(23, 162, 184, 0.5);
  68. }
  69. .myWarning {
  70. border-color: rgba(240, 173, 78, 0.5);
  71. background-color: rgba(240, 173, 78, 0.5);
  72. }
  73. .myError {
  74. border-color: rgba(217, 83, 79, 0.5);
  75. background-color: rgba(217, 83, 79, 0.5);
  76. }
  77. a {
  78. cursor: pointer;
  79. }
  80. a:hover {
  81. color: #60cbeb;
  82. }
  83. #app {
  84. font-family: "Avenir", Helvetica, Arial, sans-serif;
  85. -webkit-font-smoothing: antialiased;
  86. -moz-osx-font-smoothing: grayscale;
  87. text-align: center;
  88. color: #2c3e50;
  89. }
  90. .cursor-pointer {
  91. cursor: pointer;
  92. }
  93. body,
  94. html {
  95. font-size: 13.7px !important;
  96. color: #666;
  97. font-family: "Roboto", sans-serif;
  98. height: 100%;
  99. margin: 0;
  100. }
  101. .isSelected {
  102. border-color: white white #60cbeb white;
  103. }
  104. .isUnSelected {
  105. border-color: white white white white;
  106. }
  107. .tabButton {
  108. display: block;
  109. padding: 0.5rem 1rem;
  110. background-color: white;
  111. border-style: none none solid none;
  112. width: 100px;
  113. }
  114. .top-left {
  115. position: absolute;
  116. top: 8px;
  117. width: 350px;
  118. color: white;
  119. }
  120. .normalText {
  121. background-color: #60cbeb;
  122. }
  123. .pendingOffer {
  124. background-color: #ff8344;
  125. }
  126. </style>
  127. <style scoped>
  128. .pushDown {
  129. height: 70px;
  130. }
  131. .margin-top {
  132. margin-top: 50px;
  133. }
  134. </style>