index.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /* nova-caipu/pages/new-app/index.wxss */
  2. .all{
  3. width: 100vw;
  4. height: 100vh;
  5. background-color: #f7f7f7;
  6. .picturebox{
  7. width: 100%;
  8. height: 430rpx;
  9. position: relative;
  10. .img{
  11. width: 100%;
  12. height: 430rpx;
  13. image{
  14. width: 100%;
  15. height: 100%;
  16. }
  17. }
  18. .infobox{
  19. width: 94%;
  20. height: 250rpx;
  21. background-color: white;
  22. display: flex;
  23. justify-content: center;
  24. flex-direction: column;
  25. align-items: center;
  26. border-radius: 20rpx;
  27. position: absolute;
  28. left: 3%;
  29. bottom: -186rpx;
  30. z-index: 10;
  31. border: solid #e5e5e5 2rpx;
  32. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
  33. .seach{
  34. width: 80%;
  35. height: 110rpx;
  36. background-color: white;
  37. .a{
  38. background-color: white;
  39. padding: auto;
  40. }
  41. }
  42. .datebox{
  43. width: 90%;
  44. height: 132rpx;
  45. display: flex;
  46. align-items: center;
  47. font-size: 32rpx;
  48. border-top: solid #e5e5e5 2rpx;
  49. .start{
  50. display: flex;
  51. justify-content: flex-end;
  52. }
  53. .day{
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. margin-left: auto;
  58. width: 90rpx;
  59. height: 42rpx;
  60. background-color: #ECECEC;
  61. font-size: 25rpx;
  62. color: black;
  63. }
  64. .end{
  65. margin-left: auto;
  66. }
  67. }
  68. }
  69. }
  70. .Legendary-Information{
  71. margin-top: 204rpx;
  72. width: 100%;
  73. background-color: white;
  74. overflow-y: hidden;
  75. padding-left: 3%;
  76. padding-right: 3%;
  77. padding-bottom: 40rpx;
  78. column-count: 2; /* 设置列数 */
  79. column-gap: 20rpx; /* 设置列间距 */
  80. .picbox {
  81. height: 280rpx;
  82. background-image: url('https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/01atf5032703958.png?imageView2/1/w/200/h/200');
  83. margin-top: 20rpx;
  84. margin-bottom: 20rpx;
  85. .pic-2{
  86. width: 100%;
  87. height: 56rpx;
  88. }
  89. .pic-1{
  90. width: 100%;
  91. height: 66rpx;
  92. padding-left: 126rpx;
  93. margin-top: 4rpx;
  94. .pic-1tex{
  95. font-size: 26rpx;
  96. }
  97. .pic-1tex2{
  98. font-size: 20rpx;
  99. }
  100. }
  101. }
  102. .cardbox {
  103. break-inside: avoid; /* 防止卡片在列之间断裂 */
  104. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  105. width: 100%; /* 确保卡片宽度为100% */
  106. .pic{
  107. width: 100%;
  108. height: 275rpx;
  109. }
  110. .textobx{
  111. width: 100%;
  112. height: 220rpx;
  113. padding-top: 10rpx;
  114. padding-left: 20rpx;
  115. padding-right: 20rpx;
  116. background-color: #f7f7f7;
  117. .title{
  118. width: 100%;
  119. height: 50rpx;
  120. display: flex;
  121. align-items: center;
  122. .til{
  123. font-size: 30rpx;
  124. font-weight: 600;
  125. }
  126. .collect{
  127. width: 50rpx;
  128. height: 50rpx;
  129. margin-left: auto;
  130. }
  131. }
  132. .miaosu{
  133. width: 100%;
  134. height: 80rpx; /* 设置固定高度 */
  135. font-size: 28rpx;
  136. overflow: hidden; /* 隐藏超出部分 */
  137. display: -webkit-box; /* 使用弹性盒子布局 */
  138. -webkit-box-orient: vertical; /* 垂直排列 */
  139. -webkit-line-clamp: 2; /* 限制显示的行数,这里设置为3行 */
  140. text-overflow: ellipsis; /* 超出部分显示省略号 */
  141. }
  142. .bottom{
  143. width: 100%;
  144. height: 80rpx;
  145. display: flex;
  146. align-items: center;
  147. .qian{
  148. color: #C5262Ced;
  149. display: flex;
  150. .numbox{
  151. margin-left: 6rpx;
  152. }
  153. }
  154. .soucang{
  155. width: 104rpx;
  156. height: 48rpx;
  157. font-size: 26rpx;
  158. background-color: #343027;
  159. border-radius: 40rpx;
  160. color: white;
  161. margin-left: auto;
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. }
  166. }
  167. }
  168. }
  169. }
  170. }