index.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /**index.wxss**/
  2. /*热门推荐*/
  3. @import "/component/hot/hot.wxss";
  4. /*热团*/
  5. @import "/component/group/group.wxss";
  6. /*关注*/
  7. @import "/component/follow/follow.wxss";
  8. /*我的*/
  9. @import "/component/my/my.wxss";
  10. .container {
  11. background: rgba(240, 241, 245, 1);
  12. }
  13. .template {
  14. height: 100%;
  15. }
  16. .scroll-view {
  17. height: 100%;
  18. }
  19. .top-tab {
  20. position: fixed;
  21. top: 0;
  22. width: 100%;
  23. height: 80rpx;
  24. background: #12C962;
  25. /* color: #383838; */
  26. box-sizing: border-box;
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. /* margin-bottom: 15rpx; */
  31. z-index: 999;
  32. padding: 0 82rpx 0 82rpx;
  33. }
  34. .tabbar {
  35. /* flex: 1; */
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. width: 100rpx;
  40. height: 71rpx;
  41. line-height: 60rpx;
  42. font-size: 40rpx;
  43. opacity:0.7;
  44. font-weight: 800;
  45. /* border-radius: 30rpx; */
  46. /* background: #fff; */
  47. border-bottom: none;
  48. color: #fff;
  49. }
  50. .select {
  51. color: #fff;
  52. /* font-size: 40rpx; */
  53. /* font-family: SourceHanSansSC-bold; */
  54. /* background: #61ca54; */
  55. font-size: 40rpx;
  56. border-bottom: 6rpx solid #fff;
  57. opacity:1;
  58. }
  59. .bottom-tab image {
  60. width: 54rpx;
  61. height: 54rpx;
  62. margin-right: 20rpx;
  63. }
  64. .jurisdiction {
  65. position: absolute;
  66. left: 50%;
  67. top: 50%;
  68. transform: translate(-50%, -50%);
  69. }
  70. /* 部分公用css */
  71. .red-text {
  72. color: #ff3600;
  73. }
  74. /* 作品列表 */
  75. .hotWares {
  76. display: flex;
  77. flex-wrap: wrap;
  78. /* background: #e8e8e8; */
  79. }
  80. .recommdSection .hotWares .worksCard {
  81. position: relative;
  82. overflow: hidden;
  83. width: 100%;
  84. height: 484rpx;
  85. background: #fff;
  86. /* padding: 26rpx; */
  87. /* border-radius: 12rpx; */
  88. /* margin: 0 0 18rpx 16rpx; */
  89. margin: 0 auto 10rpx;
  90. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  91. }
  92. .worksCard {
  93. position: relative;
  94. overflow: hidden;
  95. width: 100%;
  96. height: 484rpx;
  97. background: #fff;
  98. margin: 0 auto 20rpx;
  99. }
  100. .worksCard .wareCardImg {
  101. display: block;
  102. width: 704rpx;
  103. height: 290rpx;
  104. margin: 21rpx auto 0;
  105. border-radius: 20rpx;
  106. }
  107. .worksCard .titleSummary {
  108. display: flex;
  109. justify-content: space-between;
  110. margin-top: 12rpx;
  111. }
  112. .worksCard .wareCardTitle {
  113. /* margin: 0 auto; */
  114. width: 80%;
  115. height: 46rpx;
  116. display: block;
  117. /* text-align: left; */
  118. color: #444;
  119. font-size: 32rpx;
  120. /* letter-spacing: 4rpx; */
  121. margin-left: 28rpx;
  122. font-family: MicrosoftYaHei;
  123. }
  124. .worksCard .topData {
  125. height: 92rpx;
  126. margin-top: 22rpx;
  127. display: flex;
  128. flex-direction: row;
  129. /* justify-content: space-between; */
  130. align-items: center;
  131. }
  132. .worksLeft {
  133. display: flex;
  134. flex-direction: row;
  135. flex: 1;
  136. margin-left: 10rpx;
  137. }
  138. .worksLeft .worksInfo .authorName {
  139. color: #393939;
  140. font-size: 30rpx;
  141. margin-top: 8rpx;
  142. }
  143. .worksLeft .worksInfo .time {
  144. color: #393939;
  145. font-size: 30rpx;
  146. }
  147. .worksCard .topData .wareCardPlays {
  148. width: 100rpx;
  149. /* margin-left: 270rpx; */
  150. display: flex;
  151. flex-direction: row-reverse;
  152. align-items: center;
  153. padding-right: 35rpx;
  154. }
  155. .worksCard .topData .authorAvatar {
  156. width: 92rpx;
  157. height: 92rpx;
  158. margin: 0 22rpx 0 22rpx;
  159. display: block;
  160. border: 4rpx solid #61CA54;
  161. border-radius: 50%;
  162. }
  163. .worksCard .topData .profession {
  164. width: 68rpx;
  165. height: 24rpx;
  166. background: rgba(97, 202, 84, 1);
  167. border-radius: 166rpx;
  168. border: 2rpx solid rgba(255, 255, 255, 1);
  169. font-size: 16rpx;
  170. /* font-family: PingFangSC-Medium; */
  171. /* font-weight: 500; */
  172. color: rgba(255, 255, 255, 1);
  173. line-height: 24rpx;
  174. text-align: center;
  175. position: absolute;
  176. bottom: -7rpx;
  177. left: 37rpx;
  178. }
  179. .topData .numberInfo {
  180. display: flex;
  181. flex-direction: column;
  182. }
  183. .worksCard .wareCardTip {
  184. width: 178rpx;
  185. height: 40rpx;
  186. display: block;
  187. text-align: left;
  188. color: #444;
  189. font-size: 24rpx;
  190. line-height: 44rpx;
  191. }
  192. .worksCard .wareCardPlays .wareCardPlaysImg {
  193. width: 30rpx;
  194. height: 26rpx;
  195. margin-left: 7rpx;
  196. float: right;
  197. }
  198. .worksCard .wareCardPlays text {
  199. /* margin-left: 4rpx; */
  200. color: #848484;
  201. font-size: 24rpx;
  202. text-align: right;
  203. /* width:57%; */
  204. float: right;
  205. }
  206. .worksCard .wareCardLikes {
  207. width: 100rpx;
  208. margin-right: 18rpx;
  209. display: flex;
  210. flex-direction: row-reverse;
  211. align-items: center;
  212. }
  213. .worksCard .wareCardLikes .wareCardLikesImg {
  214. width: 22rpx;
  215. height: 26rpx;
  216. margin-left: 7rpx;
  217. }
  218. .worksCard .wareCardLikes text {
  219. /* margin-left: 4rpx; */
  220. color: #848484;
  221. font-size: 24rpx;
  222. }