index.scss 9.7 KB

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