picture-list.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /*
  2. *这里的值严格按照UI设计图标注值来进行设置
  3. */
  4. /*
  5. *颜色
  6. */
  7. /*
  8. *页面的边距
  9. */
  10. /*
  11. *字体
  12. */
  13. /*
  14. *头像
  15. */
  16. /*
  17. * 按钮
  18. */
  19. /*
  20. *对常见的多行样式进行了方法封装,方便调用,加快开发效率
  21. */
  22. html,
  23. body {
  24. min-height: 100vh;
  25. width: 100vw;
  26. background-color: #eee;
  27. margin: 0;
  28. display: flex;
  29. font-weight: initial !important;
  30. font-size: 14px !important;
  31. color: #333 !important;
  32. }
  33. html *,
  34. body * {
  35. text-decoration: none !important;
  36. font-family: Verdana, Arial, Helvetica, sans-serif;
  37. box-sizing: border-box;
  38. }
  39. .ms-ellipsis {
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. white-space: nowrap;
  43. display: block;
  44. }
  45. .ms-align-center {
  46. display: flex;
  47. align-items: center;
  48. }
  49. input::-webkit-input-placeholder,
  50. textarea::-webkit-input-placeholder {
  51. font-weight: initial;
  52. font-size: 12px;
  53. color: #aaa;
  54. resize: none;
  55. }
  56. *::-webkit-scrollbar {
  57. width: 8px;
  58. height: 8px;
  59. }
  60. /*定义滚动条轨道 内阴影+圆角*/
  61. *::-webkit-scrollbar-track {
  62. border-radius: 10px;
  63. /*滚动条的背景区域的圆角*/
  64. background-color: #eee;
  65. /*滚动条的背景颜色*/
  66. }
  67. /*定义滑块 内阴影+圆角*/
  68. *::-webkit-scrollbar-thumb {
  69. border-radius: 10px;
  70. /*滚动条的圆角*/
  71. background-color: #ddd;
  72. /*滚动条的背景颜色*/
  73. }
  74. .ms-container {
  75. margin: 12px;
  76. height: calc(100% - 24px);
  77. padding: 14px 14px 0 14px;
  78. background: #fff;
  79. }
  80. .ms-header {
  81. padding: 10px;
  82. margin: 0;
  83. border-bottom: 1px solid #ddd;
  84. background: #fff;
  85. height: 50px;
  86. }
  87. .ms-pagination {
  88. padding: 20px 0;
  89. text-align: right;
  90. }
  91. .ms-fr {
  92. float: right;
  93. }
  94. .ms-tr {
  95. text-align: right;
  96. }
  97. .el-button + .el-button {
  98. margin-left: 0;
  99. }
  100. .ms-weixin-content {
  101. width: calc(100% - 140px);
  102. }
  103. .ms-weixin-dialog .el-dialog__header {
  104. height: 55px;
  105. box-sizing: border-box;
  106. padding: 10px 10px 25px 10px;
  107. border-bottom: 1px solid #ddd;
  108. }
  109. .ms-weixin-dialog .el-dialog__header .el-dialog__title {
  110. font-weight: bold;
  111. font-size: 14px;
  112. color: #333;
  113. }
  114. .ms-weixin-dialog .el-dialog__footer {
  115. border-top: 1px solid #ddd;
  116. padding: 15px !important;
  117. }
  118. .ms-admin-picture-list {
  119. background: #fff;
  120. margin: 12px;
  121. padding: 14px;
  122. display: flex;
  123. flex-wrap: wrap;
  124. }
  125. .ms-admin-picture-list .ms-admin-picture-item {
  126. margin: 0 24px 0 0;
  127. padding: 10px 10px 0 10px;
  128. width: 230px;
  129. display: flex;
  130. flex-direction: column;
  131. border: 1px solid #e6e6e6;
  132. border-radius: 4px;
  133. }
  134. .ms-admin-picture-list .ms-admin-picture-item .body {
  135. display: flex;
  136. flex-direction: column;
  137. line-height: 2em;
  138. }
  139. .ms-admin-picture-list .ms-admin-picture-item .body div {
  140. margin-top: 0.5em;
  141. display: flex;
  142. align-items: center;
  143. }
  144. .ms-admin-picture-list .ms-admin-picture-item .body div span {
  145. overflow: hidden;
  146. text-overflow: ellipsis;
  147. white-space: nowrap;
  148. display: block;
  149. }
  150. .ms-admin-picture-list .ms-admin-picture-item .body img {
  151. width: 100%;
  152. height: 110px;
  153. object-fit: cover;
  154. }
  155. .ms-admin-picture-list .ms-admin-picture-item .footer {
  156. display: flex;
  157. padding: 14px 0;
  158. }
  159. .ms-admin-picture-list .ms-admin-picture-item .footer i {
  160. color: #999;
  161. margin: auto;
  162. cursor: pointer;
  163. }
  164. .ms-admin-picture-list .ms-admin-picture-item .footer em {
  165. width: 1px;
  166. height: 1em;
  167. background: #e6e6e6;
  168. }