index.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. background: #ffff;
  13. min-height: 100%;
  14. height: auto;
  15. }
  16. .carousel-section {
  17. position: relative;
  18. }
  19. .carousel-section .home-top {
  20. width: 750rpx;
  21. position: absolute;
  22. top: 0;
  23. }
  24. .carousel-section .bg {
  25. position: absolute;
  26. top: 0;
  27. left: 0;
  28. width: 750rpx;
  29. height: 378rpx;
  30. }
  31. .carousel-section .bg image {
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .carousel-section .titleNview-placing {
  36. height: 25px;
  37. box-sizing: content-box;
  38. }
  39. .carousel-section .search {
  40. justify-content: space-between;
  41. padding: 10rpx 32rpx 20rpx;
  42. align-items: center;
  43. }
  44. .carousel-section .search .address {
  45. width: 32rpx;
  46. height: 38rpx;
  47. }
  48. .carousel-section .search .shop-name {
  49. height: 38rpx;
  50. position: relative;
  51. top: -4rpx;
  52. z-index: 100;
  53. font-size: 30rpx;
  54. font-family: PingFang SC;
  55. font-weight: 500;
  56. padding-left: 10rpx;
  57. }
  58. .carousel-section .search .shop-jt {
  59. margin-left: 8rpx;
  60. width: 16rpx;
  61. height: 10rpx;
  62. }
  63. .carousel-section .search .input-box {
  64. margin-left: 10rpx;
  65. position: relative;
  66. z-index: 99;
  67. width: 650rpx;
  68. height: 60rpx;
  69. background: #EEEEEE;
  70. border-radius: 30rpx;
  71. }
  72. .carousel-section .search .input-box .input-content {
  73. position: relative;
  74. z-index: 11;
  75. border-radius: 99rpx;
  76. flex-grow: 1;
  77. padding: 5rpx 30rpx;
  78. background: #fff;
  79. }
  80. .carousel-section .search .input-box .input-content .iconsearch {
  81. font-size: 50rpx;
  82. color: #CBCBCB;
  83. }
  84. .carousel-section .search .input-box .input-content .input {
  85. margin-left: 19rpx;
  86. flex-grow: 1;
  87. color: #CBCBCB;
  88. }
  89. .carousel-section .search .input-box .input-content .input input {
  90. font-size: 28rpx;
  91. color: #CBCBCB;
  92. }
  93. .carousel-section .search .input-box .input-button {
  94. padding-left: 20rpx;
  95. font-size: 28rpx;
  96. height: 100%;
  97. }
  98. .carousel {
  99. position: relative;
  100. z-index: 3;
  101. width: 100%;
  102. height: 360rpx;
  103. }
  104. .carousel .carousel-item {
  105. width: 100%;
  106. height: 100%;
  107. padding: 0 28rpx;
  108. overflow: hidden;
  109. }
  110. .carousel image {
  111. width: 100%;
  112. height: 100%;
  113. border-radius: 15rpx;
  114. }
  115. .top-tit {
  116. width: 332rpx;
  117. height: 32rpx;
  118. margin: 36rpx auto 23rpx;
  119. }
  120. .top-tit image {
  121. width: 332rpx;
  122. }
  123. .good-wrap {
  124. width: 700rpx;
  125. margin: auto;
  126. background: #FFFFFF;
  127. box-shadow: 0px 0px 20px 0px rgba(50, 50, 52, 0.06);
  128. border-radius: 20px 20px 20px 20px;
  129. }
  130. .good-wrap .good-img {
  131. width: 700rpx;
  132. height: 300rpx;
  133. position: relative;
  134. }
  135. .good-wrap .good-img image {
  136. position: absolute;
  137. top: 0;
  138. width: 700rpx;
  139. height: 300rpx;
  140. }
  141. .good-wrap .good-tit {
  142. padding: 15rpx 22rpx;
  143. font-size: 32rpx;
  144. font-weight: 500;
  145. color: #333333;
  146. }
  147. .good-wrap .price-btn {
  148. padding: 0 22rpx;
  149. }
  150. .good-wrap .price-btn .price .old-price {
  151. font-size: 26rpx;
  152. font-weight: 500;
  153. text-decoration: line-through;
  154. color: #999999;
  155. }
  156. .good-wrap .price-btn .price .new-price {
  157. font-size: 55rpx;
  158. font-weight: bold;
  159. color: #FF4C4C;
  160. }
  161. .good-wrap .price-btn .price .new-price::before {
  162. content: '¥';
  163. font-size: 32rpx;
  164. }
  165. .good-wrap .price-btn .btn {
  166. text-align: center;
  167. line-height: 53rpx;
  168. font-size: 28rpx;
  169. font-weight: bold;
  170. color: #FFFFFF;
  171. }
  172. .good-wrap .price-btn .btn .gobuy {
  173. width: 170rpx;
  174. height: 53rpx;
  175. background: #ff5346;
  176. border-radius: 27rpx;
  177. color: #fff;
  178. margin-right: 15rpx;
  179. }
  180. .good-wrap .price-btn .btn .goshare {
  181. width: 129rpx;
  182. height: 53rpx;
  183. border: 2rpx solid #ff5346;
  184. background: #fff;
  185. color: #ff5346;
  186. border-radius: 27rpx;
  187. }
  188. .share-box {
  189. width: 600rpx;
  190. height: 1000rpx;
  191. background: red;
  192. }
  193. .share-box .box-img {
  194. width: 600rpx;
  195. height: 1000rpx;
  196. }