index.less 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. .today{
  50. font-size: 28rpx;
  51. color: gray;
  52. margin-left: 10rpx;
  53. display: flex;
  54. justify-content: flex-end;
  55. }
  56. .start{
  57. display: flex;
  58. justify-content: flex-end;
  59. }
  60. .day{
  61. display: flex;
  62. justify-content: center;
  63. align-items: center;
  64. margin-left: auto;
  65. width: 90rpx;
  66. height: 42rpx;
  67. background-color: #ECECEC;
  68. font-size: 25rpx;
  69. color: black;
  70. }
  71. .end{
  72. margin-left: auto;
  73. }
  74. }
  75. }
  76. }
  77. .Legendary-Information{
  78. margin-top: 204rpx;
  79. width: 100%;
  80. background-color: white;
  81. overflow-y: hidden;
  82. padding-left: 3%;
  83. padding-right: 3%;
  84. padding-bottom: 40rpx;
  85. column-count: 2; /* 设置列数 */
  86. column-gap: 20rpx; /* 设置列间距 */
  87. .picbox {
  88. height: 280rpx;
  89. background-image: url('https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/01atf5032703958.png?imageView2/1/w/200/h/200');
  90. margin-top: 20rpx;
  91. margin-bottom: 20rpx;
  92. break-inside: avoid;
  93. .pic-2{
  94. width: 100%;
  95. height: 56rpx;
  96. }
  97. .pic-1{
  98. width: 100%;
  99. height: 66rpx;
  100. padding-left: 126rpx;
  101. margin-top: 4rpx;
  102. .pic-1tex{
  103. font-size: 26rpx;
  104. }
  105. .pic-1tex2{
  106. font-size: 20rpx;
  107. }
  108. }
  109. }
  110. .cardbox {
  111. break-inside: avoid; /* 防止卡片在列之间断裂 */
  112. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  113. width: 100%; /* 确保卡片宽度为100% */
  114. .pic{
  115. width: 100%;
  116. height: 275rpx;
  117. }
  118. .textobx{
  119. width: 100%;
  120. height: 220rpx;
  121. padding-top: 10rpx;
  122. padding-left: 20rpx;
  123. padding-right: 20rpx;
  124. .title{
  125. width: 100%;
  126. height: 50rpx;
  127. display: flex;
  128. align-items: center;
  129. .til{
  130. font-size: 30rpx;
  131. font-weight: 600;
  132. }
  133. .collect{
  134. width: 50rpx;
  135. height: 50rpx;
  136. margin-left: auto;
  137. }
  138. }
  139. .miaosu{
  140. width: 100%;
  141. height: 80rpx; /* 设置固定高度 */
  142. font-size: 28rpx;
  143. overflow: hidden; /* 隐藏超出部分 */
  144. display: -webkit-box; /* 使用弹性盒子布局 */
  145. -webkit-box-orient: vertical; /* 垂直排列 */
  146. -webkit-line-clamp: 2; /* 限制显示的行数,这里设置为3行 */
  147. text-overflow: ellipsis; /* 超出部分显示省略号 */
  148. }
  149. .bottom{
  150. width: 100%;
  151. height: 80rpx;
  152. display: flex;
  153. align-items: center;
  154. .qian{
  155. color: #C5262Ced;
  156. display: flex;
  157. .numbox{
  158. margin-left: 6rpx;
  159. }
  160. }
  161. .soucang{
  162. width: 104rpx;
  163. height: 48rpx;
  164. font-size: 26rpx;
  165. background-color: #343027;
  166. border-radius: 40rpx;
  167. color: white;
  168. margin-left: auto;
  169. display: flex;
  170. justify-content: center;
  171. align-items: center;
  172. }
  173. }
  174. }
  175. }
  176. }
  177. }