index.less 7.6 KB

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