index.less 7.2 KB

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