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.7KB

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