mineClass.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. .activeBox {
  28. width: 100%;
  29. background-color: #fff;
  30. padding: 10px 0;
  31. }
  32. .activeBox .teaching_case {
  33. display: flex;
  34. justify-content: space-between;
  35. padding: 0 15px;
  36. }
  37. .activeBox .teaching_case .img {
  38. width: 180rpx;
  39. height: 180rpx;
  40. }
  41. .activeBox .teaching_case .img image {
  42. width: 100%;
  43. height: 100%;
  44. }
  45. .activeBox .teaching_case .right {
  46. padding-left: 15px;
  47. flex: 1;
  48. width: 100rpx;
  49. display: flex;
  50. flex-direction: column;
  51. align-content: flex-end;
  52. }
  53. .activeBox .teaching_case .right .title {
  54. display: flex;
  55. margin-bottom: 5px;
  56. }
  57. .activeBox .teaching_case .right .title .tag {
  58. border: 1px #00b2b6 solid;
  59. font-size: 20rpx;
  60. display: flex;
  61. white-space: nowrap;
  62. justify-content: center;
  63. align-items: center;
  64. padding: 2px 4px;
  65. border-radius: 3px;
  66. margin-right: 10rpx;
  67. color: #00b2b6;
  68. }
  69. .activeBox .teaching_case .right .title text {
  70. width: 180px;
  71. overflow: hidden;
  72. text-overflow: ellipsis;
  73. white-space: nowrap;
  74. }
  75. .activeBox .teaching_case .right .introduce {
  76. width: 230px;
  77. font-size: 28rpx;
  78. color: #a7a7a7;
  79. margin-top: 8px;
  80. overflow: hidden;
  81. text-overflow: ellipsis;
  82. white-space: nowrap;
  83. }
  84. .activeBox .teaching_case .right .operate {
  85. display: flex;
  86. justify-content: space-between;
  87. align-items: flex-end;
  88. margin-top: 15px;
  89. }
  90. .activeBox .teaching_case .right .operate .left {
  91. display: flex;
  92. flex-direction: row;
  93. width: 260rpx;
  94. color: #00000099;
  95. font-size: 24rpx;
  96. }
  97. .activeBox .teaching_case .right .operate .left .leftCollect {
  98. display: flex;
  99. align-items: flex-end;
  100. margin-right: 15px;
  101. }
  102. .activeBox .teaching_case .right .operate .left .leftCollect .text {
  103. display: flex;
  104. margin-left: 5px;
  105. }
  106. .activeBox .teaching_case .right .operate .left .leftCollect .icon {
  107. display: flex;
  108. }
  109. .activeBox .teaching_case .right .operate .left .leftCollect .icon image {
  110. width: 32rpx;
  111. height: 32rpx;
  112. }
  113. .activeBox .teaching_case .right .operate .left .leftSubscribe {
  114. display: flex;
  115. align-items: flex-end;
  116. }
  117. .activeBox .teaching_case .right .operate .left .leftSubscribe .text {
  118. display: flex;
  119. margin-left: 5px;
  120. }
  121. .activeBox .teaching_case .right .operate .left .leftSubscribe .icon {
  122. display: flex;
  123. }
  124. .activeBox .teaching_case .right .operate .left .leftSubscribe .icon image {
  125. width: 32rpx;
  126. height: 32rpx;
  127. }
  128. .activeBox .teaching_case .right .operate .right {
  129. width: 80px;
  130. display: flex;
  131. flex-direction: row;
  132. justify-content: space-around;
  133. align-items: flex-end;
  134. }
  135. .activeBox .teaching_case .right .operate .right .text {
  136. font-size: 24rpx;
  137. color: #3081E8;
  138. }
  139. .activeBox .teaching_case .right .operate .right .arrow {
  140. line-height: 10px;
  141. }
  142. .activeBox .teaching_case .right .operate .right .arrow image {
  143. width: 32rpx;
  144. height: 32rpx;
  145. }