index.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. page {
  2. .top {
  3. width: 100%;
  4. position: relative;
  5. .header {
  6. position: absolute;
  7. width: 100%;
  8. top: 0;
  9. }
  10. }
  11. .swiper {
  12. height: 600rpx;
  13. .slide-image {
  14. width: 100%;
  15. height: 98%;
  16. }
  17. }
  18. .content_1 {
  19. width: 100%;
  20. height: 450rpx;
  21. display: flex;
  22. justify-content: space-between;
  23. .left,
  24. .right {
  25. width: 49%;
  26. }
  27. .left {
  28. background: url('https://file-cloud.fmode.cn/sHNeVwSaAg/20230808/ouoq71042645355.web?imageView2/1/w/200/h/200');
  29. background-size: cover;
  30. background-repeat: no-repeat;
  31. border-radius: 10rpx;
  32. .loading {
  33. display: flex;
  34. justify-content: center;
  35. }
  36. .title {
  37. width: 100%;
  38. height: 50rpx;
  39. padding: 20rpx;
  40. text-align: center;
  41. margin-bottom: 20rpx;
  42. }
  43. // position: relative;
  44. // .dots {
  45. // position: absolute;
  46. // bottom: 17rpx;
  47. // display: flex;
  48. // .dot {
  49. // width: 8rpx;
  50. // height: 8rpx;
  51. // border-radius: 100%;
  52. // background: white;
  53. // margin: 5rpx;
  54. // }
  55. // }
  56. }
  57. .right {
  58. height: 100%;
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: space-between;
  62. padding: 10rpx;
  63. .r_1,
  64. .r_2 {
  65. height: 49%;
  66. background: url('https://file-cloud.fmode.cn/sHNeVwSaAg/20230808/dm17ha044302729.web@2x?imageView2/1/w/200/h/200');
  67. background-size: cover;
  68. background-repeat: no-repeat;
  69. border-radius: 10rpx;
  70. .title {
  71. padding: 10rpx;
  72. }
  73. }
  74. }
  75. .cardBox {
  76. width: 100%;
  77. padding: 10rpx;
  78. display: flex;
  79. flex-direction: column;
  80. align-items: center;
  81. .card {
  82. background: white;
  83. width: 298rpx;
  84. height: 85rpx;
  85. display: flex;
  86. justify-content: space-between;
  87. padding: 10rpx;
  88. margin: 7.5rpx 0;
  89. border-radius: 10rpx;
  90. .image {
  91. height: 66rpx;
  92. width: 66rpx;
  93. border-radius: 10rpx;
  94. image {
  95. height: 66rpx;
  96. width: 66rpx;
  97. border-radius: 10rpx;
  98. }
  99. }
  100. .content {
  101. width: 72%;
  102. .c1 {
  103. font-size: 22.64rpx;
  104. font-weight: bold;
  105. }
  106. .c2 {
  107. font-size: 14rpx;
  108. color: gray;
  109. }
  110. .c1,
  111. .c2 {
  112. overflow: hidden; //超出的文本隐藏
  113. text-overflow: ellipsis; //溢出用省略号显示
  114. white-space: nowrap; //溢出不换行
  115. }
  116. .c3 {
  117. font-size: 14rpx;
  118. overflow: hidden; //超出的文本隐藏
  119. text-overflow: ellipsis; //溢出用省略号显示
  120. white-space: nowrap; //溢出不换行
  121. width: 200rpx;
  122. height: 30rpx;
  123. color: gray;
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. }
  128. }
  129. }
  130. }
  131. }
  132. .play-around {
  133. display: flex;
  134. align-items: center;
  135. justify-content: space-between;
  136. margin: 32rpx 0;
  137. .play-left {
  138. font-weight: bold;
  139. }
  140. .play-right {
  141. font-size: 24rpx;
  142. color: #999999;
  143. display: flex;
  144. align-content: center;
  145. >view {
  146. padding-right: 12rpx;
  147. }
  148. .title {
  149. font-weight: bold;
  150. }
  151. .more {
  152. font-size: 25rpx;
  153. color: gray;
  154. }
  155. }
  156. }
  157. // .recommendTitle {
  158. // margin: 20rpx 0;
  159. // width: 100%;
  160. // display: flex;
  161. // justify-content: space-between;
  162. // .title {
  163. // font-weight: bold;
  164. // }
  165. // .more {
  166. // font-size: 20rpx;
  167. // color: gray;
  168. // }
  169. // }
  170. .tab {
  171. width: 100%;
  172. text {
  173. padding: 10rpx 20rpx;
  174. font-size: 25rpx;
  175. margin-right: 10rpx;
  176. border-radius: 25rpx;
  177. background: #B7D173;
  178. }
  179. }
  180. .card {
  181. width: 100%;
  182. display: flex;
  183. margin: 50rpx 0;
  184. justify-content: space-between;
  185. height: 250rpx;
  186. .image {
  187. width: 40%;
  188. height: 100%;
  189. // background: greenyellow;
  190. video {
  191. background: white;
  192. border-radius: 15rpx;
  193. width: 100%;
  194. height: 100%;
  195. }
  196. }
  197. .content {
  198. width: 58%;
  199. display: flex;
  200. flex-direction: column;
  201. justify-content: space-around;
  202. .title {
  203. font-weight: bold;
  204. overflow: hidden; //超出的文本隐藏
  205. text-overflow: ellipsis; //溢出用省略号显示
  206. white-space: nowrap; //溢出不换行
  207. }
  208. .detail {
  209. font-size: 25rpx;
  210. color: gray;
  211. word-wrap: break-word;
  212. }
  213. .tabs {
  214. text {
  215. font-size: 20rpx;
  216. background: #eafac2;
  217. color: #B7D173;
  218. margin: 10rpx;
  219. padding: 0 10rpx;
  220. border-radius: 20rpx;
  221. }
  222. }
  223. .bottom {
  224. .prive {
  225. font-size: 30rpx;
  226. font-weight: bold;
  227. color: orange;
  228. }
  229. .range {
  230. font-size: 25rpx;
  231. color: gray;
  232. }
  233. }
  234. }
  235. }
  236. }