material-list.less 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @import "../ms-admin/4.7.0/less/app.less";
  2. .ms-weixin-content{
  3. .ms-header{
  4. >.el-select--small:first-child{
  5. width: 100px !important;
  6. }
  7. }
  8. .ms-admin-material-list{
  9. background: #fff;
  10. .ms-margin-padding(12px, 14px);
  11. display: flex;
  12. flex-wrap: wrap;
  13. //单个素材
  14. .ms-admin-material-item {
  15. .ms-margin-padding(0 24px 24px 0, 0 10px);
  16. width: 230px;
  17. display: flex;
  18. flex-direction: column;
  19. border: 1px solid #e6e6e6;
  20. border-radius: 4px;
  21. .head {
  22. border-bottom: 1px solid #e6e6e6;
  23. padding: 10px 0;
  24. .ms-flex();
  25. align-items: center;
  26. span {
  27. color: @contentColor;
  28. }
  29. .icon-weixin{
  30. .ms-font(16px,rgb(154, 205, 50));
  31. }
  32. }
  33. .body {
  34. display: flex;
  35. flex-direction: column;
  36. line-height: 2em;
  37. span {
  38. .ms-ellipsis;
  39. .ms-hover;
  40. }
  41. img {
  42. .ms-width-height(170px, 110px);
  43. margin: 0 auto;
  44. object-fit: cover;
  45. }
  46. p {
  47. margin: 0;
  48. color: @contentColor;
  49. .ms-ellipsis-clamp(3);
  50. }
  51. }
  52. .footer {
  53. display: flex;
  54. padding: 14px 0;
  55. i {
  56. color: @contentColor;
  57. margin: auto;
  58. .ms-hover;
  59. }
  60. em {
  61. .ms-width-height(1px, 1em);
  62. background: #e6e6e6;
  63. }
  64. }
  65. }
  66. }
  67. }