index.less 8.0 KB

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