index.wxss 5.3 KB

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