App.vue 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. <template>
  2. <div id="app" v-cloak>
  3. <router-view v-if="isRouterAlive" />
  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. #app {
  41. --color-primary: #14928a;
  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: rgb(19, 129, 122);
  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. </style>
  69. <style lang="scss">
  70. .el-table {
  71. width: 99% !important;
  72. border-left: 1px solid #ebeef5;
  73. border-right: 1px solid #ebeef5;
  74. }
  75. .el-tabs__content {
  76. overflow: auto;
  77. }
  78. .el-tabs__item:focus.is-active.is-focus:not(:active) {
  79. box-shadow: none;
  80. border-top-left-radius: 20px;
  81. border-top-right-radius: 20px;
  82. }
  83. input::-webkit-outer-spin-button,
  84. input::-webkit-inner-spin-button {
  85. -webkit-appearance: none;
  86. }
  87. input[type="number"] {
  88. -moz-appearance: textfield;
  89. }
  90. .el-input__inner {
  91. line-height: 1px !important;
  92. }
  93. .el-dialog {
  94. margin-bottom: 10vh;
  95. .el-dialog__header {
  96. background: #363d55;
  97. padding: 15px 20px 15px;
  98. .el-dialog__title {
  99. color: #fff;
  100. }
  101. .el-dialog__headerbtn .el-dialog__close {
  102. color: #fff;
  103. }
  104. }
  105. }
  106. .el-tabs__item.is-active {
  107. // color: var(--color-primary) !important;
  108. // font-size: 14px;
  109. font-weight: 600;
  110. }
  111. .el-tabs__item:hover {
  112. // color: var(--color-primary) !important;
  113. // font-size: 14px;
  114. font-weight: 600;
  115. }
  116. // 选择框组件
  117. .el-form-item__content {
  118. font-size: 14px !important;
  119. }
  120. .el-select {
  121. width: 180px !important;
  122. }
  123. .el-input__count{
  124. background-color: transparent!important;
  125. }
  126. .multiple.el-select {
  127. width: 180px !important;
  128. }
  129. .searchBtn {
  130. width: 100px;
  131. height: 36px;
  132. line-height: 36px;
  133. background-color: #f85043;
  134. color: #fff;
  135. font-size: 14px;
  136. text-align: center;
  137. border-radius: 4px;
  138. position: relative;
  139. top: 3px;
  140. cursor: pointer;
  141. }
  142. .newBand {
  143. min-width: 100px;
  144. max-width: 150px;
  145. padding: 0 10px;
  146. height: 36px;
  147. line-height: 36px;
  148. margin-bottom: 20px;
  149. background-color: var(--color-primary);
  150. border: 1px solid var(--color-primary);
  151. cursor: pointer;
  152. color: #fff;
  153. font-size: 14px;
  154. text-align: center;
  155. border-radius: 4px;
  156. position: relative;
  157. top: 3px;
  158. }
  159. .btn-primary {
  160. background-color: var(--color-primary);
  161. border-color: var(--color-primary);
  162. color: #fff;
  163. margin-bottom: 20px;
  164. min-width: 100px;
  165. &:focus,
  166. &:hover {
  167. // background-color: #0e726c;
  168. // border-color: #0e726c;
  169. color: #fff;
  170. }
  171. }
  172. // 公用的搜索组件
  173. .searchWrap {
  174. display: flex;
  175. flex-direction: row;
  176. justify-content: flex-start;
  177. align-items: center;
  178. font-size: 14px;
  179. font-weight: 500;
  180. color: rgba(119, 119, 119, 1);
  181. height: 30px;
  182. margin-bottom: 30px;
  183. p {
  184. font-size: 14px;
  185. padding-left: 4px;
  186. }
  187. .searchItem {
  188. margin-left: 20px;
  189. position: relative;
  190. box-sizing: border-box;
  191. min-width: 116px;
  192. padding: 0 25px;
  193. height: 30px;
  194. line-height: 30px;
  195. background: rgba(246, 246, 246, 1);
  196. border-radius: 15px;
  197. color: #777;
  198. font-size: 14px;
  199. .el-icon-close {
  200. position: absolute;
  201. right: 5px;
  202. top: 8px;
  203. }
  204. }
  205. }
  206. .headWrap {
  207. padding: 40px 0;
  208. display: flex;
  209. flex-direction: row;
  210. justify-content: space-between;
  211. align-items: center;
  212. .left {
  213. width: 1100px;
  214. display: flex;
  215. flex-direction: row;
  216. justify-content: flex-start;
  217. align-items: center;
  218. flex-wrap: wrap;
  219. .headItem {
  220. width: 320px;
  221. height: 30px;
  222. color: #444;
  223. border-right: 1px solid #979797;
  224. p {
  225. font-size: 14px;
  226. line-height: 30px;
  227. span {
  228. font-size: 22px;
  229. line-height: 30px;
  230. }
  231. }
  232. &:nth-child(1) {
  233. width: 256px;
  234. }
  235. &:nth-child(2n) {
  236. text-align: center;
  237. }
  238. &:nth-child(3n) {
  239. border-right: 1px solid #fff;
  240. text-align: center;
  241. }
  242. &:nth-child(4n) {
  243. text-align: left !important;
  244. width: 256px;
  245. }
  246. &:nth-child(5n) {
  247. text-align: center;
  248. }
  249. }
  250. }
  251. }
  252. // 公用编剧模板
  253. .m-container {
  254. box-sizing: border-box;
  255. background-color: #fff;
  256. padding: 18px 30px 40px;
  257. // height: calc(100vh - 145px) !important;
  258. // height: calc(100vh - 70px);
  259. width: 100%;
  260. // min-width: 1440px;
  261. // overflow: auto;
  262. .m-core {
  263. margin-top: 10px;
  264. background-color: #fff;
  265. position: relative;
  266. }
  267. // & > h2 {
  268. // display: none !important;
  269. // }
  270. h2 {
  271. height: 48px;
  272. line-height: 48px;
  273. position: relative;
  274. // padding-left: 20px;
  275. font-size: 32px;
  276. font-weight: 600;
  277. margin-bottom: 10px;
  278. display: flex;
  279. flex-direction: row;
  280. justify-content: flex-start;
  281. align-items: center;
  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>