index.less 7.5 KB

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