You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

409 lines
6.3 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
3 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
  1. //main-container全局样式
  2. .page-full-height{
  3. height: calc(100vh);
  4. }
  5. .page-height-95{
  6. height: calc(95vh);
  7. }
  8. .page-height-85{
  9. height: calc(85vh);
  10. }
  11. .page-height-75{
  12. height: calc(75vh);
  13. }
  14. .page-height-65{
  15. height: calc(65vh);
  16. }
  17. .page-height-55{
  18. height: calc(55vh);
  19. }
  20. .page-height-45{
  21. height: calc(45vh);
  22. }
  23. .page-height-35{
  24. height: calc(35vh);
  25. }
  26. .page-height-25{
  27. height: calc(25vh);
  28. }
  29. .page-height-15{
  30. height: calc(15vh);
  31. }
  32. .page-height-90{
  33. height: calc(90vh);
  34. }
  35. .page-height-80{
  36. height: calc(80vh);
  37. }
  38. .page-height-70{
  39. height: calc(70vh);
  40. }
  41. .page-height-60{
  42. height: calc(60vh);
  43. }
  44. .page-height-50{
  45. height: calc(50vh);
  46. }
  47. .page-height-40{
  48. height: calc(40vh);
  49. }
  50. .page-height-30{
  51. height: calc(30vh);
  52. }
  53. .page-height-20{
  54. height: calc(20vh);
  55. }
  56. .page-height-10{
  57. height: calc(10vh);
  58. }
  59. .page-height-5{
  60. height: calc(5vh);
  61. }
  62. .page-container {
  63. overflow: auto;
  64. .page-tips{
  65. position:absolute;
  66. font-size: 16px;
  67. bottom: 0px;
  68. color: red;
  69. padding-left: 10px;
  70. flex: 0 0 auto;
  71. display: flex;
  72. flex-direction: row;
  73. justify-content: flex-start;
  74. align-items: center;
  75. overflow-x: hidden;
  76. }
  77. .page-header{
  78. overflow: auto;
  79. }
  80. .page-main{
  81. overflow: auto;
  82. }
  83. .page-bottom{
  84. overflow: auto;
  85. }
  86. }
  87. .overflow-auto{
  88. overflow: auto;
  89. }
  90. .overflow-x-auto{
  91. overflow-x: auto;
  92. }
  93. .overflow-y-auto{
  94. overflow-y: auto;
  95. }
  96. .overflow-hidden{
  97. overflow: hidden;
  98. }
  99. .border{
  100. border: 1px solid #e8e8e8;
  101. }
  102. .padding-20{
  103. padding:40px;
  104. }
  105. .padding{
  106. padding:10px;
  107. }
  108. .padding-top{
  109. padding-top: 10px;
  110. }
  111. .padding-bottom{
  112. padding-bottom: 10px;
  113. }
  114. .padding-left{
  115. padding-left: 10px;
  116. }
  117. .border-top{
  118. border-top: 1px solid #e8e8e8;
  119. }
  120. .border-bottom{
  121. border-bottom: 1px solid #e8e8e8;
  122. }
  123. .padding-right{
  124. padding-right: 10px;
  125. }
  126. .input-width{
  127. width:270px;
  128. }
  129. /**
  130. 更多按钮
  131. **/
  132. .more-filter {
  133. margin: 20px 0px;
  134. padding-left: 10px;
  135. padding-right: 10px;
  136. font{
  137. text-align: center;
  138. float: left;
  139. height: 28px;
  140. line-height: 28px;
  141. margin-right: 10px;
  142. margin-top: 2px;
  143. }
  144. .el-row {
  145. padding-top: 10px;
  146. }
  147. }
  148. /**
  149. 修改弹出框关闭按钮放大原来的太小
  150. **/
  151. .el-dialog__headerbtn {
  152. top: 8px !important;
  153. background-size: cover;
  154. }
  155. .el-dialog__headerbtn i {
  156. font-size: 32px;
  157. }
  158. .more-label-font {
  159. height: 32px;
  160. line-height: 32px;
  161. text-align: left;
  162. float: left;
  163. min-width: 100px;
  164. }
  165. .tips{
  166. position:absolute;
  167. font-size: 14px;
  168. bottom: -10px;
  169. color: red;
  170. padding-left: 10px;
  171. flex: 0 0 auto;
  172. display: flex;
  173. flex-direction: row;
  174. justify-content: flex-start;
  175. align-items: bottom;
  176. overflow-x: hidden;
  177. }
  178. .center{
  179. text-align: center;
  180. align-items: center;
  181. }
  182. .page-center{
  183. margin:0 auto;
  184. max-width: 95vw;
  185. }
  186. //富文本必须放在全局,否则不起作用
  187. .rich-context{
  188. padding-left: 5px;
  189. padding-right: 5px;
  190. overflow: hidden;
  191. }
  192. .rich-context img{
  193. max-width: 100%;
  194. object-fit: scale-down;
  195. }
  196. .el-table .current-row > td {
  197. background: #a9d6f0 !important;
  198. }
  199. /**
  200. 模拟鼠标经过描点样式
  201. */
  202. .vlink:hover{
  203. text-decoration:none;
  204. color: blue;
  205. cursor: pointer;
  206. }
  207. /*1.显示滚动条:当内容超出容器的时候,可以拖动:*/
  208. .el-drawer__body {
  209. overflow: auto;
  210. /* overflow-x: auto; */
  211. }
  212. .el-drawer__header{
  213. margin-bottom: 10px !important;
  214. padding: 10px 10px 0 !important;
  215. }
  216. .tool-bar{
  217. z-index: 10000;
  218. top: 50%;
  219. right:0%;
  220. transform: translate(-10%, -50%);
  221. position:absolute;
  222. visibility: hidden;
  223. }
  224. table tr:hover{
  225. .tool-bar{
  226. visibility: visible;
  227. .u-btn{
  228. float: right;
  229. }
  230. }
  231. }
  232. table tr.hover-row{
  233. .tool-bar{
  234. visibility: visible;
  235. .u-btn{
  236. float: right;
  237. }
  238. }
  239. }
  240. .cell-bar{
  241. z-index: 10000;
  242. top: 50%;
  243. right:0%;
  244. transform: translate(-50%, -50%);
  245. position:absolute;
  246. display: none;
  247. float: right;
  248. }
  249. .el-table__row td:hover{
  250. cursor: pointer;
  251. .cell-bar{
  252. display: inline;
  253. .u-btn{
  254. float: right;
  255. }
  256. }
  257. .cell-text{
  258. display:none;
  259. }
  260. }
  261. .lg-text{
  262. text-overflow: ellipsis;
  263. overflow: hidden;
  264. white-space: nowrap;
  265. max-width:250px;
  266. }
  267. .sm-text{
  268. text-overflow: ellipsis;
  269. overflow: hidden;
  270. white-space: nowrap;
  271. max-width:200px;
  272. }
  273. /**
  274. *解决表格固定列无法滚动问题
  275. */
  276. .el-table {
  277. .el-table__fixed {
  278. height:auto !important;
  279. bottom:17px !important;
  280. }
  281. }
  282. .icon {
  283. color: #fff;
  284. height: 20px;
  285. width: 20px;
  286. border-radius: 15px;
  287. text-align: center;
  288. line-height: 20px;
  289. font-size: 14px;
  290. display: inline-block;
  291. margin-right: 5px;
  292. }
  293. /**
  294. *解决项目产品视图顶部左边图标不居中的问题
  295. */
  296. .el-menu-item .top-icon > [class^=el-icon-] {
  297. margin-right: 0px !important;
  298. }
  299. .el-dialog__header{
  300. padding: 20px !important;
  301. }
  302. .el-dialog__body{
  303. padding-top: 0px !important;
  304. padding-bottom: 10px !important;
  305. padding-left: 20px !important;
  306. padding-right: 20px !important;
  307. }
  308. .label-font-color{
  309. color: #C0C4CC;
  310. }
  311. .title-font-size{
  312. font-size:28px;
  313. }
  314. .big-icon {
  315. color: #fff;
  316. height: 36px;
  317. width: 36px;
  318. border-radius: 36px;
  319. text-align: center;
  320. line-height: 36px;
  321. font-size: 18px;
  322. display: inline-block;
  323. }
  324. .icon {
  325. border-radius: 20px;
  326. color: #fff;
  327. display: inline-block;
  328. font-size: 14px;
  329. height: 20px;
  330. line-height: 20px;
  331. margin-right: 5px;
  332. text-align: center;
  333. width: 20px;
  334. }
  335. .echart-box{
  336. min-height: calc(60vh);
  337. max-height: calc(80vh);
  338. overflow-y: 'hidden';
  339. width:100%;
  340. }
  341. /*此处根据不同屏幕分配率显示不同的样式*/
  342. /*手机端*/
  343. @media only screen and (min-width: 0px) and (max-width: 768px) {
  344. .page-center{
  345. margin:0 auto;
  346. max-width: 95vw;
  347. }
  348. }
  349. /*ipad*/
  350. @media only screen and (min-width: 768px) and (max-width: 992px) {
  351. .page-center{
  352. margin:0 auto;
  353. max-width: 95vw;
  354. }
  355. }
  356. /*ipadpro*/
  357. @media only screen and (min-width: 992px) and (max-width: 1200px) {
  358. .page-center{
  359. margin:0 auto;
  360. max-width: 95vw;
  361. }
  362. }
  363. /*笔记本*/
  364. @media only screen and (min-width: 1200px) and (max-width: 1920px) {
  365. .page-center{
  366. margin:0 auto;
  367. max-width: 90vw;
  368. }
  369. }
  370. /*台式电脑*/
  371. @media only screen and (min-width: 1920px) {
  372. .page-center{
  373. margin:0 auto;
  374. max-width:80vw;
  375. }
  376. }