index.less 7.9 KB

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