App.vue 7.6 KB

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