index.scss 9.8 KB

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