mineActive.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. justify-content: space-between;
  94. align-items: flex-end;
  95. width: 260rpx;
  96. }
  97. .activeBox .teaching_case .right .operate .left .money {
  98. color: #FFA338;
  99. font-weight: bold;
  100. font-size: 36rpx;
  101. line-height: 20px;
  102. }
  103. .activeBox .teaching_case .right .operate .left .person {
  104. color: #00000099;
  105. font-size: 24rpx;
  106. }
  107. .activeBox .teaching_case .right .operate .right {
  108. width: 80px;
  109. display: flex;
  110. flex-direction: row;
  111. justify-content: space-around;
  112. align-items: flex-end;
  113. }
  114. .activeBox .teaching_case .right .operate .right .text {
  115. font-size: 24rpx;
  116. color: #3081E8;
  117. }
  118. .activeBox .teaching_case .right .operate .right .arrow {
  119. line-height: 10px;
  120. }
  121. .activeBox .teaching_case .right .operate .right .arrow image {
  122. width: 32rpx;
  123. height: 32rpx;
  124. }