teachingDetail.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. .teachingDetail {
  28. padding-bottom: 80px;
  29. }
  30. .teachingDetail .backPic {
  31. width: 750rpx;
  32. position: relative;
  33. }
  34. .teachingDetail .backPic image {
  35. width: 100%;
  36. display: block;
  37. }
  38. .teachingDetail .backPic .card {
  39. position: absolute;
  40. width: 690rpx;
  41. height: 256rpx;
  42. bottom: 10px;
  43. left: 50%;
  44. padding: 30rpx;
  45. background-color: rgba(0, 0, 0, 0.26);
  46. border-radius: 10px;
  47. -webkit-transform: translate(-50%, 0);
  48. transform: translate(-50%, 0);
  49. border: 1rpx #667870 solid;
  50. color: #ffffff;
  51. }
  52. .teachingDetail .backPic .card .cardTop {
  53. display: flex;
  54. justify-content: space-between;
  55. }
  56. .teachingDetail .backPic .card .cardTop .title {
  57. margin-bottom: 20rpx;
  58. width: 506rpx;
  59. height: 48rpx;
  60. color: #ffffff;
  61. font-family: PingFang SC;
  62. overflow: hidden;
  63. text-overflow: ellipsis;
  64. white-space: nowrap;
  65. }
  66. .teachingDetail .backPic .card .cardTop .icons {
  67. flex: 1;
  68. display: flex;
  69. align-items: center;
  70. justify-content: space-between;
  71. }
  72. .teachingDetail .backPic .card .cardTop .icons .icon {
  73. width: 48rpx;
  74. height: 48rpx;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. }
  79. .teachingDetail .backPic .card .col {
  80. margin-bottom: 10rpx;
  81. font-weight: 100;
  82. color: #f0edea;
  83. }
  84. .teachingDetail .backPic .card .tag {
  85. display: flex;
  86. }
  87. .teachingDetail .teaData {
  88. width: 750rpx;
  89. display: flex;
  90. padding: 20rpx 30rpx;
  91. justify-content: space-between;
  92. }
  93. .teachingDetail .teaData .cla {
  94. width: 49%;
  95. background: linear-gradient(to bottom, #fcfcff 30%, #e8ecfd 100%);
  96. border-radius: 10px;
  97. padding: 35rpx 30rpx;
  98. color: #424f85;
  99. }
  100. .teachingDetail .teaData .cla .tit1 {
  101. margin-bottom: 10rpx;
  102. font-weight: bold;
  103. }
  104. .teachingDetail .teaData .cla2 {
  105. width: 45%;
  106. background: linear-gradient(to bottom, #fcfcff 10%, #fef3ea 100%);
  107. border-radius: 10px;
  108. padding: 35rpx 30rpx;
  109. color: #855e42;
  110. }
  111. .teachingDetail .teaData .cla2 .tit1 {
  112. margin-bottom: 10rpx;
  113. font-weight: bold;
  114. }
  115. .teachingDetail .creator {
  116. display: flex;
  117. padding: 30rpx;
  118. background-color: #ffffff;
  119. align-items: center;
  120. margin-top: 20rpx;
  121. border-radius: 10px;
  122. }
  123. .teachingDetail .creator image {
  124. width: 96rpx;
  125. height: 96rpx;
  126. border-radius: 50%;
  127. margin-right: 20rpx;
  128. }
  129. .teachingDetail .creator .creName {
  130. font-weight: bold;
  131. }
  132. .teachingDetail .member {
  133. background-color: #ffffff;
  134. margin-top: 20rpx;
  135. padding: 30rpx;
  136. border-radius: 10px;
  137. }
  138. .teachingDetail .member .memberTop {
  139. display: flex;
  140. justify-content: space-between;
  141. margin-bottom: 10px;
  142. }
  143. .teachingDetail .member .pers {
  144. display: flex;
  145. justify-content: space-between;
  146. align-items: center;
  147. }
  148. .teachingDetail .member .pers .per {
  149. display: flex;
  150. flex-direction: column;
  151. }
  152. .teachingDetail .member .pers .per image {
  153. width: 72rpx;
  154. height: 72rpx;
  155. border-radius: 50%;
  156. }
  157. .teachingDetail .member .pers .per .perName {
  158. text-align: center;
  159. }
  160. .teachingDetail .btnBlock {
  161. position: fixed;
  162. bottom: 0;
  163. width: 750rpx;
  164. background-color: #ffffff;
  165. padding: 2vh 0;
  166. }
  167. .teachingDetail .btnBlock .btn {
  168. width: 432rpx;
  169. height: 88rpx;
  170. font-weight: 500;
  171. display: flex;
  172. justify-content: center;
  173. align-items: center;
  174. margin: auto;
  175. background-color: #0056a8;
  176. color: #ffffff;
  177. }