index.less 7.8 KB

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