index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. page {
  2. background: #f4f4f4;
  3. }
  4. .search-box {
  5. padding-top: 10rpx;
  6. padding-bottom: 10rpx;
  7. width: 100%;
  8. background-color: #ffffff;
  9. }
  10. .search-top {
  11. display: flex;
  12. align-items: center;
  13. border-radius: 50rpx;
  14. height: 75rpx;
  15. margin: 3%;
  16. background: #f4f4f4;
  17. }
  18. .search-icon {
  19. font-size: 45rpx;
  20. float: left;
  21. margin: 20rpx;
  22. box-sizing: border-box;
  23. color: #888888;
  24. }
  25. .search-ipt {
  26. height: 75rpx;
  27. font-size: 30rpx;
  28. /* 去掉获取焦点的蓝边 */
  29. outline: none;
  30. }
  31. .search-btn {
  32. border-radius: 50rpx;
  33. width: 150rpx;
  34. height: 50rpx;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. margin-right: 15rpx;
  39. background: #ff8e0b;
  40. color: #fff;
  41. font-size: 30rpx;
  42. }
  43. .swiper {
  44. /* background-color: blue; */
  45. height: 330rpx;
  46. }
  47. .swiper-image {
  48. display: flex;
  49. flex-direction: row;
  50. justify-content: center;
  51. align-items: center;
  52. border-radius: 20rpx;
  53. }
  54. .front-content {
  55. display: flex;
  56. width: 100%;
  57. background-color: #fff;
  58. }
  59. .content-tittle {
  60. font-weight: 800;
  61. }
  62. .img-1 {
  63. /* margin-left: 15rpx; */
  64. width: 200rpx;
  65. height: 160rpx;
  66. margin-right: 20rpx;
  67. }
  68. .time {
  69. width: 100rpx;
  70. height: 40rpx;
  71. background: #ff8700;
  72. font-size: 25rpx;
  73. margin-left: 20rpx;
  74. color: #fff;
  75. text-align: center;
  76. line-height: 40rpx;
  77. border-radius: 8rpx;
  78. }
  79. .discount {
  80. width: 100%;
  81. background-color: #ffe7cc;
  82. color: #ff992a;
  83. text-align: center;
  84. margin-top: 15rpx;
  85. /* margin-bottom: 15rpx; */
  86. font-size: 27rpx;
  87. border-radius: 8rpx;
  88. }
  89. .all-bottom {
  90. background-color: black;
  91. opacity: 0.5;
  92. width: 100%;
  93. height: 100%;
  94. position: absolute;
  95. top: 0;
  96. left: 0;
  97. z-index: 11;
  98. }
  99. .top {
  100. height: 350rpx;
  101. padding: 12%;
  102. box-sizing: border-box;
  103. padding-top: 100rpx;
  104. }
  105. .block {
  106. width: 120px;
  107. height: 120px;
  108. background-color: #fff;
  109. }
  110. .pop-up {
  111. width: 520rpx;
  112. height: 500rpx;
  113. /* background-color: #f47861; */
  114. position: absolute;
  115. text-align: center;
  116. opacity: 100;
  117. left: 120rpx;
  118. top: 350rpx;
  119. z-index: 12;
  120. background: linear-gradient(#ff7e4c, #f62446);
  121. /* padding-bottom: 70rpx; */
  122. }
  123. .under {
  124. text-align: center;
  125. line-height: 70rpx;
  126. color: #fdeff0;
  127. }
  128. .del-icon {
  129. margin-top: 70rpx;
  130. border-radius: 100%;
  131. font-size: 50rpx;
  132. }