activePage2.wxss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. /* 头部 */
  2. .top {
  3. width: 750rpx;
  4. /* height: 1052rpx; */
  5. }
  6. .top .top-bgc {
  7. width: 750rpx;
  8. height: 844rpx;
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. z-index: -1;
  13. }
  14. .center-bgc{
  15. width: 750rpx;
  16. height: 1440rpx;
  17. position: absolute;
  18. margin-top: 844rpx;
  19. z-index: -99;
  20. }
  21. .bottom-bgc{
  22. width: 750rpx;
  23. height: 940rpx;
  24. position: absolute;
  25. margin-top: 2262rpx;
  26. }
  27. .top-position{
  28. position: absolute;
  29. margin-left: 30rpx;
  30. }
  31. .coupon {
  32. width: 690rpx;
  33. height: 268rpx;
  34. margin: 0 auto;
  35. margin-top: 704rpx;
  36. }
  37. .coupon swiper-item {
  38. width: 690rpx;
  39. height: 218rpx;
  40. background: url('https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220901/%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%202%402x.png') no-repeat;
  41. background-size: 100% 218rpx;
  42. display: flex;
  43. }
  44. .item-left {
  45. width: 256rpx;
  46. height: 218rpx;
  47. }
  48. .item-left .price {
  49. height: 141.7rpx;
  50. width: 256rpx;
  51. padding-top: 20rpx;
  52. box-sizing: border-box;
  53. display: flex;
  54. line-height: 150rpx;
  55. justify-content: center;
  56. }
  57. .item-left .price text {
  58. font-size: 36rpx;
  59. color: white;
  60. margin-top: 16rpx;
  61. }
  62. .item-left .priceFree {
  63. height: 65%;
  64. width: 100%;
  65. font-size: 36rpx;
  66. color: white;
  67. margin-left: 40rpx;
  68. margin-top: 10rpx;
  69. padding-top: 20rpx;
  70. box-sizing: border-box;
  71. }
  72. .item-left .priceFree text {
  73. color: white;
  74. font-size: 90rpx;
  75. }
  76. .item-left .price view {
  77. /* width: 190rpx;
  78. height: 100rpx; */
  79. width: max-content;
  80. color: white;
  81. font-size: 90rpx;
  82. /* line-height: 160rpx; */
  83. }
  84. .item-left .type {
  85. font-size: 28rpx;
  86. color: white;
  87. text-align: center;
  88. margin-top: 5rpx;
  89. }
  90. .item-right {
  91. flex: 1;
  92. height: 190rpx;
  93. }
  94. .item-right .title {
  95. height: 140rpx;
  96. width: 100%;
  97. font-size: 36rpx;
  98. color: white;
  99. padding-top: 40rpx;
  100. padding-left: 30rpx;
  101. box-sizing: border-box;
  102. text-overflow: -o-ellipsis-lastline;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. display: -webkit-box;
  106. -webkit-line-clamp: 2;
  107. line-clamp: 2;
  108. -webkit-box-orient: vertical;
  109. }
  110. .item-right .title2 {
  111. width: 100%;
  112. font-size: 36rpx;
  113. color: white;
  114. padding-top: 40rpx;
  115. padding-left: 30rpx;
  116. box-sizing: border-box;
  117. }
  118. .title-detail {
  119. font-size: 20rpx;
  120. color: white;
  121. width: 366rpx;
  122. margin-left: 30rpx;
  123. margin-top: 4rpx;
  124. }
  125. .full_price {
  126. color: white;
  127. }
  128. .item-right .btn {
  129. font-size: 20rpx;
  130. color: white;
  131. width: 100rpx;
  132. height: 30rpx;
  133. background-color: #FF5459;
  134. border-radius: 22rpx;
  135. text-align: center;
  136. margin-left: 300rpx;
  137. margin-top: 20rpx;
  138. }
  139. /* 项目活动 */
  140. .projectAct {
  141. width: 350rpx;
  142. height: 78rpx;
  143. margin-top: 950rpx;
  144. }
  145. .projectAct image {
  146. width: 100%;
  147. height: 100%;
  148. margin-left: 168rpx;
  149. }
  150. .recharge{
  151. margin-top: 40rpx;
  152. width: 690rpx;
  153. height: 300rpx;
  154. background-color: #d8d8d8;
  155. border-radius: 20rpx;
  156. }
  157. .recharge image{
  158. width: 100%;
  159. height: 100%;
  160. }
  161. .discount {
  162. width: 670rpx;
  163. height: 300rpx;
  164. }
  165. .discount image {
  166. width: 690rpx;
  167. height: 300rpx;
  168. margin-top: 40rpx;
  169. border-radius: 20rpx;
  170. }
  171. /* 中间 */
  172. .center {
  173. width: 750rpx;
  174. min-height: 650rpx;
  175. background-size: 100% 100%;
  176. }
  177. /* 项目分类 */
  178. .classify {
  179. width: 100%;
  180. height: 140rpx;
  181. display: flex;
  182. align-items: center;
  183. justify-content: space-around;
  184. }
  185. .classify image {
  186. width: 100rpx;
  187. height: 100rpx;
  188. }
  189. /* 项目分类商品 */
  190. .classifyProject {
  191. width: 100%;
  192. height: 514rpx;
  193. margin-top: 38rpx;
  194. display: flex;
  195. }
  196. .classifyProject .classifyProject-item {
  197. height: 100%;
  198. width: 330rpx;
  199. border-radius: 24rpx;
  200. background-color: white;
  201. margin-left: 30rpx;
  202. }
  203. .classifyProject-item-top {
  204. width: 100%;
  205. height: 330rpx;
  206. }
  207. .classifyProject-item-top image {
  208. width: 100%;
  209. height: 100%;
  210. border-radius: 24rpx 24rpx 0 0;
  211. }
  212. .classifyProject-item-bottom {
  213. height: 184rpx;
  214. width: 100%;
  215. padding: 0 18rpx;
  216. box-sizing: border-box;
  217. padding-top: 8rpx;
  218. box-sizing: border-box;
  219. display: flex;
  220. flex-direction: column;
  221. justify-content: space-between;
  222. }
  223. .classifyProject-title {
  224. font-size: 28rpx;
  225. overflow: hidden;
  226. text-overflow: ellipsis;
  227. display: -webkit-box;
  228. -webkit-line-clamp: 2;
  229. -webkit-box-orient: vertical;
  230. }
  231. .classifyProject-price {
  232. width: 100%;
  233. height: 110rpx;
  234. display: flex;
  235. align-items: center;
  236. justify-content: space-between;
  237. }
  238. .classifyProject-price .price {
  239. font-size: 20rpx;
  240. color: #FF3007;
  241. }
  242. .classifyProject-price .price text {
  243. font-size: 36rpx;
  244. color: #FF3007;
  245. }
  246. .classifyProject-price image {
  247. width: 48rpx;
  248. height: 48rpx;
  249. margin-top: 10rpx;
  250. box-sizing: border-box;
  251. }
  252. /* 次卡活动 */
  253. .cardAct {
  254. width: 750rpx;
  255. height: 94rpx;
  256. display: flex;
  257. justify-content: center;
  258. /* margin-top: 20rpx; */
  259. }
  260. .cardAct .cardAct-image {
  261. width: 212rpx;
  262. height: 94rpx;
  263. margin: 0 auto;
  264. }
  265. /* 次卡轮播图 */
  266. .cardImage {
  267. width: 100%;
  268. height: 570rpx;
  269. margin-top: 20rpx;
  270. }
  271. .cardImage-item {
  272. width: 420rpx;
  273. height: 530rpx;
  274. margin: 0 auto;
  275. display: flex;
  276. justify-content: center;
  277. }
  278. .cardImage-item .imageSmall {
  279. width: 368rpx;
  280. height: 462.8rpx;
  281. margin: 0 auto;
  282. border-radius: 20rpx;
  283. }
  284. .cardImage-item .imageBig {
  285. width: 420rpx;
  286. /* border: 1rpx solid white; */
  287. height: 540rpx;
  288. margin: 0 auto;
  289. border-radius: 20rpx;
  290. }
  291. .cardImage-item button {
  292. position: absolute;
  293. transform: translate(-50%);
  294. bottom: 2rpx;
  295. left: 50%;
  296. width: 262rpx;
  297. height: 60rpx;
  298. background-color: #FA7D22;
  299. color: white;
  300. border-radius: 40px;
  301. line-height: 60rpx;
  302. font-size: 28rpx;
  303. }
  304. /* 底部 */
  305. .bottom {
  306. width: 750rpx;
  307. min-height: 1206rpx;
  308. /* background: url('https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220901/%E7%BC%96%E7%BB%84%2012%402x%282%29.png') no-repeat; */
  309. background-size: 100% 100%;
  310. }
  311. /* 商品活动 */
  312. .commodity {
  313. width: 100%;
  314. height: 94rpx;
  315. margin-top: 20rpx;
  316. }
  317. .commodity image {
  318. width: 212rpx;
  319. height: 94rpx;
  320. margin: 0 auto;
  321. display: block;
  322. }
  323. /* 商品活动轮播图 */
  324. .commodity-swiper {
  325. width: 690rpx;
  326. height: 300rpx;
  327. margin: 0 auto;
  328. margin-top: 20rpx;
  329. /* border: 1px solid #FFFFFF; */
  330. border-radius: 20px;
  331. box-sizing: border-box;
  332. }
  333. .commodity-swiper swiper {
  334. width: 100%;
  335. height: 100%;
  336. }
  337. /* .commodity-swiper swiper-item{
  338. display: flex;
  339. justify-content: center;
  340. align-items: center;
  341. } */
  342. .commodity-swiper swiper-item image {
  343. width: 100%;
  344. height: 100%;
  345. border-radius: 20px;
  346. }
  347. /* .commodity-swiper swiper-item image {
  348. width: 97%;
  349. height: 98%;
  350. border-radius: 20px;
  351. } */
  352. /* 商品活动商品轮播图 */
  353. .classifyProject swiper {
  354. width: 100%;
  355. height: 100%;
  356. }
  357. .classifyProject swiper-item {
  358. width: 100%;
  359. height: 100%;
  360. display: flex;
  361. justify-content: space-around;
  362. }
  363. /* 拼团专区 */
  364. .joinGroup{
  365. height: 1174rpx;
  366. }
  367. .joinGroup .joinGroup-top{
  368. width: 212rpx;
  369. height: 94rpx;
  370. margin-left: 266rpx;
  371. margin-top: 738rpx;
  372. }
  373. .joinGroup .joinGroup-bottom{
  374. width: 726rpx;
  375. height: 336rpx;
  376. margin-left: 12rpx;
  377. position: relative;
  378. bottom: 10rpx;
  379. /* margin-top: 10rpx; */
  380. }