App.vue 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  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: #eef4f9;
  260. width: 100%;
  261. min-height: 560px;
  262. padding-top: 10px;
  263. .m-core {
  264. padding: 18px 20px 40px;
  265. margin-bottom: 20px;
  266. background-color: #fff;
  267. position: relative;
  268. }
  269. & > h2 {
  270. height: 48px;
  271. line-height: 48px;
  272. position: relative;
  273. font-size: 26px;
  274. font-weight: 600;
  275. padding-bottom: 15px;
  276. display: flex;
  277. flex-direction: row;
  278. justify-content: flex-start;
  279. align-items: center;
  280. color: #212121;
  281. // border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  282. .term {
  283. height: 32px;
  284. line-height: 32px;
  285. border-radius: 24px;
  286. width: 100px;
  287. color: var(--color-primary);
  288. border: 1px solid var(--color-primary);
  289. font-size: 14px;
  290. text-align: center;
  291. margin-right: 12px;
  292. &:nth-child(1) {
  293. margin-left: 47px;
  294. }
  295. }
  296. .term.active {
  297. color: #fff;
  298. background-color: var(--color-primary);
  299. }
  300. .squrt {
  301. // margin-right: 15px;
  302. // height: 34px;
  303. // width: 8px;
  304. // background-color: var(--color-primary);
  305. }
  306. }
  307. }
  308. .btnWrap {
  309. display: flex;
  310. flex-direction: row;
  311. justify-content: flex-end;
  312. div {
  313. line-height: 40px;
  314. text-align: center;
  315. color: #fff;
  316. border-radius: 4px;
  317. margin-right: 20px;
  318. cursor: pointer;
  319. }
  320. .nextBtn {
  321. width: 120px;
  322. height: 40px;
  323. background-color: var(--color-primary);
  324. }
  325. .okBtn {
  326. width: 120px;
  327. height: 40px;
  328. background-color: #f97215;
  329. }
  330. .closeBtn {
  331. width: 120px;
  332. height: 40px;
  333. background-color: #777;
  334. }
  335. }
  336. ::-webkit-scrollbar {
  337. width: 8px; /* 纵向滚动条*/
  338. height: 8px; /* 横向滚动条 */
  339. background-color: #fff;
  340. }
  341. /*定义滚动条轨道 内阴影*/
  342. ::-webkit-scrollbar-track {
  343. -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0);
  344. background-color: #fff;
  345. }
  346. /*定义滑块 内阴影*/
  347. ::-webkit-scrollbar-thumb {
  348. -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0);
  349. background-color: #d5d5d5;
  350. }
  351. .el-input.is-disabled .el-input__inner {
  352. color: #333;
  353. opacity: 1;
  354. }
  355. .horizontal-scrollbar {
  356. .el-scrollbar__wrap {
  357. overflow-x: hidden;
  358. // margin-bottom: -8px !important;
  359. margin-right: -8px !important;
  360. .el-scrollbar__view {
  361. white-space: nowrap;
  362. }
  363. }
  364. }
  365. </style>
  366. <style lang="less">
  367. .main-dot {
  368. position: relative;
  369. &::after {
  370. content: "";
  371. display: block;
  372. position: absolute;
  373. height: 8px;
  374. width: 8px;
  375. background-color: #f56c6c;
  376. border-radius: 50%;
  377. right: 5px;
  378. top: 5px;
  379. }
  380. }
  381. .el-select__tags {
  382. overflow: hidden;
  383. flex-wrap: nowrap;
  384. }
  385. .el-select__tags {
  386. .el-tag.el-tag--info.el-tag--small.el-tag--light {
  387. display: flex;
  388. flex-direction: row;
  389. justify-content: space-between;
  390. align-items: center;
  391. .el-select__tags-text {
  392. flex-wrap: nowrap;
  393. max-width: 60px;
  394. overflow: hidden;
  395. text-overflow: ellipsis;
  396. display: inline-block;
  397. }
  398. }
  399. }
  400. </style>