index.scss 7.3 KB

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