index copy.scss 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. @font-face {
  2. font-family: "CustomFont";
  3. src: url("@/static/fonts/alibaba.otf") format("opentype");
  4. font-weight: normal;
  5. font-style: normal;
  6. }
  7. .page-top {
  8. background: url("/static/home/home-top.png") 518rpx
  9. calc(-10rpx + var(--status-bar-height)) / 212rpx 296rpx no-repeat,
  10. url("/static/home/home-t.png") top center/100% auto no-repeat,
  11. linear-gradient(to top, #d0ffa5, #acff5f);
  12. // background: url("/static/make/make_bg.png") top center/100% no-repeat;
  13. }
  14. .tab-nav {
  15. display: flex;
  16. justify-content: flex-start;
  17. padding: 20rpx 20rpx;
  18. // padding-top: 5rpx;
  19. box-sizing: border-box;
  20. background: #ffffff;
  21. .tab-item {
  22. padding: 15rpx 38rpx;
  23. color: #1f1f1f;
  24. font-size: 28rpx;
  25. background: #f2f6f2;
  26. margin-right: 20rpx;
  27. border-radius: 30rpx;
  28. position: relative;
  29. left: 0;
  30. top: 0;
  31. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  32. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  33. line-height: 1;
  34. &:active {
  35. transform: scale(0.95);
  36. // box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.05);
  37. }
  38. .indicator-triangle {
  39. position: absolute;
  40. bottom: -10rpx;
  41. left: 50%;
  42. transform: translateX(-50%);
  43. width: 0;
  44. height: 0;
  45. border-left: 10rpx solid transparent;
  46. border-right: 10rpx solid transparent;
  47. border-top: 10rpx solid #acf934;
  48. display: none;
  49. transition: all 0.3s ease;
  50. }
  51. &.active {
  52. background: #acf934;
  53. font-family: "CustomFont" !important;
  54. box-shadow: 0 4rpx 12rpx rgba(172, 249, 52, 0.3);
  55. .indicator-triangle {
  56. display: block;
  57. transform: translateX(-50%) scale(1.2);
  58. }
  59. }
  60. }
  61. }
  62. .hot-topics {
  63. padding: 20rpx 28rpx;// background: #fff;
  64. margin:0 20rpx;
  65. margin-top: 0;
  66. border-radius: 20rpx;
  67. border: #000000 solid 2rpx;
  68. background: url("../../static/home/hot-topice-bg.png") center/120% 100%
  69. no-repeat;
  70. .hot-topics-header {
  71. margin-bottom: 20rpx;
  72. .hot-topics-title {
  73. width: 140rpx;
  74. height: 34rpx;
  75. }
  76. }
  77. .hot-topics-swiper {
  78. height: 220rpx;
  79. box-sizing: border-box;
  80. }
  81. .hot-topics-list {
  82. // padding: 0 26rpx;
  83. padding-bottom: 0;
  84. height: 100%;
  85. display: flex;
  86. flex-direction: column;
  87. justify-content: flex-start;
  88. min-height: 220rpx;
  89. }
  90. .topic-item {
  91. display: flex;
  92. align-items: center;
  93. padding: 10rpx 0;
  94. justify-content: space-between;
  95. width: 100%;
  96. min-height: 50rpx;
  97. margin-bottom: 10rpx;
  98. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  99. &:active {
  100. transform: scale(0.98);
  101. }
  102. &:last-child {
  103. margin-bottom: 0;
  104. }
  105. .hot-topics-left {
  106. display: flex;
  107. transition: all 0.3s ease;
  108. align-items: center;
  109. .topic-index {
  110. width: 30rpx;
  111. height: 30rpx;
  112. font-weight: 700;
  113. font-size: 24rpx;
  114. display: inline-flex;
  115. align-items: center;
  116. justify-content: center;
  117. color: #fff;
  118. border-radius: 5rpx;
  119. margin-right: 18rpx;
  120. background: #c4c4c4;
  121. transition: all 0.3s ease;
  122. border-radius: 8rpx;
  123. &.topic-index-img {
  124. background: transparent;
  125. color: transparent;
  126. width: 36rpx;
  127. height: 36rpx;
  128. position: relative;
  129. left: -2rpx;
  130. top: 0;
  131. }
  132. }
  133. .topic-content {
  134. font-size: 28rpx;
  135. max-width: 380rpx;
  136. overflow: hidden;
  137. text-overflow: ellipsis;
  138. white-space: nowrap;
  139. transition: all 0.3s ease;
  140. }
  141. }
  142. .topic-participants {
  143. font-size: 24rpx;
  144. color: #999;
  145. transition: all 0.3s ease;
  146. }
  147. .hot-tag {
  148. width: 46rpx;
  149. height: 22rpx;
  150. margin: auto;
  151. margin-left: 10rpx;
  152. transition: all 0.3s ease;
  153. }
  154. }
  155. .indicator-dots {
  156. display: flex;
  157. justify-content: center;
  158. margin-top: 20rpx;
  159. .dot {
  160. width: 8rpx;
  161. height: 8rpx;
  162. border-radius: 6rpx;
  163. background: #cecece;
  164. margin: 0 6rpx;
  165. &.active {
  166. width: 20rpx;
  167. background: #1f1f1f;
  168. }
  169. }
  170. }
  171. }
  172. .follow-list {
  173. padding: 20rpx 0rpx;
  174. background: #fff;
  175. margin: 0rpx;
  176. border-radius: 0rpx;
  177. .works-list {
  178. display: flex;
  179. flex-wrap: wrap;
  180. padding: 10rpx;
  181. .work-item {
  182. width: 48%;
  183. margin: 1%;
  184. margin-bottom: 20rpx;
  185. .work-image {
  186. width: 100%;
  187. aspect-ratio: 1;
  188. border-radius: 12rpx;
  189. }
  190. .work-title {
  191. font-size: 28rpx;
  192. color: #ffffff;
  193. margin-top: 10rpx;
  194. padding: 0 10rpx;
  195. white-space: nowrap;
  196. overflow: hidden;
  197. text-overflow: ellipsis;
  198. }
  199. }
  200. }
  201. .no-data {
  202. display: flex;
  203. flex-direction: column;
  204. align-items: center;
  205. justify-content: center;
  206. padding: 60rpx 0;
  207. background-color: #fff;
  208. text {
  209. color: #808080;
  210. font-size: 28rpx;
  211. }
  212. }
  213. }
  214. .no-data {
  215. text-align: center;
  216. padding: 40rpx 0;
  217. color: #808080;
  218. font-size: 28rpx;
  219. }
  220. .news-list {
  221. padding: 20rpx 0rpx;
  222. background: #fff;
  223. .news-grid {
  224. display: flex;
  225. flex-wrap: wrap;
  226. justify-content: space-between;
  227. .news-item {
  228. width: 48%;
  229. margin-bottom: 30rpx;
  230. background: #28292d;
  231. border-radius: 12rpx;
  232. overflow: hidden;
  233. .news-image {
  234. width: 100%;
  235. aspect-ratio: 1;
  236. height: auto;
  237. border-radius: 12rpx 12rpx 0 0;
  238. }
  239. .news-title {
  240. font-size: 28rpx;
  241. color: #ffffff;
  242. padding: 15rpx;
  243. white-space: nowrap;
  244. overflow: hidden;
  245. text-overflow: ellipsis;
  246. height: 60rpx;
  247. line-height: 60rpx;
  248. }
  249. .news-footer {
  250. display: flex;
  251. justify-content: space-between;
  252. align-items: center;
  253. padding: 0 15rpx 15rpx;
  254. .news-author {
  255. font-size: 24rpx;
  256. color: #808080;
  257. max-width: 60%;
  258. white-space: nowrap;
  259. overflow: hidden;
  260. text-overflow: ellipsis;
  261. }
  262. .news-views {
  263. display: flex;
  264. align-items: center;
  265. font-size: 24rpx;
  266. color: #808080;
  267. .view-icon {
  268. width: 26rpx;
  269. height: 18rpx;
  270. margin-right: 6rpx;
  271. }
  272. }
  273. }
  274. }
  275. }
  276. }
  277. .float-btn {
  278. position: fixed;
  279. right: 30rpx;
  280. bottom: 145rpx;
  281. width: 120rpx;
  282. height: 120rpx;
  283. border-radius: 50%;
  284. display: flex;
  285. justify-content: center;
  286. align-items: center;
  287. z-index: 999;
  288. .float-btn-icon {
  289. width: 100%;
  290. height: 100%;
  291. }
  292. }
  293. .blankHeight {
  294. // width: 500rpx;
  295. // height: 500rpx;
  296. width: 100%;
  297. height: 144rpx;
  298. }
  299. .benner-box {
  300. box-sizing: border-box;
  301. padding: 20rpx;
  302. background: #fff;
  303. border-top-left-radius: 40rpx;
  304. border-top-right-radius: 40rpx;
  305. ::v-deep.uv-swiper {
  306. border-radius: 20rpx !important;
  307. overflow: hidden;
  308. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  309. &:active {
  310. transform: scale(0.98);
  311. }
  312. }
  313. .classModel {
  314. display: flex;
  315. justify-content: space-between;
  316. align-items: center;
  317. position: relative;
  318. left: 0;
  319. right: 0;
  320. .benner-iconBom {
  321. height: 18rpx;
  322. width: 50rpx;
  323. position: absolute;
  324. top: calc(55% + 18rpx);
  325. left: 50%;
  326. transform: translateX(-50%);
  327. z-index: 99;
  328. }
  329. .benner-icontop {
  330. width: 45rpx;
  331. height: 20rpx;
  332. position: absolute;
  333. top: 55%;
  334. left: 50%;
  335. transform: translateX(-50%);
  336. }
  337. .benner-box {
  338. height: 256rpx;
  339. width: 344rpx;
  340. position: relative;
  341. }
  342. .benner-left-box {
  343. background: url("../../static/home/benner-left.-bg.png") center/100% 99%
  344. no-repeat;
  345. .text1 {
  346. color: rgba(255, 255, 255, 0.8);
  347. color: 28rpx;
  348. position: absolute;
  349. left: 26rpx;
  350. top: 88rpx;
  351. }
  352. .btn {
  353. font-size: 24rpx;
  354. background: #1f1f1f;
  355. color: #acf934;
  356. display: inline-block;
  357. border-radius: 390rpx;
  358. padding: 8rpx 24rpx;
  359. padding-bottom: 10rpx;
  360. position: absolute;
  361. bottom: 38rpx;
  362. left: 26rpx;
  363. }
  364. }
  365. .benner-right-box {
  366. background: url("../../static/home/benner-right-bg.png") center/100% 99%
  367. no-repeat;
  368. display: flex;
  369. flex-direction: column;
  370. justify-content: space-evenly;
  371. align-items: center;
  372. height: 256rpx;
  373. .text {
  374. color: #999;
  375. font-size: 20rpx;
  376. position: absolute;
  377. top: 56rpx;
  378. left: 26rpx;
  379. }
  380. .guard {
  381. position: relative;
  382. left: 0;
  383. top: 0;
  384. width: 312rpx;
  385. height: 104rpx;
  386. background: url("../../static/home/benner-right-btnTop.png") center/100%
  387. no-repeat;
  388. margin-bottom: 10rpx;
  389. }
  390. .match {
  391. position: relative;
  392. left: 0;
  393. top: 0;
  394. width: 312rpx;
  395. height: 104rpx;
  396. background: url("../../static/home/benner-right-btnBom.png") center/100%
  397. no-repeat;
  398. }
  399. }
  400. }
  401. }
  402. .waterfall-list-container {
  403. background: #fff;
  404. }
  405. .navCenter {
  406. .topBox {
  407. display: flex;
  408. flex-direction: row;
  409. justify-content: center;
  410. align-items: center;
  411. }
  412. }
  413. .lhSelectCity {
  414. background-color: #fff;
  415. position: fixed;
  416. left: 0;
  417. right: 0;
  418. width: 100%;
  419. height: 100vh;
  420. padding: 0 25rpx;
  421. padding-top: var(--status-bar-height);
  422. }
  423. .homePage {
  424. ::v-deep.zp-scroll-view-super {
  425. // padding-top: 22rpx;
  426. border-top-left-radius: 40rpx;
  427. border-top-right-radius: 40rpx;
  428. background-color: #fff;
  429. }
  430. }