index.scss 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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. .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. width: 100%;
  255. height: 144rpx;
  256. }
  257. .benner-box{
  258. box-sizing: border-box;
  259. padding: 20rpx;
  260. background: #fff;
  261. border-top-left-radius: 20rpx;
  262. border-top-right-radius: 20rpx;
  263. ::v-deep.uv-swiper{
  264. border-radius: 10rpx !important;
  265. overflow: hidden;
  266. }
  267. .classModel{
  268. display: flex;
  269. justify-content: space-between;
  270. align-items: center;
  271. position: relative;
  272. left: 0;
  273. right: 0;
  274. .benner-iconBom{
  275. height: 18rpx;
  276. width: 50rpx;
  277. position: absolute;
  278. top: calc(55% + 18rpx);
  279. left: 50%;
  280. transform: translateX(-50%);
  281. z-index: 99;
  282. }
  283. .benner-icontop{
  284. width: 45rpx;
  285. height: 20rpx;
  286. position: absolute;
  287. top: 55%;
  288. left: 50%;
  289. transform: translateX(-50%);
  290. }
  291. .benner-box{
  292. height: 256rpx;
  293. width: 344rpx;
  294. position: relative;
  295. }
  296. .benner-left-box{
  297. background:url("../../static/home/benner-left.-bg.png") center/100% 99% no-repeat;
  298. .text1{
  299. color: rgba(255,255,255, 0.8);
  300. color: 28rpx;
  301. position: absolute;
  302. left: 26rpx;
  303. top: 88rpx;
  304. }
  305. .btn{
  306. font-size: 24rpx;
  307. background: #1F1F1F;
  308. color: #ACF934 ;
  309. display: inline-block;
  310. border-radius: 390rpx;
  311. padding: 8rpx 24rpx;
  312. padding-bottom: 10rpx;
  313. position: absolute;
  314. bottom: 38rpx;
  315. left: 26rpx;
  316. }
  317. }
  318. .benner-right-box{
  319. background:url("../../static/home/benner-right-bg.png") center/100% 99% no-repeat;
  320. display: flex;
  321. flex-direction: column;
  322. justify-content: space-evenly;
  323. align-items: center;
  324. height: 256rpx;
  325. .text{
  326. color: #999;
  327. font-size: 20rpx;
  328. position: absolute;
  329. top: 56rpx;
  330. left: 26rpx;
  331. }
  332. .guard{
  333. position: relative;
  334. left: 0;
  335. top: 0;
  336. width: 312rpx;
  337. height: 104rpx;
  338. background: url("../../static/home/benner-right-btnTop.png") center/100% no-repeat;
  339. margin-bottom: 10rpx;
  340. }
  341. .match{
  342. position: relative;
  343. left: 0;
  344. top: 0;
  345. width: 312rpx;
  346. height: 104rpx;
  347. background: url("../../static/home/benner-right-btnBom.png") center/100% no-repeat;
  348. }
  349. }
  350. }
  351. }
  352. .waterfall-list-container{
  353. background: #fff;
  354. }
  355. .navCenter{
  356. .topBox{
  357. display: flex;
  358. flex-direction: row;
  359. justify-content: center;
  360. align-items: center;
  361. }
  362. }
  363. .lhSelectCity{
  364. background-color: #fff;
  365. position: fixed;
  366. left: 0;
  367. right: 0;
  368. width: 100%;
  369. height: 100vh;
  370. padding: 0 25rpx;
  371. padding-top: var(--status-bar-height);
  372. ;
  373. }