index.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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 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. 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. }
  156. .worksCard .topData .authorAvatar {
  157. width: 92rpx;
  158. height: 92rpx;
  159. margin: 0 22rpx 0 22rpx;
  160. display: block;
  161. border: 4rpx solid #61CA54;
  162. border-radius: 50%;
  163. }
  164. .worksCard .topData .profession {
  165. width: 60rpx;
  166. height: 30rpx;
  167. background: rgba(97, 202, 84, 1);
  168. border-radius: 15rpx;
  169. font-size: 22rpx;
  170. /* font-family: PingFangSC-Medium; */
  171. font-weight: 800;
  172. color: rgba(255, 255, 255, 1);
  173. line-height: 30rpx;
  174. text-align: center;
  175. position: absolute;
  176. bottom: -7rpx;
  177. left: 42rpx;
  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. }
  223. .index-dialog{
  224. width: 100%;
  225. height: 100%;
  226. position: fixed;
  227. top: 0;
  228. left: 0;
  229. z-index:3;
  230. background: rgba(0,0,0,.3)
  231. }
  232. .index-dialog-wrapper{
  233. width: 370rpx;
  234. height: 240rpx;
  235. background: #fff;
  236. border-radius: 30rpx;
  237. box-shadow: 0 0 10 0 rgba(0,0,0, .5);
  238. position: fixed;
  239. top: 281rpx;
  240. left: 0;
  241. right: 0;
  242. margin: 0 auto;
  243. }
  244. .index-dialog-text{
  245. width: 100%;
  246. font-size: 30rpx;
  247. color: #535353;
  248. font-weight: 800;
  249. text-align: center;
  250. margin-top: 59rpx;
  251. }
  252. .index-dialog-btn{
  253. width: 160rpx;
  254. height: 50rpx;
  255. border: 3rpx solid #f75642;
  256. border-radius: 25rpx;
  257. line-height: 50rpx;
  258. text-align: center;
  259. color: #f75642;
  260. font-size: 30rpx;
  261. font-weight: 800;
  262. margin: 41rpx auto;
  263. }
  264. .index-dialog-btn-hide{
  265. width: 100%;
  266. height: 100%;
  267. position: absolute;
  268. background: rgba(0,0,0, 0);
  269. top: 0;
  270. }