index.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* banner */
  2. .homeBanner {
  3. width: 100vw;
  4. height: 306rpx;
  5. background-color: #FFFFFF;
  6. }
  7. .swiperBanner {
  8. width: 702rpx;
  9. height: 286rpx;
  10. padding-top: 20rpx;
  11. margin: 0 auto;
  12. border-radius: 10rpx;
  13. overflow: hidden;
  14. }
  15. .swiperBanner swiper-item,
  16. .swiperBanner image {
  17. width: 100%;
  18. height: 100%;
  19. }
  20. /* 宫格 */
  21. .grid_box {
  22. width: 100vw;
  23. padding: 0 30rpx;
  24. box-sizing: border-box;
  25. background-color: #FFFFFF;
  26. }
  27. /* 展示区域title image */
  28. .display-title_image {
  29. width: 32rpx;
  30. height: 32rpx;
  31. margin: 0 6rpx;
  32. }
  33. .display-box-showList-button-box {
  34. position: relative;
  35. width: 96rpx;
  36. height: 30rpx;
  37. border-radius: 8rpx;
  38. margin-left: 12rpx;
  39. }
  40. /* 展示区盒子内部按钮 */
  41. .display-box-showList-button {
  42. width: 96rpx !important;
  43. height: 30rpx !important;
  44. border-radius: 8rpx !important;
  45. }
  46. .display-box-showList-button-text {
  47. position: absolute;
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. width: 100%;
  52. height: 100%;
  53. font-size: 18rpx;
  54. font-weight: 500;
  55. color: #FFFFFF;
  56. top: 0;
  57. left: 0;
  58. pointer-events: none;
  59. }
  60. /* 合作商家banner */
  61. .businessPartnerBanner {
  62. width: 100%;
  63. height: 320rpx;
  64. }
  65. .businessPartnerBanner>swiper-item {
  66. width: 100%;
  67. height: 300rpx;
  68. }