art.wxss 4.4 KB

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