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: 350rpx;
  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: 230rpx;
  65. height: 160rpx;
  66. margin-right: 20rpx;
  67. }
  68. .time {
  69. width: 100rpx;
  70. height: 35rpx;
  71. background: #ff8700;
  72. font-size: 25rpx;
  73. margin-left: 20rpx;
  74. color: #fff;
  75. text-align: center;
  76. /* align-items: center; */
  77. line-height: 35rpx;
  78. border-radius: 8rpx;
  79. }
  80. .discount {
  81. width: 100%;
  82. background-color: #ffe7cc;
  83. color: #ff992a;
  84. text-align: center;
  85. margin-top: 15rpx;
  86. /* margin-bottom: 15rpx; */
  87. font-size: 27rpx;
  88. border-radius: 8rpx;
  89. }
  90. .all-bottom {
  91. background-color: rgba(0, 0, 0, .7);
  92. opacity: 0.5;
  93. width: 100%;
  94. height: 100%;
  95. position: fixed;
  96. top: 0;
  97. left: 0;
  98. }
  99. .pop-up {
  100. width: 550rpx;
  101. height: 650rpx;
  102. text-align: center;
  103. /* background-color: #f47861; */
  104. position: relative;
  105. opacity: 100;
  106. left: 100rpx;
  107. bottom: 630rpx;
  108. /* /* z-index: 12; */
  109. background: linear-gradient(#f79654, #f5815e, #f37064, #f26a66, #f05f68);
  110. border-radius: 10rpx;
  111. }
  112. .top {
  113. /* height:550rpx; */
  114. padding: 0 12%;
  115. box-sizing: border-box;
  116. padding-top: 285rpx;
  117. }
  118. .img-2 {
  119. position: absolute;
  120. top: -160rpx;
  121. right: 10rpx;
  122. width: 530rpx;
  123. }
  124. .under {
  125. line-height: 40rpx;
  126. font-size: 33rpx;
  127. color: #fdeff0;
  128. }
  129. .del-icon {
  130. margin-top: 80rpx;
  131. font-size: 80rpx;
  132. }