index.less 7.1 KB

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