App.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <template>
  2. <router-view></router-view>
  3. </template>
  4. <script>
  5. export default {
  6. name: 'app',
  7. components: {},
  8. mounted() {
  9. this.$router.push('/health-encyclopedia/consultation-results-details');
  10. },
  11. }
  12. </script>
  13. <style>
  14. * {
  15. margin: 0;
  16. padding: 0;
  17. }
  18. body {
  19. background-color: #F2F2F2;
  20. }
  21. ul,
  22. li {
  23. list-style: none;
  24. }
  25. a {
  26. text-decoration: none;
  27. }
  28. a:hover {
  29. transition: all 0.25s;
  30. -moz-transition: all 0.25s;
  31. -webkit-transition: all 0.25s;
  32. -o-transition: all 0.25s;
  33. }
  34. button:hover {
  35. cursor: pointer;
  36. }
  37. input::placeholder {
  38. color: #919191;
  39. }
  40. input,
  41. textarea,
  42. button {
  43. outline: 0;
  44. background-color: initial;
  45. border: none;
  46. }
  47. ::-webkit-scrollbar {
  48. width: 0 !important;
  49. }
  50. ::-webkit-scrollbar {
  51. width: 0 !important;
  52. height: 0;
  53. }
  54. ::-moz-scrollbar {
  55. width: 0 !important;
  56. }
  57. ::-moz-scrollbar {
  58. width: 0 !important;
  59. height: 0;
  60. }
  61. /* el分页重写 */
  62. .el-pagination.el-pagination-override {
  63. width: 100%;
  64. display: flex;
  65. justify-content: flex-end;
  66. }
  67. .el-pagination.el-pagination-override .el-pagination__total {
  68. margin-right: auto
  69. }
  70. .el-pagination>button {
  71. background: #FFFFFF;
  72. border: 1px solid #F2F2F2;
  73. }
  74. .el-pagination.el-pagination-override>.el-pager .number {
  75. min-width: 30px;
  76. height: 30px;
  77. background: #FFFFFF;
  78. border: 1px solid #F2F2F2;
  79. }
  80. .el-pagination.el-pagination-override>.el-pager .number:hover,
  81. .el-pagination.el-pagination-override>.el-pager .number.active {
  82. background-color: #BC423F !important;
  83. color: #fff !important;
  84. }
  85. /* el模态窗重写 */
  86. .el-dialog__wrapper.el-dialog-override .el-dialog__body {
  87. padding: 0;
  88. }
  89. .el-dialog__wrapper.el-dialog-override .el-dialog__header {
  90. height: 55px;
  91. display: flex;
  92. align-items: center;
  93. padding: 0 20px;
  94. }
  95. .el-dialog__wrapper.el-dialog-override .el-dialog__header .el-dialog__title {
  96. font-size: 14px;
  97. font-weight: bold;
  98. }
  99. .el-dialog__wrapper.el-dialog-override .el-dialog__header .el-dialog__headerbtn {
  100. top: none;
  101. }
  102. /* 模态窗居中 */
  103. .el-dialog-override .el-dialog {
  104. position: absolute;
  105. margin: 0 !important;
  106. width: 550px !important;
  107. top: 50% !important;
  108. left: 50% !important;
  109. transform: translate(-50%, -50%) !important;
  110. }
  111. /* 模态窗中间内容 */
  112. .form-box,
  113. .form-wrap {
  114. max-height: calc(100vh - 200px);
  115. overflow: auto;
  116. border-top: 1px solid #F0F0F0;
  117. }
  118. /* el下拉选择,el日期选择,el输入框,添加flex:1 */
  119. .el-select,
  120. .el-date-picker,
  121. .el-input {
  122. flex: 1;
  123. }
  124. /* 复选框颜色 */
  125. .el-checkbox__input.is-checked .el-checkbox__inner,
  126. .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  127. background-color: #BC423F !important;
  128. border-color: #BC423F !important;
  129. }
  130. /* 处理flex布局 */
  131. .preach-list li,
  132. .form-row {
  133. flex-shrink: 0;
  134. }
  135. </style>