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.

317 lines
4.7 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 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
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
4 years ago
4 years ago
4 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. .more-label-font {
  149. min-width: 100px;
  150. }
  151. .tips{
  152. position:absolute;
  153. font-size: 14px;
  154. bottom: -10px;
  155. color: red;
  156. padding-left: 10px;
  157. flex: 0 0 auto;
  158. display: flex;
  159. flex-direction: row;
  160. justify-content: flex-start;
  161. align-items: bottom;
  162. overflow-x: hidden;
  163. }
  164. .center{
  165. text-align: center;
  166. align-items: center;
  167. }
  168. .page-center{
  169. margin:0 auto;
  170. max-width: 95vw;
  171. }
  172. //富文本必须放在全局,否则不起作用
  173. .rich-context{
  174. padding-left: 5px;
  175. padding-right: 5px;
  176. overflow: hidden;
  177. }
  178. .rich-context img{
  179. max-width: 100%;
  180. object-fit: scale-down;
  181. }
  182. .el-table .current-row > td {
  183. background: #a9d6f0 !important;
  184. }
  185. /**
  186. 模拟鼠标经过描点样式
  187. */
  188. .vlink:hover{
  189. text-decoration:none;
  190. color: blue;
  191. cursor: pointer;
  192. }
  193. /*1.显示滚动条:当内容超出容器的时候,可以拖动:*/
  194. .el-drawer__body {
  195. overflow: auto;
  196. /* overflow-x: auto; */
  197. }
  198. .tool-bar{
  199. visibility: hidden;
  200. float: right;
  201. }
  202. table tr:hover{
  203. .tool-bar{
  204. visibility: visible;
  205. .u-btn{
  206. float: right;
  207. }
  208. }
  209. }
  210. table tr.hover-row{
  211. .tool-bar{
  212. visibility: visible;
  213. .u-btn{
  214. float: right;
  215. }
  216. }
  217. }
  218. .cell-bar{
  219. display: none;
  220. float: right;
  221. }
  222. .el-table__row td:hover{
  223. cursor: pointer;
  224. .cell-bar{
  225. display: inline;
  226. .u-btn{
  227. float: right;
  228. }
  229. }
  230. .cell-text{
  231. display:none;
  232. }
  233. }
  234. /**
  235. *解决表格固定列无法滚动问题
  236. */
  237. .el-table {
  238. .el-table__fixed {
  239. height:auto !important;
  240. bottom:17px !important;
  241. }
  242. }
  243. .icon {
  244. color: #fff;
  245. height: 20px;
  246. width: 20px;
  247. border-radius: 15px;
  248. text-align: center;
  249. line-height: 20px;
  250. font-size: 14px;
  251. display: inline-block;
  252. margin-right: 5px;
  253. }
  254. /*2.隐藏滚动条太丑了
  255. .el-drawer__container ::-webkit-scrollbar{
  256. display: none;
  257. }
  258. */
  259. /*此处根据不同屏幕分配率显示不同的样式*/
  260. /*手机端*/
  261. @media only screen and (min-width: 0px) and (max-width: 768px) {
  262. .page-center{
  263. margin:0 auto;
  264. max-width: 95vw;
  265. }
  266. }
  267. /*ipad*/
  268. @media only screen and (min-width: 768px) and (max-width: 992px) {
  269. .page-center{
  270. margin:0 auto;
  271. max-width: 95vw;
  272. }
  273. }
  274. /*ipadpro*/
  275. @media only screen and (min-width: 992px) and (max-width: 1200px) {
  276. .page-center{
  277. margin:0 auto;
  278. max-width: 95vw;
  279. }
  280. }
  281. /*笔记本*/
  282. @media only screen and (min-width: 1200px) and (max-width: 1920px) {
  283. .page-center{
  284. margin:0 auto;
  285. max-width: 90vw;
  286. }
  287. }
  288. /*台式电脑*/
  289. @media only screen and (min-width: 1920px) {
  290. .page-center{
  291. margin:0 auto;
  292. max-width:80vw;
  293. }
  294. }