App.vue 6.1 KB

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