index.scss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. .tab-nav {
  2. display: flex;
  3. justify-content: flex-start;
  4. padding: 20rpx 20rpx;
  5. box-sizing: border-box;
  6. background: #ffffff;
  7. .tab-item {
  8. padding: 10rpx 38rpx;
  9. color: #1F1F1F;
  10. font-size: 28rpx;
  11. background: #F2F6F2;
  12. margin-right: 20rpx;
  13. border-radius: 30rpx;
  14. position: relative;
  15. left: 0;
  16. top: 0;
  17. .indicator-triangle {
  18. position: absolute;
  19. bottom: -10rpx;
  20. left: 50%;
  21. transform: translateX(-50%);
  22. width: 0;
  23. height: 0;
  24. border-left: 10rpx solid transparent;
  25. border-right: 10rpx solid transparent;
  26. border-top: 10rpx solid #ACF934;
  27. display: none;
  28. }
  29. &.active {
  30. font-weight: bold;
  31. background: #ACF934;
  32. .indicator-triangle {
  33. display: block;
  34. }
  35. }
  36. }
  37. }
  38. .hot-topics {
  39. padding: 20rpx;
  40. // background: #fff;
  41. margin: 20rpx;
  42. border-radius: 16rpx;
  43. border: #000000 solid 2rpx;
  44. background:url("../../static/home/hot-topice-bg.png") center/100% 99% no-repeat;
  45. .hot-topics-header {
  46. margin-bottom: 20rpx;
  47. .hot-topics-title {
  48. width: 140rpx;
  49. height: 34rpx;
  50. }
  51. }
  52. .hot-topics-swiper {
  53. height: 220rpx;
  54. box-sizing: border-box;
  55. }
  56. .hot-topics-list {
  57. padding: 22rpx 26rpx;
  58. padding-bottom: 0;
  59. }
  60. .topic-item {
  61. display: flex;
  62. align-items: center;
  63. padding: 5rpx 0;
  64. justify-content: space-between;
  65. .hot-topics-left{
  66. display: flex;
  67. .topic-index{
  68. width: 30rpx;
  69. height: 30rpx;
  70. font-weight: 700;
  71. font-size: 24rpx;
  72. display: inline-flex;
  73. align-items: center;
  74. justify-content: center;
  75. color: #fff;
  76. border-radius: 5rpx;
  77. margin-right: 18rpx;
  78. background: #CECECE;
  79. &.topic-index-img{
  80. background: transparent;
  81. color: transparent;
  82. width: 36rpx;
  83. height: 36rpx;
  84. }
  85. }
  86. .topic-content{
  87. font-size: 24rpx;
  88. max-width: 330rpx;
  89. overflow: hidden;
  90. text-overflow: ellipsis;
  91. white-space: nowrap;
  92. }
  93. }
  94. .topic-participants{
  95. font-size: 20rpx;
  96. color: #999;
  97. }
  98. .hot-tag {
  99. width: 46rpx;
  100. height: 22rpx;
  101. margin: auto;
  102. margin-left: 10rpx;
  103. }
  104. }
  105. .indicator-dots {
  106. display: flex;
  107. justify-content: center;
  108. margin-top: 20rpx;
  109. .dot {
  110. width: 12rpx;
  111. height: 12rpx;
  112. border-radius: 50%;
  113. background: #808080;
  114. margin: 0 6rpx;
  115. &.active {
  116. background: #ffffff;
  117. }
  118. }
  119. }
  120. }
  121. .follow-list {
  122. padding: 20rpx;
  123. background: #fff;
  124. margin: 0rpx;
  125. border-radius: 0rpx;
  126. .works-list {
  127. display: flex;
  128. flex-wrap: wrap;
  129. padding: 10rpx;
  130. .work-item {
  131. width: 48%;
  132. margin: 1%;
  133. margin-bottom: 20rpx;
  134. .work-image {
  135. width: 100%;
  136. aspect-ratio: 1;
  137. border-radius: 12rpx;
  138. }
  139. .work-title {
  140. font-size: 28rpx;
  141. color: #ffffff;
  142. margin-top: 10rpx;
  143. padding: 0 10rpx;
  144. white-space: nowrap;
  145. overflow: hidden;
  146. text-overflow: ellipsis;
  147. }
  148. }
  149. }
  150. .no-data {
  151. display: flex;
  152. flex-direction: column;
  153. align-items: center;
  154. justify-content: center;
  155. padding: 60rpx 0;
  156. background-color: #fff;
  157. text {
  158. color: #808080;
  159. font-size: 28rpx;
  160. }
  161. }
  162. }
  163. .no-data {
  164. text-align: center;
  165. padding: 40rpx 0;
  166. color: #808080;
  167. font-size: 28rpx;
  168. }
  169. .news-list {
  170. padding: 20rpx;
  171. background: #fff;
  172. .news-grid {
  173. display: flex;
  174. flex-wrap: wrap;
  175. justify-content: space-between;
  176. .news-item {
  177. width: 48%;
  178. margin-bottom: 30rpx;
  179. background: #28292D;
  180. border-radius: 12rpx;
  181. overflow: hidden;
  182. .news-image {
  183. width: 100%;
  184. aspect-ratio: 1;
  185. height: auto;
  186. border-radius: 12rpx 12rpx 0 0;
  187. }
  188. .news-title {
  189. font-size: 28rpx;
  190. color: #ffffff;
  191. padding: 15rpx;
  192. white-space: nowrap;
  193. overflow: hidden;
  194. text-overflow: ellipsis;
  195. height: 60rpx;
  196. line-height: 60rpx;
  197. }
  198. .news-footer {
  199. display: flex;
  200. justify-content: space-between;
  201. align-items: center;
  202. padding: 0 15rpx 15rpx;
  203. .news-author {
  204. font-size: 24rpx;
  205. color: #808080;
  206. max-width: 60%;
  207. white-space: nowrap;
  208. overflow: hidden;
  209. text-overflow: ellipsis;
  210. }
  211. .news-views {
  212. display: flex;
  213. align-items: center;
  214. font-size: 24rpx;
  215. color: #808080;
  216. .view-icon {
  217. width: 26rpx;
  218. height: 18rpx;
  219. margin-right: 6rpx;
  220. }
  221. }
  222. }
  223. }
  224. }
  225. }
  226. .float-btn {
  227. position: fixed;
  228. right: 30rpx;
  229. bottom: 120rpx;
  230. width: 100rpx;
  231. height: 100rpx;
  232. background-color: #FFFFFF;
  233. border-radius: 50%;
  234. display: flex;
  235. justify-content: center;
  236. align-items: center;
  237. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
  238. z-index: 999;
  239. .float-btn-icon {
  240. width: 40rpx;
  241. height: 40rpx;
  242. }
  243. }
  244. .blankHeight {
  245. width: 500rpx;
  246. height: 500rpx;
  247. }
  248. .benner-box{
  249. box-sizing: border-box;
  250. padding: 20rpx;
  251. background: #fff;
  252. border-top-left-radius: 20rpx;
  253. border-top-right-radius: 20rpx;
  254. /deep/.uv-swiper{
  255. border-radius: 10rpx !important;
  256. overflow: hidden;
  257. }
  258. .classModel{
  259. display: flex;
  260. justify-content: space-between;
  261. align-items: center;
  262. position: relative;
  263. left: 0;
  264. right: 0;
  265. .benner-iconBom{
  266. height: 18rpx;
  267. width: 50rpx;
  268. position: absolute;
  269. top: calc(55% + 18rpx);
  270. left: 50%;
  271. transform: translateX(-50%);
  272. z-index: 99;
  273. }
  274. .benner-icontop{
  275. width: 45rpx;
  276. height: 20rpx;
  277. position: absolute;
  278. top: 55%;
  279. left: 50%;
  280. transform: translateX(-50%);
  281. }
  282. .benner-box{
  283. height: 256rpx;
  284. width: 344rpx;
  285. position: relative;
  286. }
  287. .benner-left-box{
  288. background:url("../../static/home/benner-left.-bg.png") center/100% 99% no-repeat;
  289. .text1{
  290. color: rgba(255,255,255, 0.8);
  291. color: 28rpx;
  292. position: absolute;
  293. left: 26rpx;
  294. top: 88rpx;
  295. }
  296. .btn{
  297. font-size: 24rpx;
  298. background: #1F1F1F;
  299. color: #ACF934 ;
  300. display: inline-block;
  301. border-radius: 390rpx;
  302. padding: 8rpx 24rpx;
  303. padding-bottom: 10rpx;
  304. position: absolute;
  305. bottom: 38rpx;
  306. left: 26rpx;
  307. }
  308. }
  309. .benner-right-box{
  310. background:url("../../static/home/benner-right-bg.png") center/100% 99% no-repeat;
  311. display: flex;
  312. flex-direction: column;
  313. justify-content: space-evenly;
  314. align-items: center;
  315. height: 256rpx;
  316. .text{
  317. color: #999;
  318. font-size: 20rpx;
  319. position: absolute;
  320. top: 56rpx;
  321. left: 26rpx;
  322. }
  323. .guard{
  324. position: relative;
  325. left: 0;
  326. top: 0;
  327. width: 312rpx;
  328. height: 104rpx;
  329. background: url("../../static/home/benner-right-btnTop.png") center/100% no-repeat;
  330. margin-bottom: 10rpx;
  331. }
  332. .match{
  333. position: relative;
  334. left: 0;
  335. top: 0;
  336. width: 312rpx;
  337. height: 104rpx;
  338. background: url("../../static/home/benner-right-btnBom.png") center/100% no-repeat;
  339. }
  340. }
  341. }
  342. }
  343. .waterfall-list-container{
  344. background: #fff;
  345. }
  346. .navCenter{
  347. .topBox{
  348. display: flex;
  349. flex-direction: row;
  350. justify-content: center;
  351. align-items: center;
  352. }
  353. }