index.wxss 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .recommend .header {
  2. position: relative;
  3. }
  4. .recommend .header .headerBg {
  5. position: absolute;
  6. z-index: -2;
  7. width: 100%;
  8. height: 100%;
  9. background-color: white;
  10. }
  11. .recommend .header .swiper {
  12. margin: 0 auto;
  13. width: 710rpx;
  14. height: 216rpx;
  15. border-radius: 20rpx;
  16. overflow: hidden;
  17. box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  18. }
  19. .recommend .header .swiper .swiper-item {
  20. width: 100%;
  21. height: 100%;
  22. border-radius: 20rpx;
  23. overflow: hidden;
  24. }
  25. .recommend .scrollBox {
  26. width: 100%;
  27. }
  28. .recommend .scrollBox .firstClassify {
  29. padding: 24rpx 0rpx 20rpx;
  30. width: 100%;
  31. white-space: nowrap;
  32. background-color: white;
  33. }
  34. .recommend .scrollBox .firstClassify .firstBox {
  35. text-align: center;
  36. display: inline-block;
  37. width: 98rpx;
  38. padding: 0rpx 20rpx;
  39. }
  40. .recommend .scrollBox .firstClassify .firstBox .icon {
  41. width: 60rpx;
  42. height: 58rpx;
  43. }
  44. .recommend .scrollBox .firstClassify .firstBox .name {
  45. margin-top: 6rpx;
  46. font-weight: bold;
  47. font-size: 24rpx;
  48. }
  49. .recommend .demo-text-1 {
  50. background-color: rebeccapurple;
  51. }
  52. .recommend .demo-text-2 {
  53. background-color: #649933;
  54. }
  55. .recommend .demo-text-3 {
  56. background-color: #e4772e;
  57. }
  58. .recommend .selectType {
  59. padding: 30rpx 15rpx 30rpx 26rpx;
  60. display: flex;
  61. align-items: center;
  62. justify-content: space-between;
  63. }
  64. .recommend .selectType .type {
  65. padding: 14rpx 0rpx;
  66. width: 200rpx;
  67. box-sizing: border-box;
  68. text-align: center;
  69. border: 1rpx solid #9f9f9fa4;
  70. border-radius: 50rpx;
  71. color: #1A1A1A;
  72. font-size: 24rpx;
  73. }
  74. .recommend .selectType .currentType {
  75. border: none;
  76. box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  77. background-color: white;
  78. font-weight: bold;
  79. }
  80. .recommend .selectType .search {
  81. padding: 8rpx 20rpx;
  82. text-align: center;
  83. border: 1rpx solid #9f9f9fa4;
  84. border-radius: 50rpx;
  85. }
  86. .recommend .selectType .search .searchImg {
  87. width: 26rpx;
  88. height: 26rpx;
  89. }