mineCollect.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .collectBox {
  28. margin: 0 30rpx;
  29. }
  30. .collectBox .collect_length {
  31. width: 100%;
  32. height: 40rpx;
  33. font-size: 24rpx;
  34. font-weight: 400;
  35. color: #00000099;
  36. display: flex;
  37. align-items: center;
  38. margin-top: 6px;
  39. margin-bottom: 6px;
  40. }
  41. .collectBox .classBox {
  42. width: 100%;
  43. height: 248rpx;
  44. background-color: #fff;
  45. border-radius: 20rpx;
  46. padding: 0 16rpx;
  47. margin-bottom: 8px;
  48. }
  49. .collectBox .classBox .classTitle {
  50. display: flex;
  51. padding-top: 15px;
  52. justify-content: space-between;
  53. margin-bottom: 6px;
  54. }
  55. .collectBox .classBox .classTitle ._span {
  56. font-size: 32rpx;
  57. font-weight: 500;
  58. }
  59. .collectBox .classBox .classTitle image {
  60. width: 32rpx;
  61. height: 32rpx;
  62. }
  63. .collectBox .classBox .classContent {
  64. width: 100%;
  65. display: flex;
  66. justify-content: space-between;
  67. }
  68. .collectBox .classBox .classContent .contentLeft {
  69. display: flex;
  70. flex-direction: column;
  71. }
  72. .collectBox .classBox .classContent .contentLeft .constDate {
  73. display: flex;
  74. margin-bottom: 6px;
  75. }
  76. .collectBox .classBox .classContent .contentLeft .constDate ._span {
  77. color: #00000066;
  78. font-size: 24rpx;
  79. font-weight: 400;
  80. }
  81. .collectBox .classBox .classContent .contentLeft .constDate ._span.manage {
  82. border: 1px #00B2B6 solid;
  83. font-size: 10px;
  84. display: flex;
  85. white-space: nowrap;
  86. justify-content: center;
  87. align-items: center;
  88. padding: 1px 6px;
  89. border-radius: 3px;
  90. margin-right: 10rpx;
  91. color: #00B2B6;
  92. font-weight: 600;
  93. }
  94. .collectBox .classBox .classContent .contentLeft .constDate ._span:nth-child(2) {
  95. color: #E7E7E7;
  96. margin-left: 4px;
  97. }
  98. .collectBox .classBox .classContent .contentLeft .constDate ._span:nth-child(3) {
  99. margin-left: 6px;
  100. }
  101. .collectBox .classBox .classContent .contentLeft .constDate ._span:nth-child(4) {
  102. margin-left: 6px;
  103. }
  104. .collectBox .classBox .classContent .contentLeft .classIntro {
  105. width: 93%;
  106. }
  107. .collectBox .classBox .classContent .contentLeft .classIntro ._span {
  108. color: #00000099;
  109. font-size: 28rpx;
  110. display: -webkit-box;
  111. word-break: break-all;
  112. text-overflow: ellipsis;
  113. overflow: hidden;
  114. -webkit-box-orient: vertical;
  115. -webkit-line-clamp: 2;
  116. /*设置 需要显示的行数*/
  117. line-height: 23px;
  118. }
  119. .collectBox .classBox .classContent .contentRight image {
  120. width: 182rpx;
  121. height: 132rpx;
  122. border-radius: 8rpx;
  123. }