index.less 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. /* nova-caipu/pages/new-app/index.wxss */
  2. .all{
  3. width: 100vw;
  4. height: 100vh;
  5. color: #382E2E;
  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. display: flex;
  86. justify-content: center;
  87. flex-wrap: wrap; /* 允许换行 */
  88. gap: 20rpx; /* 设置间距 */
  89. .container {
  90. display: flex; /* 使用 Flexbox 布局 */
  91. flex-direction: column; /* 垂直排列 */
  92. width: calc(50% - 20rpx); /* 计算宽度,考虑间距 */
  93. margin-bottom: 20rpx; /* 设置底部间距 */
  94. .picbox {
  95. height: 280rpx;
  96. width: 100%; /* 根据需要调整宽度 */
  97. background-image: url('https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/01atf5032703958.png?imageView2/1/w/200/h/200');
  98. margin-top: 20rpx;
  99. margin-bottom: 20rpx;
  100. break-inside: avoid;
  101. float: left;
  102. background-size: cover; /* 使背景图按比例缩放,覆盖整个盒子 */
  103. background-position: center; /* 背景图位置居中 */
  104. .pic-2{
  105. width: 100%;
  106. height: 56rpx;
  107. }
  108. .pic-1{
  109. width: 100%;
  110. height: 66rpx;
  111. padding-left: 126rpx;
  112. margin-top: 6rpx;
  113. .pic-1tex{
  114. font-size: 26rpx;
  115. }
  116. .pic-1tex2{
  117. font-size: 20rpx;
  118. }
  119. }
  120. }
  121. .cardbox {
  122. width:100%; /* 计算宽度,考虑间距 */
  123. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  124. background-color: #F9F9F9;
  125. box-sizing: border-box; /* 确保内边距和边框包含在宽度内 */
  126. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  127. // width: 49%; /* 确保卡片宽度为100% */
  128. height: auto;
  129. background-color: #F9F9F9;
  130. // float: left;
  131. .pic{
  132. width: 100%;
  133. height: 275rpx;
  134. }
  135. .textobx{
  136. width: 100%;
  137. height: auto;
  138. padding-top: 10rpx;
  139. padding-left: 20rpx;
  140. padding-right: 20rpx;
  141. .title{
  142. width: 100%;
  143. height: 50rpx;
  144. display: flex;
  145. align-items: center;
  146. .til{
  147. font-size: 30rpx;
  148. font-weight: 600;
  149. }
  150. .collect{
  151. width: 50rpx;
  152. height: 50rpx;
  153. margin-left: auto;
  154. }
  155. }
  156. .miaosu{
  157. width: 100%;
  158. height: 80rpx; /* 设置固定高度 */
  159. font-size: 28rpx;
  160. overflow: hidden; /* 隐藏超出部分 */
  161. display: -webkit-box; /* 使用弹性盒子布局 */
  162. -webkit-box-orient: vertical; /* 垂直排列 */
  163. -webkit-line-clamp: 2; /* 限制显示的行数,这里设置为3行 */
  164. text-overflow: ellipsis; /* 超出部分显示省略号 */
  165. }
  166. .miaosu2{
  167. width: 100%;
  168. height: 80rpx;
  169. }
  170. .bottom{
  171. width: 100%;
  172. height: 80rpx;
  173. display: flex;
  174. align-items: center;
  175. .qian{
  176. color: #C5262Ced;
  177. display: flex;
  178. .numbox{
  179. margin-left: 6rpx;
  180. }
  181. }
  182. .soucang{
  183. width: 104rpx;
  184. height: 48rpx;
  185. font-size: 26rpx;
  186. background-color: #343027;
  187. border-radius: 40rpx;
  188. color: white;
  189. margin-left: auto;
  190. display: flex;
  191. justify-content: center;
  192. align-items: center;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. }
  199. .bottom2{
  200. width: 100%;
  201. font-size: 26rpx;
  202. margin-bottom: 40rpx;
  203. display: flex;
  204. align-items: center;
  205. justify-content: center;
  206. }
  207. .Legendary-Information2{
  208. margin-top: 204rpx;
  209. width: 100%;
  210. background-color: white;
  211. overflow-y: hidden;
  212. padding-left: 3%;
  213. padding-right: 3%;
  214. padding-bottom: 40rpx;
  215. }
  216. }