App.vue 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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-dialog {
  89. margin-bottom: 10vh;
  90. .el-dialog__header {
  91. background: #363d55;
  92. padding: 15px 20px 15px;
  93. .el-dialog__title {
  94. color: #fff
  95. }
  96. .el-dialog__headerbtn .el-dialog__close {
  97. color: #fff;
  98. }
  99. }
  100. }
  101. .el-tabs__item.is-active {
  102. color: #14928a !important;
  103. // font-size: 14px;
  104. font-weight: 600;
  105. }
  106. .el-tabs__item:hover {
  107. color: #14928a !important;
  108. // font-size: 14px;
  109. font-weight: 600;
  110. }
  111. // 选择框组件
  112. .el-form-item__content {
  113. font-size: 14px !important;
  114. }
  115. .el-select {
  116. width: 180px !important;
  117. }
  118. .multiple.el-select {
  119. width: 180px !important;
  120. }
  121. .searchBtn {
  122. width: 100px;
  123. height: 36px;
  124. line-height: 36px;
  125. background-color: #f85043;
  126. color: #fff;
  127. font-size: 14px;
  128. text-align: center;
  129. border-radius: 4px;
  130. position: relative;
  131. top: 3px;
  132. cursor: pointer;
  133. }
  134. .newBand {
  135. min-width: 100px;
  136. max-width: 130px;
  137. padding: 0 10px;
  138. height: 36px;
  139. line-height: 36px;
  140. margin-bottom: 20px;
  141. background-color: #14928a;
  142. border: 1px solid #14928a;
  143. cursor: pointer;
  144. color: #fff;
  145. font-size: 14px;
  146. text-align: center;
  147. border-radius: 4px;
  148. position: relative;
  149. top: 3px;
  150. }
  151. .btn-primary {
  152. background-color: #14928a;
  153. border-color: #14928a;
  154. color: #fff;
  155. margin-bottom: 20px;
  156. min-width: 100px;
  157. &:focus,
  158. &:hover {
  159. background-color: #0e726c;
  160. border-color: #0e726c;
  161. color: #fff;
  162. }
  163. }
  164. // 公用的搜索组件
  165. .searchWrap {
  166. display: flex;
  167. flex-direction: row;
  168. justify-content: flex-start;
  169. align-items: center;
  170. font-size: 14px;
  171. font-weight: 500;
  172. color: rgba(119, 119, 119, 1);
  173. height: 30px;
  174. margin-bottom: 30px;
  175. p {
  176. font-size: 14px;
  177. padding-left: 4px;
  178. }
  179. .searchItem {
  180. margin-left: 20px;
  181. position: relative;
  182. box-sizing: border-box;
  183. min-width: 116px;
  184. padding: 0 25px;
  185. height: 30px;
  186. line-height: 30px;
  187. background: rgba(246, 246, 246, 1);
  188. border-radius: 15px;
  189. color: #777;
  190. font-size: 14px;
  191. .el-icon-close {
  192. position: absolute;
  193. right: 5px;
  194. top: 8px;
  195. }
  196. }
  197. }
  198. .headWrap {
  199. padding: 40px 0;
  200. display: flex;
  201. flex-direction: row;
  202. justify-content: space-between;
  203. align-items: center;
  204. .left {
  205. width: 1100px;
  206. display: flex;
  207. flex-direction: row;
  208. justify-content: flex-start;
  209. align-items: center;
  210. flex-wrap: wrap;
  211. .headItem {
  212. width: 320px;
  213. height: 30px;
  214. color: #444;
  215. border-right: 1px solid #979797;
  216. p {
  217. font-size: 14px;
  218. line-height: 30px;
  219. span {
  220. font-size: 22px;
  221. line-height: 30px;
  222. }
  223. }
  224. &:nth-child(1) {
  225. width: 256px;
  226. }
  227. &:nth-child(2n) {
  228. text-align: center;
  229. }
  230. &:nth-child(3n) {
  231. border-right: 1px solid #fff;
  232. text-align: center;
  233. }
  234. &:nth-child(4n) {
  235. text-align: left !important;
  236. width: 256px;
  237. }
  238. &:nth-child(5n) {
  239. text-align: center;
  240. }
  241. }
  242. }
  243. }
  244. // 公用编剧模板
  245. .m-container {
  246. box-sizing: border-box;
  247. background-color: #fff;
  248. padding: 18px 30px 40px;
  249. // height: calc(100vh- 80px) !important;
  250. // height: calc(100vh - 70px);
  251. width: 100%;
  252. // min-width: 1440px;
  253. // overflow: auto;
  254. .m-core {
  255. margin-top: 10px;
  256. background-color: #fff;
  257. position: relative;
  258. }
  259. h2 {
  260. height: 48px;
  261. line-height: 48px;
  262. position: relative;
  263. // padding-left: 20px;
  264. font-size: 32px;
  265. font-weight: 600;
  266. margin-bottom: 10px;
  267. display: flex;
  268. flex-direction: row;
  269. justify-content: flex-start;
  270. align-items: center;
  271. .term {
  272. height: 32px;
  273. line-height: 32px;
  274. border-radius: 24px;
  275. width: 100px;
  276. color: #14928a;
  277. border: 1px solid rgba(20, 146, 138, 1);
  278. font-size: 14px;
  279. text-align: center;
  280. margin-right: 12px;
  281. &:nth-child(1) {
  282. margin-left: 47px;
  283. }
  284. }
  285. .term.active {
  286. color: #fff;
  287. background-color: #14928a;
  288. }
  289. .squrt {
  290. // position: absolute;
  291. // left: 0;
  292. // top: 8px;
  293. margin-right: 15px;
  294. height: 34px;
  295. width: 8px;
  296. background-color: #14928a;
  297. }
  298. }
  299. }
  300. .btnWrap {
  301. display: flex;
  302. flex-direction: row;
  303. justify-content: flex-end;
  304. div {
  305. line-height: 40px;
  306. text-align: center;
  307. color: #fff;
  308. border-radius: 4px;
  309. margin-right: 20px;
  310. cursor: pointer;
  311. }
  312. .nextBtn {
  313. width: 120px;
  314. height: 40px;
  315. background-color: #13817a;
  316. }
  317. .okBtn {
  318. width: 120px;
  319. height: 40px;
  320. background-color: #f97215;
  321. }
  322. .closeBtn {
  323. width: 120px;
  324. height: 40px;
  325. background-color: #777;
  326. }
  327. }
  328. ::-webkit-scrollbar {
  329. width: 8px; /* 纵向滚动条*/
  330. height: 8px; /* 横向滚动条 */
  331. background-color: #fff;
  332. }
  333. /*定义滚动条轨道 内阴影*/
  334. ::-webkit-scrollbar-track {
  335. -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0);
  336. background-color: #fff;
  337. }
  338. /*定义滑块 内阴影*/
  339. ::-webkit-scrollbar-thumb {
  340. -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0);
  341. background-color: #d5d5d5;
  342. }
  343. .el-input.is-disabled .el-input__inner {
  344. color: #333;
  345. opacity: 1;
  346. }
  347. </style>
  348. <style lang="less">
  349. .main-dot {
  350. position: relative;
  351. &::after{
  352. content: '';
  353. display: block;
  354. position: absolute;
  355. height: 8px;
  356. width: 8px;
  357. background-color: #F56C6C;
  358. border-radius: 50%;
  359. right: -10px;
  360. top: 15px;
  361. }
  362. }
  363. </style>