article.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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: #999;
  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-article {
  104. display: flex;
  105. justify-content: space-between;
  106. width: 100%;
  107. background: transparent !important;
  108. }
  109. .ms-article .el-container .el-aside {
  110. padding: 14px;
  111. background: #fff;
  112. height: 475px;
  113. }
  114. .ms-article .el-container .el-aside .ms-main-article {
  115. position: relative;
  116. }
  117. .ms-article .el-container .el-aside .ms-main-article img {
  118. width: 100%;
  119. height: 146px;
  120. }
  121. .ms-article .el-container .el-aside .ms-main-article .ms-main-article-mask {
  122. background: #000;
  123. opacity: .2;
  124. width: 100%;
  125. height: 146px;
  126. position: absolute;
  127. top: 0;
  128. left: 0;
  129. }
  130. .ms-article .el-container .el-aside .ms-main-article span {
  131. position: absolute;
  132. bottom: 0;
  133. padding: 15px;
  134. color: #fff;
  135. overflow: hidden;
  136. text-overflow: ellipsis;
  137. display: -webkit-box;
  138. -webkit-line-clamp: 2;
  139. -webkit-box-orient: vertical;
  140. }
  141. .ms-article .el-container .el-aside .ms-article-item {
  142. width: 100%;
  143. height: 70px;
  144. display: flex;
  145. justify-content: space-between;
  146. padding: 10px 0;
  147. border-bottom: 1px solid #ddd;
  148. }
  149. .ms-article .el-container .el-aside .ms-article-item p {
  150. margin: 0 10px 0 0;
  151. display: flex;
  152. justify-content: space-between;
  153. align-items: center;
  154. }
  155. .ms-article .el-container .el-aside .ms-article-item p span {
  156. width: 100%;
  157. display: inline-block;
  158. overflow: hidden;
  159. text-overflow: ellipsis;
  160. display: -webkit-box;
  161. -webkit-line-clamp: 1;
  162. -webkit-box-orient: vertical;
  163. }
  164. .ms-article .el-container .el-aside .ms-article-item img {
  165. width: 50px;
  166. height: 50px;
  167. }
  168. .ms-article .el-container .el-aside .ms-article-item:hover {
  169. cursor: pointer;
  170. }
  171. .ms-article .el-container .el-aside .ms-article-footer {
  172. background: #fff;
  173. padding-top: 20px;
  174. }
  175. .ms-article .el-container .el-aside .ms-article-footer .el-button {
  176. width: 100%;
  177. background: #f2f2f6;
  178. }
  179. .ms-article .el-container .el-aside .ms-article-footer .el-button i,
  180. .ms-article .el-container .el-aside .ms-article-footer .el-button span {
  181. font-weight: initial;
  182. font-size: 12px;
  183. color: #999;
  184. }
  185. .ms-article .el-container .el-main {
  186. flex: 1;
  187. margin-left: 14px;
  188. padding: 0 !important;
  189. }
  190. .ms-article .el-container .el-main .ms-main-header {
  191. background: #fff;
  192. display: flex;
  193. justify-content: space-between;
  194. height: 180px;
  195. padding: 20px;
  196. padding-bottom: 24px;
  197. box-sizing: border-box;
  198. border-bottom: 1px solid #ddd;
  199. }
  200. .ms-article .el-container .el-main .ms-main-header .ms-pic-upload {
  201. width: 140px;
  202. height: 140px;
  203. border-radius: 4px;
  204. border: 1px dashed #ddd;
  205. display: flex;
  206. justify-content: center;
  207. flex-direction: column;
  208. margin-right: 20px;
  209. }
  210. .ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload {
  211. display: flex;
  212. justify-content: space-between;
  213. flex-direction: column;
  214. align-items: center;
  215. }
  216. .ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload span {
  217. font-weight: initial;
  218. font-size: 12px;
  219. color: #999;
  220. margin-top: 4px;
  221. }
  222. .ms-article .el-container .el-main .ms-main-header .ms-pic-upload .el-upload i {
  223. font-weight: initial;
  224. font-size: 18px;
  225. color: #999;
  226. }
  227. .ms-article .el-container .el-main .ms-main-header .el-form {
  228. flex: 1;
  229. margin: 0 !important;
  230. display: flex;
  231. justify-content: space-between;
  232. flex-direction: column;
  233. }
  234. .ms-article .el-container .el-main .ms-main-header .el-form .el-form-item {
  235. margin-bottom: 0 !important;
  236. }
  237. .ms-article .el-container .el-main .ms-main-header .el-form .el-input__suffix {
  238. top: -3px !important;
  239. }
  240. .ms-article .el-container .el-main .ms-main-body {
  241. height: calc(100% - 180px);
  242. background: #fff;
  243. }
  244. .ms-article .el-container .el-main .ms-main-body .edui-editor {
  245. height: 100%;
  246. }
  247. .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor-toolbarboxouter {
  248. background-color: none !important;
  249. background-image: none !important;
  250. }
  251. .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor {
  252. border: none !important;
  253. }
  254. .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor .edui-editor-toolbarbox {
  255. box-shadow: none !important;
  256. }
  257. .ms-article .el-container .el-main .ms-main-body .edui-editor .edui-editor .edui-editor-toolbarbox .edui-editor-toolbarboxouter {
  258. background-color: transparent !important;
  259. background-image: none !important;
  260. border: none !important;
  261. border-radius: 0 !important;
  262. box-shadow: none !important;
  263. }