App.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. import { setAppVueThis } from '@/utils/selectOptionWebsit.js'
  8. export default {
  9. name: 'App',
  10. data() {
  11. return {
  12. selectOptionWebsitVal: ''
  13. }
  14. },
  15. created() {
  16. setAppVueThis(this)
  17. },
  18. methods: {}
  19. }
  20. </script>
  21. <style lang="scss">
  22. .el-tree {
  23. .is-current {
  24. & > div:nth-child(1) {
  25. & > .custom-tree-node {
  26. color: #409eff !important;
  27. }
  28. }
  29. }
  30. }
  31. .el-dialog {
  32. margin-bottom: 15vh !important;
  33. }
  34. .el-dialog__header {
  35. background: #eef2f8 !important;
  36. }
  37. .el-input {
  38. .el-button {
  39. color: #fff !important;
  40. background-color: #409eff !important;
  41. border-color: transparent !important;
  42. }
  43. }
  44. .el-select-dropdown {
  45. z-index: 999999 !important;
  46. }
  47. .diy-dialog {
  48. .el-dialog__header {
  49. padding: 0 !important;
  50. }
  51. .el-dialog__headerbtn {
  52. z-index: 9999999;
  53. }
  54. .el-dialog__body {
  55. padding: 0 !important;
  56. }
  57. .box-card {
  58. margin-bottom: 0 !important;
  59. }
  60. .el-table-column--selection {
  61. .cell {
  62. padding: 0 10px !important;
  63. }
  64. }
  65. .el-form-item__label {
  66. padding-bottom: 0 !important;
  67. }
  68. .el-table__cell {
  69. padding: 0 !important;
  70. }
  71. .is-center {
  72. .text-view {
  73. div {
  74. width: 100%;
  75. text-align: center !important;
  76. }
  77. }
  78. }
  79. }
  80. .cartographer {
  81. .el-dialog__wrapper {
  82. width: 100% !important;
  83. height: calc(100% - 5px) !important;
  84. position: absolute !important;
  85. top: 5px !important;
  86. }
  87. .el-dialog {
  88. margin: 0 !important;
  89. width: 100%;
  90. height: 100%;
  91. }
  92. .el-dialog__body {
  93. width: 100%;
  94. height: calc(100% - 55px - 58px);
  95. position: relative;
  96. box-sizing: border-box;
  97. padding: 20px;
  98. overflow-y: auto;
  99. }
  100. .el-dialog__headerbtn {
  101. z-index: 99999 !important;
  102. }
  103. .el-dialog__footer {
  104. background: #fff !important;
  105. }
  106. }
  107. .cartographer_big {
  108. .el-dialog__wrapper {
  109. width: 100% !important;
  110. height: calc(100% - 5px) !important;
  111. position: absolute !important;
  112. top: 5px !important;
  113. }
  114. .el-dialog {
  115. margin: 0 !important;
  116. width: 100%;
  117. height: 100%;
  118. }
  119. .el-dialog__body {
  120. width: 100%;
  121. height: calc(100% - 55px);
  122. position: relative;
  123. box-sizing: border-box;
  124. padding: 0px;
  125. overflow-y: auto;
  126. }
  127. .el-dialog__headerbtn {
  128. z-index: 99999 !important;
  129. }
  130. .el-dialog__footer {
  131. background: #fff !important;
  132. }
  133. }
  134. .custom-tree-node {
  135. .el-input__inner {
  136. border: none !important;
  137. padding: 0 !important;
  138. width: auto !important;
  139. }
  140. }
  141. .el-card__header {
  142. .el-tabs__header {
  143. margin-bottom: 0;
  144. overflow: hidden;
  145. }
  146. }
  147. .custom-popper11 {
  148. width: 370px !important;
  149. }
  150. .custom-popper11 .el-picker-panel {
  151. max-width: 100vw !important;
  152. max-height: 100vh !important;
  153. overflow: auto !important;
  154. position: fixed !important;
  155. z-index: 9999 !important;
  156. }
  157. .el-picker-panel__body-wrapper {
  158. max-height: 80vh !important; /* 适当减小高度以避免溢出 */
  159. overflow-y: auto !important;
  160. }
  161. .el-dialog__headerbtn {
  162. top: 10px !important;
  163. }
  164. .is-disabled {
  165. .el-input__inner,
  166. .el-textarea__inner {
  167. color: #000 !important;
  168. font-weight: bold !important;
  169. background-color: #fff !important;
  170. }
  171. }
  172. </style>