App.vue 6.9 KB

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