App.vue 6.4 KB

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