teachingDetail.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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: 650rpx;
  41. height: 130px;
  42. bottom: 10px;
  43. left: 50%;
  44. padding: 30rpx 20rpx;
  45. -webkit-backdrop-filter: blur(2px);
  46. backdrop-filter: blur(2px);
  47. border-radius: 10px;
  48. -webkit-transform: translate(-50%, 0);
  49. transform: translate(-50%, 0);
  50. border: 1rpx #667870 solid;
  51. color: #ffffff;
  52. }
  53. .teachingDetail .backPic .card .cardTop {
  54. display: flex;
  55. justify-content: space-between;
  56. }
  57. .teachingDetail .backPic .card .cardTop .title {
  58. font-weight: bold;
  59. font-size: 20px;
  60. }
  61. .teachingDetail .backPic .card .col {
  62. margin-bottom: 10rpx;
  63. font-weight: 100;
  64. }
  65. .teachingDetail .backPic .card .tag {
  66. display: flex;
  67. }
  68. .teachingDetail .teaData {
  69. width: 750rpx;
  70. display: flex;
  71. padding: 20px 30rpx;
  72. justify-content: space-between;
  73. }
  74. .teachingDetail .teaData .cla {
  75. width: 49%;
  76. background: linear-gradient(to bottom, #fcfcff 30%, #e8ecfd 100%);
  77. border-radius: 10px;
  78. padding: 20px 10px;
  79. color: #424f85;
  80. }
  81. .teachingDetail .teaData .cla .tit1 {
  82. font-size: 22px;
  83. margin-bottom: 10px;
  84. font-weight: bold;
  85. }
  86. .teachingDetail .teaData .cla .tit2 {
  87. margin-bottom: 5px;
  88. }
  89. .teachingDetail .teaData .cla2 {
  90. width: 45%;
  91. background: linear-gradient(to bottom, #fcfcff 10%, #fef3ea 100%);
  92. border-radius: 10px;
  93. padding: 20px 10px;
  94. color: #855e42;
  95. }
  96. .teachingDetail .teaData .cla2 .tit1 {
  97. font-size: 22px;
  98. margin-bottom: 10px;
  99. font-weight: bold;
  100. }
  101. .teachingDetail .teaData .cla2 .tit2 {
  102. margin-bottom: 5px;
  103. }
  104. .teachingDetail .creator {
  105. display: flex;
  106. padding: 10px 30px;
  107. background-color: #ffffff;
  108. align-items: center;
  109. margin-top: 20px;
  110. border-radius: 10px;
  111. }
  112. .teachingDetail .creator image {
  113. width: 60px;
  114. height: 60px;
  115. border-radius: 50%;
  116. margin-right: 20rpx;
  117. }
  118. .teachingDetail .creator .creName {
  119. font-weight: bold;
  120. }
  121. .teachingDetail .member {
  122. background-color: #ffffff;
  123. margin-top: 20px;
  124. padding: 10px 10px;
  125. border: 10px;
  126. border-radius: 10px;
  127. }
  128. .teachingDetail .member .memberTop {
  129. display: flex;
  130. justify-content: space-between;
  131. margin-bottom: 10px;
  132. }
  133. .teachingDetail .member .pers {
  134. display: flex;
  135. justify-content: space-around;
  136. align-items: center;
  137. }
  138. .teachingDetail .member .pers .per {
  139. display: inline-block;
  140. }
  141. .teachingDetail .member .pers .per image {
  142. width: 40px;
  143. height: 40px;
  144. border-radius: 50%;
  145. }
  146. .teachingDetail .member .pers .per .perName {
  147. font-size: 14px;
  148. text-align: center;
  149. }
  150. .teachingDetail .btnBlock {
  151. position: fixed;
  152. bottom: 0;
  153. width: 750rpx;
  154. background-color: #ffffff;
  155. padding: 20px 0;
  156. }
  157. .teachingDetail .btnBlock .btn {
  158. width: 50%;
  159. margin: auto;
  160. background-color: #0056a8;
  161. color: #ffffff;
  162. font-size: 14px;
  163. }