App.vue 6.0 KB

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