index.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. background-color: #F9F9F9;
  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. .Legendary-Information2{
  178. margin-top: 204rpx;
  179. width: 100%;
  180. background-color: white;
  181. overflow-y: hidden;
  182. padding-left: 3%;
  183. padding-right: 3%;
  184. padding-bottom: 40rpx;
  185. }
  186. }