mineClass.wxss 3.7 KB

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