index.wxss 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 .firstClassify {
  26. padding-top: 34rpx;
  27. width: 100%;
  28. white-space: nowrap;
  29. background-color: white;
  30. }
  31. .recommend .firstClassify .firstBox {
  32. text-align: center;
  33. display: inline-block;
  34. width: 100rpx;
  35. padding: 0rpx 20rpx;
  36. }
  37. .recommend .firstClassify .firstBox .icon {
  38. width: 58rpx;
  39. height: 58rpx;
  40. }
  41. .recommend .firstClassify .firstBox .name {
  42. margin-top: 6rpx;
  43. font-weight: bold;
  44. font-size: 24rpx;
  45. }
  46. .recommend .demo-text-1 {
  47. background-color: rebeccapurple;
  48. }
  49. .recommend .demo-text-2 {
  50. background-color: #649933;
  51. }
  52. .recommend .demo-text-3 {
  53. background-color: #e4772e;
  54. }
  55. .recommend .search {
  56. position: relative;
  57. background-color: white;
  58. padding: 30rpx 20rpx 22rpx;
  59. border-bottom-left-radius: 30rpx;
  60. border-bottom-right-radius: 30rpx;
  61. }
  62. .recommend .search .searchImg {
  63. position: absolute;
  64. top: 42rpx;
  65. left: 42rpx;
  66. width: 24rpx;
  67. height: 24rpx;
  68. }
  69. .recommend .search .input {
  70. width: 100%;
  71. height: 50rpx;
  72. border-radius: 50rpx;
  73. background-color: #F2F6FC;
  74. box-sizing: border-box;
  75. }
  76. .recommend .selectType {
  77. padding: 30rpx;
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. }
  82. .recommend .selectType .type {
  83. padding: 14rpx 0rpx;
  84. width: 200rpx;
  85. box-sizing: border-box;
  86. text-align: center;
  87. border: 1rpx solid #9f9f9fa4;
  88. border-radius: 50rpx;
  89. color: #1A1A1A;
  90. font-size: 24rpx;
  91. }
  92. .recommend .selectType .currentType {
  93. border: none;
  94. box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  95. background-color: white;
  96. font-weight: bold;
  97. }