App.vue 7.1 KB

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