index.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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(242, 242, 242, 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 152rpx 0 152rpx;
  33. }
  34. .tabbar {
  35. /* flex: 1; */
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. width: 100rpx;
  40. height: 58rpx;
  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: 496rpx;
  85. background: #fff;
  86. /* padding: 26rpx; */
  87. /* border-radius: 12rpx; */
  88. /* margin: 0 0 18rpx 16rpx; */
  89. margin: 0 auto 20rpx;
  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: 496rpx;
  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. position: relative;
  138. }
  139. .worksLeft .worksInfo .authorName {
  140. color: #393939;
  141. font-size: 30rpx;
  142. margin-top: 8rpx;
  143. }
  144. .worksLeft .worksInfo .time {
  145. color: #393939;
  146. font-size: 30rpx;
  147. }
  148. .worksCard .topData .wareCardPlays {
  149. width: 100rpx;
  150. /* margin-left: 270rpx; */
  151. display: flex;
  152. flex-direction: row-reverse;
  153. align-items: center;
  154. padding-right: 35rpx;
  155. margin-bottom:6rpx;
  156. margin-left: 4rpx;
  157. }
  158. .worksCard .topData .authorAvatar {
  159. width: 92rpx;
  160. height: 92rpx;
  161. margin: 0 22rpx 0 22rpx;
  162. display: block;
  163. border: 4rpx solid #61CA54;
  164. border-radius: 50%;
  165. }
  166. .worksCard .topData .profession {
  167. width: 60rpx;
  168. height: 30rpx;
  169. background: rgba(97, 202, 84, 1);
  170. border-radius: 15rpx;
  171. font-size: 22rpx;
  172. /* font-family: PingFangSC-Medium; */
  173. font-weight: 800;
  174. color: rgba(255, 255, 255, 1);
  175. line-height: 30rpx;
  176. text-align: center;
  177. position: absolute;
  178. bottom: -7rpx;
  179. left: 42rpx;
  180. }
  181. .topData .numberInfo {
  182. display: flex;
  183. flex-direction: column;
  184. margin-top:-5rpx;
  185. }
  186. .worksCard .wareCardTip {
  187. width: 178rpx;
  188. height: 40rpx;
  189. display: block;
  190. text-align: left;
  191. color: #444;
  192. font-size: 24rpx;
  193. line-height: 44rpx;
  194. }
  195. .worksCard .wareCardPlays .wareCardPlaysImg {
  196. width: 30rpx;
  197. height: 26rpx;
  198. margin-left: 7rpx;
  199. float: right;
  200. }
  201. .worksCard .wareCardPlays text {
  202. /* margin-left: 4rpx; */
  203. color: #848484;
  204. font-size: 24rpx;
  205. text-align: right;
  206. /* width:57%; */
  207. float: right;
  208. line-height:37rpx;
  209. }
  210. .worksCard .wareCardLikes {
  211. width: 100rpx;
  212. margin-right: 18rpx;
  213. display: flex;
  214. flex-direction: row-reverse;
  215. align-items: center;
  216. }
  217. .worksCard .wareCardLikes .wareCardLikesImg {
  218. width: 22rpx;
  219. height: 26rpx;
  220. margin-left: 7rpx;
  221. }
  222. .worksCard .wareCardLikes text {
  223. /* margin-left: 4rpx; */
  224. color: #848484;
  225. font-size: 24rpx;
  226. }
  227. .index-dialog{
  228. width: 100%;
  229. height: 100%;
  230. position: fixed;
  231. top: 0;
  232. left: 0;
  233. z-index:3;
  234. background: rgba(0,0,0,.3)
  235. }
  236. .index-dialog-wrapper{
  237. width: 392rpx;
  238. height: 240rpx;
  239. background: #fff;
  240. border-radius: 30rpx;
  241. box-shadow: 0 0 10 0 rgba(0,0,0, .5);
  242. position: fixed;
  243. top: 281rpx;
  244. left: 0;
  245. right: 0;
  246. margin: 0 auto;
  247. }
  248. .index-dialog-text{
  249. width: 100%;
  250. font-size: 29rpx;
  251. color: #535353;
  252. font-weight: 800;
  253. text-align: center;
  254. margin-top: 59rpx;
  255. }
  256. .index-dialog-btn{
  257. width: 160rpx;
  258. height: 50rpx;
  259. border: 3rpx solid #f75642;
  260. border-radius: 25rpx;
  261. line-height: 50rpx;
  262. text-align: center;
  263. color: #f75642;
  264. font-size: 30rpx;
  265. font-weight: 800;
  266. margin: 41rpx auto;
  267. }
  268. .index-dialog-btn-hide{
  269. width: 100%;
  270. height: 100%;
  271. position: absolute;
  272. background: rgba(0,0,0, 0);
  273. top: 0;
  274. }