App.vue 6.6 KB

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