App.vue 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <template>
  2. <div id="app"
  3. v-cloak>
  4. <router-view v-if="isRouterAlive" />
  5. </div>
  6. </template>
  7. <script>
  8. export default {
  9. name: 'App',
  10. provide () {
  11. return {
  12. reloads: this.reloads
  13. }
  14. },
  15. data () {
  16. return {
  17. isRouterAlive: true
  18. }
  19. },
  20. methods: {
  21. reloads () {
  22. this.isRouterAlive = false
  23. this.$nextTick(function () {
  24. this.isRouterAlive = true
  25. })
  26. }
  27. }
  28. }
  29. </script>
  30. <style >
  31. * {
  32. margin: 0;
  33. padding: 0;
  34. touch-action: none !important;
  35. }
  36. [v-cloak] {
  37. display: none !important;
  38. }
  39. body {
  40. background-color: #eef4f9;
  41. }
  42. /* 出去多选框中的关闭按钮 */
  43. .el-select__tags .el-tag__close.el-icon-close {
  44. display: none;
  45. }
  46. .el-checkbox__input.is-focus {
  47. visibility: hidden;
  48. }
  49. .el-checkbox__inner:hover {
  50. background-color: rgb(19, 129, 122);
  51. }
  52. .el-checkbox__input.is-checked .el-checkbox__inner,
  53. .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  54. background-color: #14928a;
  55. border-color: #14928a;
  56. }
  57. .el-select__tags .el-tag__close.el-icon-close {
  58. display: inline-block;
  59. }
  60. .el-checkbox__input.is-checked + .el-checkbox__label {
  61. color: #606266;
  62. }
  63. </style>
  64. <style lang="scss">
  65. .el-table {
  66. width: 99.9% !important;
  67. }
  68. .el-tabs__content {
  69. overflow: auto;
  70. }
  71. .el-tabs__item:focus.is-active.is-focus:not(:active) {
  72. box-shadow: none;
  73. border-top-left-radius: 20px;
  74. border-top-right-radius: 20px;
  75. }
  76. input::-webkit-outer-spin-button,
  77. input::-webkit-inner-spin-button {
  78. -webkit-appearance: none;
  79. }
  80. input[type="number"] {
  81. -moz-appearance: textfield;
  82. }
  83. .el-tabs__item.is-active {
  84. color: #14928a !important;
  85. // font-size: 14px;
  86. font-weight: 600;
  87. }
  88. .el-tabs__item:hover {
  89. color: #14928a !important;
  90. // font-size: 14px;
  91. font-weight: 600;
  92. }
  93. // 选择框组件
  94. .el-form-item__content {
  95. font-size: 14px !important;
  96. }
  97. .el-select {
  98. width: 180px !important;
  99. }
  100. .multiple.el-select {
  101. width: 180px !important;
  102. }
  103. .searchBtn {
  104. width: 100px;
  105. height: 36px;
  106. line-height: 36px;
  107. background-color: #f85043;
  108. color: #fff;
  109. font-size: 14px;
  110. text-align: center;
  111. border-radius: 4px;
  112. position: relative;
  113. top: 3px;
  114. cursor: pointer;
  115. }
  116. .newBand {
  117. width: 100px;
  118. height: 36px;
  119. line-height: 36px;
  120. margin-bottom: 20px;
  121. background-color: #14928a;
  122. border: 1px solid #14928a;
  123. cursor: pointer;
  124. color: #fff;
  125. font-size: 14px;
  126. text-align: center;
  127. border-radius: 4px;
  128. position: relative;
  129. top: 3px;
  130. }
  131. // 公用的搜索组件
  132. .searchWrap {
  133. display: flex;
  134. flex-direction: row;
  135. justify-content: flex-start;
  136. align-items: center;
  137. font-size: 14px;
  138. font-weight: 500;
  139. color: rgba(119, 119, 119, 1);
  140. height: 30px;
  141. margin-bottom: 30px;
  142. p {
  143. font-size: 14px;
  144. padding-left: 4px;
  145. }
  146. .searchItem {
  147. margin-left: 20px;
  148. position: relative;
  149. box-sizing: border-box;
  150. min-width: 116px;
  151. padding: 0 25px;
  152. height: 30px;
  153. line-height: 30px;
  154. background: rgba(246, 246, 246, 1);
  155. border-radius: 15px;
  156. color: #777;
  157. font-size: 14px;
  158. .el-icon-close {
  159. position: absolute;
  160. right: 5px;
  161. top: 8px;
  162. }
  163. }
  164. }
  165. .headWrap {
  166. padding: 40px 0;
  167. display: flex;
  168. flex-direction: row;
  169. justify-content: space-between;
  170. align-items: center;
  171. .left {
  172. width: 1100px;
  173. display: flex;
  174. flex-direction: row;
  175. justify-content: flex-start;
  176. align-items: center;
  177. flex-wrap: wrap;
  178. .headItem {
  179. width: 320px;
  180. height: 30px;
  181. color: #444;
  182. border-right: 1px solid #979797;
  183. p {
  184. font-size: 14px;
  185. line-height: 30px;
  186. span {
  187. font-size: 22px;
  188. line-height: 30px;
  189. }
  190. }
  191. &:nth-child(1) {
  192. width: 256px;
  193. }
  194. &:nth-child(2n) {
  195. text-align: center;
  196. }
  197. &:nth-child(3n) {
  198. border-right: 1px solid #fff;
  199. text-align: center;
  200. }
  201. &:nth-child(4n) {
  202. text-align: left !important;
  203. width: 256px;
  204. }
  205. &:nth-child(5n) {
  206. text-align: center;
  207. }
  208. }
  209. }
  210. }
  211. // 公用编剧模板
  212. .m-container {
  213. box-sizing: border-box;
  214. background-color: #fff;
  215. padding: 18px 30px 40px;
  216. // height: calc(100vh- 80px) !important;
  217. // height: calc(100vh - 70px);
  218. width: 100%;
  219. // min-width: 1440px;
  220. // overflow: auto;
  221. .m-core {
  222. margin-top: 10px;
  223. background-color: #fff;
  224. position: relative;
  225. }
  226. h2 {
  227. height: 48px;
  228. line-height: 48px;
  229. position: relative;
  230. // padding-left: 20px;
  231. font-size: 32px;
  232. font-weight: 600;
  233. margin-bottom: 10px;
  234. display: flex;
  235. flex-direction: row;
  236. justify-content: flex-start;
  237. align-items: center;
  238. .term {
  239. height: 32px;
  240. line-height: 32px;
  241. border-radius: 24px;
  242. width: 100px;
  243. color: #14928a;
  244. border: 1px solid rgba(20, 146, 138, 1);
  245. font-size: 14px;
  246. text-align: center;
  247. margin-right: 12px;
  248. &:nth-child(1) {
  249. margin-left: 47px;
  250. }
  251. }
  252. .term.active {
  253. color: #fff;
  254. background-color: #14928a;
  255. }
  256. .squrt {
  257. // position: absolute;
  258. // left: 0;
  259. // top: 8px;
  260. margin-right: 15px;
  261. height: 34px;
  262. width: 8px;
  263. background-color: #14928a;
  264. }
  265. }
  266. }
  267. .btnWrap {
  268. display: flex;
  269. flex-direction: row;
  270. justify-content: flex-end;
  271. div {
  272. line-height: 40px;
  273. text-align: center;
  274. color: #fff;
  275. border-radius: 4px;
  276. margin-right: 20px;
  277. cursor: pointer;
  278. }
  279. .nextBtn {
  280. width: 120px;
  281. height: 40px;
  282. background-color: #444;
  283. }
  284. .okBtn {
  285. width: 120px;
  286. height: 40px;
  287. background-color: #f97215;
  288. }
  289. .closeBtn {
  290. width: 120px;
  291. height: 40px;
  292. background-color: #777;
  293. }
  294. }
  295. ::-webkit-scrollbar {
  296. width: 5px; /* 纵向滚动条*/
  297. height: 5px; /* 横向滚动条 */
  298. background-color: #fff;
  299. }
  300. /*定义滚动条轨道 内阴影*/
  301. ::-webkit-scrollbar-track {
  302. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  303. background-color: #fff;
  304. }
  305. /*定义滑块 内阴影*/
  306. ::-webkit-scrollbar-thumb {
  307. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  308. background-color: #d5d5d5;
  309. }
  310. .el-input.is-disabled .el-input__inner {
  311. color: #333;
  312. opacity: 1;
  313. }
  314. </style>