index.less 6.1 KB

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