App.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <div>
  3. <Header></Header>
  4. <div style="padding-top: 44px;">
  5. <router-view :key="$route.fullPath"></router-view>
  6. </div>
  7. <Footer></Footer>
  8. </div>
  9. </template>
  10. <script>
  11. import HeaderSub from "@/components/header-sub";
  12. import Header from "@/components/header";
  13. import Footer from "@/components/footer";
  14. export default {
  15. name: 'app',
  16. components: {HeaderSub, Header, Footer},
  17. data() {
  18. return {
  19. scrollTop: 0,
  20. }
  21. },
  22. mounted() {
  23. },
  24. methods: {
  25. }
  26. }
  27. </script>
  28. <style>
  29. * {
  30. margin: 0;
  31. padding: 0;
  32. }
  33. body {
  34. background-color: #F8F5ED;
  35. }
  36. ul,
  37. li {
  38. list-style: none;
  39. }
  40. a {
  41. text-decoration: none;
  42. }
  43. a:hover {
  44. transition: all 0.25s;
  45. -moz-transition: all 0.25s;
  46. -webkit-transition: all 0.25s;
  47. -o-transition: all 0.25s;
  48. }
  49. button:hover {
  50. cursor: pointer;
  51. }
  52. input::placeholder {
  53. color: #919191;
  54. }
  55. input,
  56. textarea,
  57. button {
  58. outline: 0;
  59. background-color: initial;
  60. border: none;
  61. }
  62. /*::-webkit-scrollbar {*/
  63. /* width: 0 !important;*/
  64. /*}*/
  65. /*::-webkit-scrollbar {*/
  66. /* width: 0 !important;*/
  67. /* height: 0;*/
  68. /*}*/
  69. /*::-moz-scrollbar {*/
  70. /* width: 0 !important;*/
  71. /*}*/
  72. /*::-moz-scrollbar {*/
  73. /* width: 0 !important;*/
  74. /* height: 0;*/
  75. /*}*/
  76. .button-disabled-gray {
  77. background-color: #9C9C9C !important;
  78. color: #FFFFFF !important;
  79. }
  80. /* 自定义Message样式 */
  81. .message-custom {
  82. background-color: #FF4400 !important;
  83. border-color: rgba(255, 68, 0, 0.38) !important;
  84. display: flex;
  85. justify-content: center;
  86. min-width: max-content !important;
  87. padding: 0 20px !important;
  88. top: 40% !important;
  89. height: 28px;
  90. border-radius: 10px !important;
  91. }
  92. .message-custom .el-message__icon{
  93. display: none!important;
  94. }
  95. .message-custom .el-message__content{
  96. color: #FFFFFF!important;
  97. }
  98. /* 自定义Message样式 */
  99. .el-message {
  100. z-index: 9999999999 !important;
  101. }
  102. </style>