art.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /* pages/art/art.wxss */
  2. .material,
  3. .works,
  4. .share {
  5. width: 100%;
  6. margin: 20rpx 0;
  7. border-radius: 25rpx;
  8. padding: 20rpx 0;
  9. box-sizing: border-box;
  10. background: #fff;
  11. position: relative;
  12. }
  13. .this-week {
  14. display: flex;
  15. padding: 0 25rpx;
  16. box-sizing: border-box;
  17. }
  18. .this-week image {
  19. width: 86rpx;
  20. height: 86rpx;
  21. }
  22. .lesson-name {
  23. display: flex;
  24. flex-direction: column;
  25. margin: 8rpx 16rpx;
  26. }
  27. .lesson-name text:nth-child(1) {
  28. height: 38rpx;
  29. font-size: 32rpx;
  30. font-weight: 600;
  31. }
  32. .lesson-name text:nth-child(2) {
  33. height: 30rpx;
  34. margin-top: 10rpx;
  35. font-size: 24rpx;
  36. color: #C3C3C3;
  37. }
  38. /* 预览图片 */
  39. .material-con {
  40. margin-left: 10rpx;
  41. padding: 0 25rpx;
  42. }
  43. .art-img {
  44. display: flex;
  45. justify-content: space-between;
  46. margin-left: 53rpx;
  47. font-size: 28rpx;
  48. color: #444;
  49. margin-top: 30rpx;
  50. }
  51. /* 分享评论 */
  52. .works,
  53. .share {
  54. padding: 16rpx 25rpx;
  55. }
  56. .works .title,
  57. .share .title {
  58. position:relative;
  59. width: 100%;
  60. text-align: center;
  61. font-size: 32rpx;
  62. font-weight: 600;
  63. border-bottom: 2rpx #878787 solid;
  64. padding-bottom: 16rpx;
  65. background: #fff;
  66. }
  67. .xing {
  68. width: 20rpx;
  69. height: 20rpx;
  70. margin: 0 10rpx;
  71. }
  72. .uploading {
  73. position: absolute;
  74. right: 0;
  75. top: 10rpx;
  76. font-size: 24rpx;
  77. }
  78. .share-con,
  79. .questions {
  80. position:relative;
  81. margin-top: 28rpx;
  82. padding-bottom: 58rpx;
  83. border-bottom: 2rpx #878787 solid;
  84. }
  85. .share-con .head {
  86. position:relative;
  87. padding:20rpx 0;
  88. }
  89. .head-img {
  90. width: 86rpx;
  91. height: 86rpx;
  92. float: left;
  93. margin-right: 18rpx;
  94. }
  95. .head-img image {
  96. width: 100%;
  97. height: 100%;
  98. border-radius: 50%;
  99. }
  100. .picture {
  101. display: flex;
  102. justify-content: center;
  103. margin: 24rpx 112rpx 17rpx 103rpx;
  104. }
  105. .picture image {
  106. width: 236rpx;
  107. height: 176rpx;
  108. border-radius: 15rpx;
  109. }
  110. .picture image:nth-child(2) {
  111. margin-left: 8rpx;
  112. }
  113. .share_up {
  114. position: absolute;
  115. right: 0;
  116. top: 20rpx;
  117. height: 19rpx;
  118. width: 19rpx;
  119. }
  120. .icon {
  121. display: flex;
  122. align-items: center;
  123. margin: 0 112rpx 17rpx 103rpx;
  124. }
  125. .icon view {
  126. display: flex;
  127. align-items: center;
  128. margin-right: 60rpx;
  129. }
  130. .icon .zan {
  131. width: 26rpx;
  132. height: 23rpx;
  133. }
  134. .icon .weatch {
  135. width: 30rpx;
  136. height: 23rpx;
  137. }
  138. .icon .discuss {
  139. width: 32rpx;
  140. height: 29rpx;
  141. }
  142. .icon view text {
  143. font-size: 24rpx;
  144. color: #878787;
  145. margin-left: 14rpx;
  146. }
  147. .more {
  148. margin-top: 18rpx;
  149. font-size: 28rpx;
  150. text-align: center;
  151. color: #787878;
  152. }
  153. .no-con {
  154. margin: 50rpx 0 ;
  155. }
  156. .state {
  157. text-align: center;
  158. font-size: 24rpx;
  159. color: #C0C0C0;
  160. }
  161. .upload-works {
  162. position: relative;
  163. width: 212rpx;
  164. height: 212rpx;
  165. margin: 0 auto;
  166. }
  167. .work-box {
  168. position: absolute;
  169. left: 0;
  170. top: 0;
  171. width: 212rpx;
  172. height: 212rpx;
  173. }
  174. .uploading-works {
  175. position: absolute;
  176. left: 50%;
  177. top: 50%;
  178. z-index: 1;
  179. width: 67rpx;
  180. height: 51rpx;
  181. transform: translate(-50%, -50%);
  182. }
  183. .upload-works text {
  184. position: absolute;
  185. left: 50%;
  186. top: 70%;
  187. z-index: 1;
  188. font-size: 24rpx;
  189. color: #C0C0C0;
  190. transform: translate(-50%);
  191. }
  192. /* 答疑讨论 */
  193. .questions {
  194. padding-bottom: 28rpx;
  195. }
  196. .questions .head {
  197. padding:20rpx 0;
  198. position: relative;
  199. }
  200. .dian {
  201. position: absolute;
  202. right: 45rpx;
  203. top: 40rpx;
  204. width: 20rpx;
  205. height: 20rpx;
  206. border-radius: 50%;
  207. background: #FD025F;
  208. }
  209. /* 标题定位到顶部 */
  210. .adsorb {
  211. position: fixed;
  212. left: 0;
  213. top: 72rpx;
  214. }
  215. /* 定位图片 */
  216. .questions-one {
  217. position: fixed;
  218. right: 20rpx;
  219. bottom: 30rpx;
  220. width: 100rpx;
  221. height: 100rpx;
  222. border-radius: 50%;
  223. }
  224. .questions-one image {
  225. width: 100%;
  226. height: 100%;
  227. }
  228. .upload-one {
  229. position: fixed;
  230. right: 20rpx;
  231. bottom: 150rpx;
  232. width: 100rpx;
  233. height: 100rpx;
  234. border-radius: 50%;
  235. }
  236. .upload-one image {
  237. width: 100%;
  238. height: 100%;
  239. }