index.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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. height: 100%;
  13. }
  14. .template {
  15. height: 100%;
  16. }
  17. .scroll-view {
  18. height: 100%;
  19. }
  20. .top-tab {
  21. position: fixed;
  22. top: 0;
  23. width: 100%;
  24. height: 80rpx;
  25. background: #12C962;
  26. /* color: #383838; */
  27. box-sizing: border-box;
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: center;
  31. /* margin-bottom: 15rpx; */
  32. z-index: 999;
  33. padding: 0 48rpx 0 48rpx;
  34. }
  35. .tabbar {
  36. /* flex: 1; */
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. width: 100rpx;
  41. height: 58rpx;
  42. line-height: 60rpx;
  43. font-size: 40rpx;
  44. opacity:0.7;
  45. font-weight: 800;
  46. /* border-radius: 30rpx; */
  47. /* background: #fff; */
  48. border-bottom: none;
  49. color: #fff;
  50. }
  51. .select {
  52. color: #fff;
  53. /* font-size: 40rpx; */
  54. /* font-family: SourceHanSansSC-bold; */
  55. /* background: #61ca54; */
  56. font-size: 40rpx;
  57. border-bottom: 6rpx solid #fff;
  58. opacity:1;
  59. }
  60. .bottom-tab image {
  61. width: 54rpx;
  62. height: 54rpx;
  63. margin-right: 20rpx;
  64. }
  65. .jurisdiction {
  66. position: absolute;
  67. left: 50%;
  68. top: 50%;
  69. transform: translate(-50%, -50%);
  70. }
  71. /* 部分公用css */
  72. .red-text {
  73. color: #ff3600;
  74. }
  75. /* 作品列表 */
  76. .hotWares {
  77. display: flex;
  78. flex-wrap: wrap;
  79. /* background: #e8e8e8; */
  80. }
  81. .recommdSection .hotWares .worksCard {
  82. position: relative;
  83. overflow: hidden;
  84. width: 100%;
  85. height: 496rpx;
  86. background: #fff;
  87. /* padding: 26rpx; */
  88. /* border-radius: 12rpx; */
  89. /* margin: 0 0 18rpx 16rpx; */
  90. margin: 0 auto 20rpx;
  91. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  92. }
  93. .worksCard {
  94. position: relative;
  95. overflow: hidden;
  96. width: 100%;
  97. height: 496rpx;
  98. background: #fff;
  99. margin: 0 auto 20rpx;
  100. }
  101. .worksCard .wareCardImg {
  102. display: block;
  103. width: 704rpx;
  104. height: 290rpx;
  105. margin: 21rpx auto 0;
  106. border-radius: 20rpx;
  107. }
  108. .worksCard .titleSummary {
  109. display: flex;
  110. justify-content: space-between;
  111. margin-top: 12rpx;
  112. }
  113. .worksCard .wareCardTitle {
  114. /* margin: 0 auto; */
  115. width: 80%;
  116. height: 46rpx;
  117. display: block;
  118. /* text-align: left; */
  119. color: #444;
  120. font-size: 32rpx;
  121. /* letter-spacing: 4rpx; */
  122. margin-left: 28rpx;
  123. font-family: MicrosoftYaHei;
  124. }
  125. .worksCard .topData {
  126. height: 92rpx;
  127. margin-top: 22rpx;
  128. display: flex;
  129. flex-direction: row;
  130. /* justify-content: space-between; */
  131. align-items: center;
  132. }
  133. .worksLeft {
  134. display: flex;
  135. flex-direction: row;
  136. flex: 1;
  137. margin-left: 10rpx;
  138. position: relative;
  139. }
  140. .worksLeft .worksInfo .authorName {
  141. color: #393939;
  142. font-size: 30rpx;
  143. margin-top: 8rpx;
  144. }
  145. .worksLeft .worksInfo .time {
  146. color: #393939;
  147. font-size: 30rpx;
  148. }
  149. .worksCard .topData .wareCardPlays {
  150. width: 100rpx;
  151. /* margin-left: 270rpx; */
  152. display: flex;
  153. flex-direction: row-reverse;
  154. align-items: center;
  155. padding-right: 35rpx;
  156. margin-bottom:6rpx;
  157. margin-left: 4rpx;
  158. }
  159. .worksCard .topData .authorAvatar {
  160. width: 92rpx;
  161. height: 92rpx;
  162. margin: 0 22rpx 0 22rpx;
  163. display: block;
  164. border: 4rpx solid #61CA54;
  165. border-radius: 50%;
  166. }
  167. .worksCard .topData .profession {
  168. width: 60rpx;
  169. height: 30rpx;
  170. background: rgba(97, 202, 84, 1);
  171. border-radius: 15rpx;
  172. font-size: 22rpx;
  173. /* font-family: PingFangSC-Medium; */
  174. font-weight: 800;
  175. color: rgba(255, 255, 255, 1);
  176. line-height: 30rpx;
  177. text-align: center;
  178. position: absolute;
  179. bottom: -7rpx;
  180. left: 42rpx;
  181. }
  182. .topData .numberInfo {
  183. display: flex;
  184. flex-direction: column;
  185. margin-top:-5rpx;
  186. }
  187. .worksCard .wareCardTip {
  188. width: 178rpx;
  189. height: 40rpx;
  190. display: block;
  191. text-align: left;
  192. color: #444;
  193. font-size: 24rpx;
  194. line-height: 44rpx;
  195. }
  196. .worksCard .wareCardPlays .wareCardPlaysImg {
  197. width: 30rpx;
  198. height: 26rpx;
  199. margin-left: 7rpx;
  200. float: right;
  201. }
  202. .worksCard .wareCardPlays text {
  203. /* margin-left: 4rpx; */
  204. color: #848484;
  205. font-size: 24rpx;
  206. text-align: right;
  207. /* width:57%; */
  208. float: right;
  209. line-height:37rpx;
  210. }
  211. .worksCard .wareCardLikes {
  212. width: 100rpx;
  213. margin-right: 18rpx;
  214. display: flex;
  215. flex-direction: row-reverse;
  216. align-items: center;
  217. }
  218. .worksCard .wareCardLikes .wareCardLikesImg {
  219. width: 22rpx;
  220. height: 26rpx;
  221. margin-left: 7rpx;
  222. }
  223. .worksCard .wareCardLikes text {
  224. /* margin-left: 4rpx; */
  225. color: #848484;
  226. font-size: 24rpx;
  227. }
  228. .index-dialog{
  229. width: 100%;
  230. height: 100%;
  231. position: fixed;
  232. top: 0;
  233. left: 0;
  234. z-index:3;
  235. background: rgba(0,0,0,.3)
  236. }
  237. .index-dialog-wrapper{
  238. width: 392rpx;
  239. height: 240rpx;
  240. background: #fff;
  241. border-radius: 30rpx;
  242. box-shadow: 0 0 10 0 rgba(0,0,0, .5);
  243. position: fixed;
  244. top: 281rpx;
  245. left: 0;
  246. right: 0;
  247. margin: 0 auto;
  248. }
  249. .index-dialog-text{
  250. width: 100%;
  251. font-size: 29rpx;
  252. color: #535353;
  253. font-weight: 800;
  254. text-align: center;
  255. margin-top: 59rpx;
  256. }
  257. .index-dialog-btn{
  258. width: 160rpx;
  259. height: 50rpx;
  260. border: 3rpx solid #f75642;
  261. border-radius: 25rpx;
  262. line-height: 50rpx;
  263. text-align: center;
  264. color: #f75642;
  265. font-size: 30rpx;
  266. font-weight: 800;
  267. margin: 41rpx auto;
  268. }
  269. .index-dialog-btn-hide{
  270. width: 100%;
  271. height: 100%;
  272. position: absolute;
  273. background: rgba(0,0,0, 0);
  274. top: 0;
  275. }