index.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /* nova-caipu/pages/new-app/index.wxss */
  2. .all{
  3. width: 100vw;
  4. height: 100vh;
  5. background-color: #f7f7f7;
  6. .picturebox{
  7. width: 100%;
  8. height: 430rpx;
  9. position: relative;
  10. .img{
  11. width: 100%;
  12. height: 430rpx;
  13. image{
  14. width: 100%;
  15. height: 100%;
  16. }
  17. }
  18. .infobox{
  19. width: 94%;
  20. height: 250rpx;
  21. background-color: white;
  22. display: flex;
  23. justify-content: center;
  24. flex-direction: column;
  25. align-items: center;
  26. border-radius: 20rpx;
  27. position: absolute;
  28. left: 3%;
  29. bottom: -186rpx;
  30. z-index: 10;
  31. border: solid #e5e5e5 2rpx;
  32. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
  33. .seach{
  34. width: 80%;
  35. height: 110rpx;
  36. background-color: white;
  37. .a{
  38. background-color: white;
  39. padding: auto;
  40. }
  41. }
  42. .datebox{
  43. width: 90%;
  44. height: 132rpx;
  45. display: flex;
  46. align-items: center;
  47. font-size: 32rpx;
  48. border-top: solid #e5e5e5 2rpx;
  49. .start{
  50. display: flex;
  51. justify-content: flex-end;
  52. }
  53. .day{
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. margin-left: auto;
  58. width: 90rpx;
  59. height: 42rpx;
  60. border-radius: 40rpx;
  61. border: gray solid 1px;
  62. font-size: 25rpx;
  63. color: black;
  64. }
  65. .end{
  66. margin-left: auto;
  67. }
  68. }
  69. }
  70. }
  71. .Legendary-Information{
  72. margin-top: 186rpx;
  73. width: 100%;
  74. background-color: white;
  75. overflow-y: hidden;
  76. padding-left: 3%;
  77. padding-right: 3%;
  78. display: flex;
  79. justify-content: space-between;
  80. flex-wrap: wrap;
  81. padding-bottom: 40rpx;
  82. .picbox {
  83. width: 48%;
  84. height: 280rpx;
  85. background-image: url('https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/01atf5032703958.png?imageView2/1/w/200/h/200');
  86. background-size: cover; /* 使背景图片覆盖整个容器 */
  87. background-position: center; /* 使背景图片居中显示 */
  88. background-repeat: no-repeat; /* 防止背景图片重复 */
  89. margin-top: 20rpx;
  90. }
  91. .cardbox {
  92. width: 48%;
  93. height: 495rpx;
  94. margin-top: 20rpx;
  95. .pic{
  96. width: 100%;
  97. height: 275rpx;
  98. }
  99. .textobx{
  100. width: 100%;
  101. height: 220rpx;
  102. padding-top: 10rpx;
  103. padding-left: 20rpx;
  104. padding-right: 20rpx;
  105. background-color: #f7f7f7;
  106. .title{
  107. width: 100%;
  108. height: 50rpx;
  109. display: flex;
  110. align-items: center;
  111. .til{
  112. font-size: 30rpx;
  113. font-weight: 600;
  114. }
  115. .collect{
  116. width: 50rpx;
  117. height: 50rpx;
  118. margin-left: auto;
  119. }
  120. }
  121. .miaosu{
  122. width: 100%;
  123. height: 80rpx; /* 设置固定高度 */
  124. font-size: 28rpx;
  125. overflow: hidden; /* 隐藏超出部分 */
  126. display: -webkit-box; /* 使用弹性盒子布局 */
  127. -webkit-box-orient: vertical; /* 垂直排列 */
  128. -webkit-line-clamp: 2; /* 限制显示的行数,这里设置为3行 */
  129. text-overflow: ellipsis; /* 超出部分显示省略号 */
  130. }
  131. .bottom{
  132. width: 100%;
  133. height: 80rpx;
  134. display: flex;
  135. align-items: center;
  136. .qian{
  137. color: #C5262Ced;
  138. display: flex;
  139. .numbox{
  140. margin-left: 6rpx;
  141. }
  142. }
  143. .soucang{
  144. width: 104rpx;
  145. height: 48rpx;
  146. font-size: 26rpx;
  147. background-color: #343027;
  148. border-radius: 40rpx;
  149. color: white;
  150. margin-left: auto;
  151. display: flex;
  152. justify-content: center;
  153. align-items: center;
  154. }
  155. }
  156. }
  157. }
  158. }
  159. }