App.vue 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <template>
  2. <div id="app" v-cloak>
  3. <router-view v-if="isRouterAlive" v-cloak/>
  4. </div>
  5. </template>
  6. <script>
  7. import Vue from "vue";
  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. created() {},
  21. methods: {
  22. reloads() {
  23. this.isRouterAlive = false;
  24. this.$nextTick(function () {
  25. this.isRouterAlive = true;
  26. });
  27. },
  28. },
  29. };
  30. </script>
  31. <style lang="scss">
  32. * {
  33. margin: 0;
  34. padding: 0;
  35. touch-action: none !important;
  36. }
  37. [v-cloak] {
  38. display: none !important;
  39. }
  40. html {
  41. --color-primary: #00A79D;
  42. }
  43. // 13817a
  44. body {
  45. background-color: #eef4f9 !important;
  46. }
  47. /* 出去多选框中的关闭按钮 */
  48. .el-select__tags .el-tag__close.el-icon-close {
  49. display: none;
  50. }
  51. .el-checkbox__input.is-focus {
  52. visibility: hidden;
  53. }
  54. .el-checkbox__inner:hover {
  55. background-color: val(--color-primary);
  56. }
  57. .el-checkbox__input.is-checked .el-checkbox__inner,
  58. .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  59. background-color: var(--color-primary);
  60. border-color: var(--color-primary);
  61. }
  62. .el-select__tags .el-tag__close.el-icon-close {
  63. display: inline-block;
  64. }
  65. .el-checkbox__input.is-checked + .el-checkbox__label {
  66. color: #606266;
  67. }
  68. .el-tabs__item {
  69. font-size: 16px !important;
  70. }
  71. </style>
  72. <style lang="scss">
  73. .el-table {
  74. width: 99% !important;
  75. border-left: 1px solid #ebeef5;
  76. border-right: 1px solid #ebeef5;
  77. }
  78. .el-tabs__content {
  79. overflow: auto;
  80. }
  81. .el-tabs__item:focus.is-active.is-focus:not(:active) {
  82. box-shadow: none;
  83. border-top-left-radius: 20px;
  84. border-top-right-radius: 20px;
  85. }
  86. input::-webkit-outer-spin-button,
  87. input::-webkit-inner-spin-button {
  88. -webkit-appearance: none;
  89. }
  90. input[type="number"] {
  91. -moz-appearance: textfield;
  92. }
  93. .el-input__inner {
  94. line-height: 1px !important;
  95. }
  96. .el-dialog {
  97. margin-bottom: 10vh;
  98. .el-dialog__header {
  99. // background: #363d55;
  100. background: var(--color-primary);
  101. padding: 15px 20px 15px;
  102. .el-dialog__title {
  103. color: #fff;
  104. }
  105. .el-dialog__headerbtn .el-dialog__close {
  106. color: #fff;
  107. }
  108. }
  109. }
  110. .el-tabs__item.is-active {
  111. // color: var(--color-primary) !important;
  112. // font-size: 14px;
  113. font-weight: 600;
  114. }
  115. .el-tabs__item:hover {
  116. // color: var(--color-primary) !important;
  117. // font-size: 14px;
  118. font-weight: 600;
  119. }
  120. // 选择框组件
  121. .el-form-item__content {
  122. font-size: 14px !important;
  123. }
  124. .el-select {
  125. width: 180px !important;
  126. }
  127. .el-input__count{
  128. background-color: transparent!important;
  129. }
  130. .multiple.el-select {
  131. width: 180px !important;
  132. }
  133. .searchBtn {
  134. width: 100px;
  135. height: 36px;
  136. line-height: 36px;
  137. background-color: #f85043;
  138. color: #fff;
  139. font-size: 14px;
  140. text-align: center;
  141. border-radius: 4px;
  142. position: relative;
  143. top: 3px;
  144. cursor: pointer;
  145. }
  146. .newBand {
  147. min-width: 100px;
  148. max-width: 150px;
  149. padding: 0 10px;
  150. height: 36px;
  151. line-height: 36px;
  152. margin-bottom: 20px;
  153. background-color: var(--color-primary);
  154. border: 1px solid var(--color-primary);
  155. cursor: pointer;
  156. color: #fff;
  157. font-size: 14px;
  158. text-align: center;
  159. border-radius: 4px;
  160. position: relative;
  161. top: 3px;
  162. }
  163. .btn-primary {
  164. background-color: var(--color-primary);
  165. border-color: var(--color-primary);
  166. color: #fff;
  167. margin-bottom: 20px;
  168. min-width: 100px;
  169. &:focus,
  170. &:hover {
  171. // background-color: #0e726c;
  172. // border-color: #0e726c;
  173. color: #fff;
  174. }
  175. }
  176. // 公用的搜索组件
  177. .searchWrap {
  178. display: flex;
  179. flex-direction: row;
  180. justify-content: flex-start;
  181. align-items: center;
  182. font-size: 14px;
  183. font-weight: 500;
  184. color: rgba(119, 119, 119, 1);
  185. height: 30px;
  186. margin-bottom: 30px;
  187. p {
  188. font-size: 14px;
  189. padding-left: 4px;
  190. }
  191. .searchItem {
  192. margin-left: 20px;
  193. position: relative;
  194. box-sizing: border-box;
  195. min-width: 116px;
  196. padding: 0 25px;
  197. height: 30px;
  198. line-height: 30px;
  199. background: rgba(246, 246, 246, 1);
  200. border-radius: 15px;
  201. color: #777;
  202. font-size: 14px;
  203. .el-icon-close {
  204. position: absolute;
  205. right: 5px;
  206. top: 8px;
  207. }
  208. }
  209. }
  210. .headWrap {
  211. padding: 40px 0;
  212. display: flex;
  213. flex-direction: row;
  214. justify-content: space-between;
  215. align-items: center;
  216. .left {
  217. width: 1100px;
  218. display: flex;
  219. flex-direction: row;
  220. justify-content: flex-start;
  221. align-items: center;
  222. flex-wrap: wrap;
  223. .headItem {
  224. width: 320px;
  225. height: 30px;
  226. color: #444;
  227. border-right: 1px solid #979797;
  228. p {
  229. font-size: 14px;
  230. line-height: 30px;
  231. span {
  232. font-size: 22px;
  233. line-height: 30px;
  234. }
  235. }
  236. &:nth-child(1) {
  237. width: 256px;
  238. }
  239. &:nth-child(2n) {
  240. text-align: center;
  241. }
  242. &:nth-child(3n) {
  243. border-right: 1px solid #fff;
  244. text-align: center;
  245. }
  246. &:nth-child(4n) {
  247. text-align: left !important;
  248. width: 256px;
  249. }
  250. &:nth-child(5n) {
  251. text-align: center;
  252. }
  253. }
  254. }
  255. }
  256. // 公用编剧模板
  257. .m-container {
  258. box-sizing: border-box;
  259. background-color: #fff;
  260. padding: 18px 30px 40px;
  261. // height: calc(100vh - 145px) !important;
  262. // height: calc(100vh - 70px);
  263. width: 100%;
  264. // min-width: 1440px;
  265. // overflow: auto;
  266. min-height: 560px;
  267. .m-core {
  268. margin-top: 10px;
  269. background-color: #fff;
  270. position: relative;
  271. }
  272. // & > h2 {
  273. // display: none !important;
  274. // }
  275. & > h2 {
  276. height: 48px;
  277. line-height: 48px;
  278. position: relative;
  279. // padding-left: 20px;
  280. font-size: 26px;
  281. font-weight: 600;
  282. padding-bottom: 15px;
  283. margin-bottom: 20px;
  284. display: flex;
  285. flex-direction: row;
  286. justify-content: flex-start;
  287. align-items: center;
  288. color: #212121;
  289. border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  290. .term {
  291. height: 32px;
  292. line-height: 32px;
  293. border-radius: 24px;
  294. width: 100px;
  295. color: var(--color-primary);
  296. border: 1px solid var(--color-primary);
  297. font-size: 14px;
  298. text-align: center;
  299. margin-right: 12px;
  300. &:nth-child(1) {
  301. margin-left: 47px;
  302. }
  303. }
  304. .term.active {
  305. color: #fff;
  306. background-color: var(--color-primary);
  307. }
  308. .squrt {
  309. // margin-right: 15px;
  310. // height: 34px;
  311. // width: 8px;
  312. // background-color: var(--color-primary);
  313. }
  314. }
  315. }
  316. .btnWrap {
  317. display: flex;
  318. flex-direction: row;
  319. justify-content: flex-end;
  320. div {
  321. line-height: 40px;
  322. text-align: center;
  323. color: #fff;
  324. border-radius: 4px;
  325. margin-right: 20px;
  326. cursor: pointer;
  327. }
  328. .nextBtn {
  329. width: 120px;
  330. height: 40px;
  331. background-color: var(--color-primary);
  332. }
  333. .okBtn {
  334. width: 120px;
  335. height: 40px;
  336. background-color: #f97215;
  337. }
  338. .closeBtn {
  339. width: 120px;
  340. height: 40px;
  341. background-color: #777;
  342. }
  343. }
  344. ::-webkit-scrollbar {
  345. width: 8px; /* 纵向滚动条*/
  346. height: 8px; /* 横向滚动条 */
  347. background-color: #fff;
  348. }
  349. /*定义滚动条轨道 内阴影*/
  350. ::-webkit-scrollbar-track {
  351. -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0);
  352. background-color: #fff;
  353. }
  354. /*定义滑块 内阴影*/
  355. ::-webkit-scrollbar-thumb {
  356. -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0);
  357. background-color: #d5d5d5;
  358. }
  359. .el-input.is-disabled .el-input__inner {
  360. color: #333;
  361. opacity: 1;
  362. }
  363. .horizontal-scrollbar {
  364. .el-scrollbar__wrap {
  365. overflow-x: hidden;
  366. // margin-bottom: -8px !important;
  367. margin-right: -8px !important;
  368. .el-scrollbar__view {
  369. white-space: nowrap;
  370. }
  371. }
  372. }
  373. </style>
  374. <style lang="less">
  375. .main-dot {
  376. position: relative;
  377. &::after {
  378. content: "";
  379. display: block;
  380. position: absolute;
  381. height: 8px;
  382. width: 8px;
  383. background-color: #f56c6c;
  384. border-radius: 50%;
  385. right: 5px;
  386. top: 5px;
  387. }
  388. }
  389. .el-select__tags {
  390. overflow: hidden;
  391. flex-wrap: nowrap;
  392. }
  393. .el-select__tags {
  394. .el-tag.el-tag--info.el-tag--small.el-tag--light {
  395. display: flex;
  396. flex-direction: row;
  397. justify-content: space-between;
  398. align-items: center;
  399. .el-select__tags-text {
  400. flex-wrap: nowrap;
  401. max-width: 60px;
  402. overflow: hidden;
  403. text-overflow: ellipsis;
  404. display: inline-block;
  405. }
  406. }
  407. }
  408. </style>