index.wxss 2.3 KB

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