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.

265 lines
4.0 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 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
  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. text-align: center;
  150. float: left;
  151. height: 28px;
  152. line-height: 28px;
  153. margin-right: 10px;
  154. margin-top: 2px;
  155. }
  156. .tips{
  157. position:absolute;
  158. font-size: 14px;
  159. bottom: -10px;
  160. color: red;
  161. padding-left: 10px;
  162. flex: 0 0 auto;
  163. display: flex;
  164. flex-direction: row;
  165. justify-content: flex-start;
  166. align-items: bottom;
  167. overflow-x: hidden;
  168. }
  169. .center{
  170. text-align: center;
  171. align-items: center;
  172. }
  173. .page-center{
  174. margin:0 auto;
  175. max-width: 95vw;
  176. }
  177. //富文本必须放在全局,否则不起作用
  178. .rich-context{
  179. padding-left: 5px;
  180. padding-right: 5px;
  181. overflow: hidden;
  182. }
  183. .rich-context img{
  184. max-width: 100%;
  185. object-fit: scale-down;
  186. }
  187. .el-table .current-row > td {
  188. background: #a9d6f0 !important;
  189. }
  190. /**
  191. 模拟鼠标经过描点样式
  192. */
  193. .vlink:hover{
  194. text-decoration:none;
  195. color: blue;
  196. cursor: pointer;
  197. }
  198. /*1.显示滚动条:当内容超出容器的时候,可以拖动:*/
  199. .el-drawer__body {
  200. overflow: auto;
  201. /* overflow-x: auto; */
  202. }
  203. /*2.隐藏滚动条太丑了
  204. .el-drawer__container ::-webkit-scrollbar{
  205. display: none;
  206. }
  207. */
  208. /*此处根据不同屏幕分配率显示不同的样式*/
  209. /*手机端*/
  210. @media only screen and (min-width: 0px) and (max-width: 768px) {
  211. .page-center{
  212. margin:0 auto;
  213. max-width: 95vw;
  214. }
  215. }
  216. /*ipad*/
  217. @media only screen and (min-width: 768px) and (max-width: 992px) {
  218. .page-center{
  219. margin:0 auto;
  220. max-width: 95vw;
  221. }
  222. }
  223. /*ipadpro*/
  224. @media only screen and (min-width: 992px) and (max-width: 1200px) {
  225. .page-center{
  226. margin:0 auto;
  227. max-width: 95vw;
  228. }
  229. }
  230. /*笔记本*/
  231. @media only screen and (min-width: 1200px) and (max-width: 1920px) {
  232. .page-center{
  233. margin:0 auto;
  234. max-width: 90vw;
  235. }
  236. }
  237. /*台式电脑*/
  238. @media only screen and (min-width: 1920px) {
  239. .page-center{
  240. margin:0 auto;
  241. max-width:80vw;
  242. }
  243. }