teachingDetail.wxss 3.7 KB

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