index.wxss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. .carousel-section {
  12. position: relative;
  13. padding-top: 10px;
  14. }
  15. .carousel-section .bg {
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. width: 750rpx;
  20. height: 378rpx;
  21. }
  22. .carousel-section .bg image {
  23. width: 100%;
  24. height: 100%;
  25. }
  26. .carousel-section .titleNview-placing {
  27. height: 25px;
  28. box-sizing: content-box;
  29. }
  30. .carousel-section .search {
  31. justify-content: flex-start;
  32. padding: 10rpx 32rpx 20rpx;
  33. align-items: center;
  34. }
  35. .carousel-section .search .address {
  36. width: 32rpx;
  37. height: 38rpx;
  38. }
  39. .carousel-section .search .shop-name {
  40. height: 38rpx;
  41. position: relative;
  42. top: -4rpx;
  43. z-index: 100;
  44. font-size: 30rpx;
  45. font-family: PingFang SC;
  46. font-weight: 500;
  47. color: #ffffff;
  48. padding-left: 10rpx;
  49. }
  50. .carousel-section .search .shop-jt {
  51. margin-left: 8rpx;
  52. width: 16rpx;
  53. height: 10rpx;
  54. }
  55. .carousel-section .search .input-box {
  56. margin-left: 10rpx;
  57. position: relative;
  58. z-index: 99;
  59. width: 700rpx;
  60. height: 60rpx;
  61. background: rgba(255, 255, 255, 0.4);
  62. border-radius: 30rpx;
  63. }
  64. .carousel-section .search .input-box .input-content {
  65. position: relative;
  66. z-index: 11;
  67. border-radius: 99rpx;
  68. flex-grow: 1;
  69. padding: 5rpx 30rpx;
  70. background: rgba(255, 255, 255, 0.4);
  71. }
  72. .carousel-section .search .input-box .input-content .iconsearch {
  73. font-size: 50rpx;
  74. color: #ffffff;
  75. }
  76. .carousel-section .search .input-box .input-content .input {
  77. margin-left: 19rpx;
  78. flex-grow: 1;
  79. color: #ffffff;
  80. }
  81. .carousel-section .search .input-box .input-content .input input {
  82. font-size: 28rpx;
  83. color: #ffffff;
  84. }
  85. .carousel-section .search .input-box .input-button {
  86. padding-left: 20rpx;
  87. font-size: 28rpx;
  88. height: 100%;
  89. }
  90. .carousel {
  91. position: relative;
  92. z-index: 3;
  93. width: 100%;
  94. height: 360rpx;
  95. }
  96. .carousel .carousel-item {
  97. width: 100%;
  98. height: 100%;
  99. padding: 0 28rpx;
  100. overflow: hidden;
  101. }
  102. .carousel image {
  103. width: 100%;
  104. height: 100%;
  105. border-radius: 15rpx;
  106. }
  107. .navbar {
  108. position: relative;
  109. z-index: 2;
  110. margin-top: -200rpx;
  111. width: 750rpx;
  112. height: 462rpx;
  113. background: #ffffff;
  114. border-radius: 40rpx;
  115. }
  116. .navbar .navbar-box {
  117. padding-top: 250rpx;
  118. }
  119. .navbar .navbar-box .navbar-item {
  120. display: flex;
  121. flex-direction: column;
  122. align-items: center;
  123. width: 25%;
  124. }
  125. .navbar .navbar-box .navbar-item .nitem-image {
  126. width: 98rpx;
  127. height: 98rpx;
  128. }
  129. .navbar .navbar-box .navbar-item .nitem-font {
  130. margin-top: 22rpx;
  131. font-size: 26rpx;
  132. font-family: PingFang SC;
  133. font-weight: 500;
  134. color: #000000;
  135. }
  136. .product-box {
  137. margin-top: 20rpx;
  138. background: #ffffff;
  139. padding: 26rpx 30rpx 20rpx;
  140. }
  141. .product-box .product-title {
  142. display: flex;
  143. align-items: center;
  144. }
  145. .product-box .product-title .pt-image {
  146. width: 36rpx;
  147. height: 36rpx;
  148. }
  149. .product-box .product-title .pt-title {
  150. margin-left: 8rpx;
  151. font-size: 32rpx;
  152. font-family: PingFang SC;
  153. font-weight: bold;
  154. color: #333333;
  155. }
  156. .product-box .product-title .pt-tip {
  157. margin-left: 16rpx;
  158. font-size: 20rpx;
  159. font-family: PingFang SC;
  160. font-weight: bold;
  161. color: #95a0b1;
  162. }
  163. .product-box .hotgoods {
  164. margin-top: 38rpx;
  165. width: 100%;
  166. display: flex;
  167. flex-wrap: wrap;
  168. padding: 0 0 30rpx;
  169. }
  170. .product-box .hotgoods .hotgoods-item {
  171. width: 48%;
  172. background-color: #ffffff;
  173. border-radius: 12rpx;
  174. }
  175. .product-box .hotgoods .hotgoods-item:nth-child(2n + 1) {
  176. margin-right: 24rpx;
  177. }
  178. .product-box .hotgoods .hotgoods-item .image-wrapper {
  179. width: 100%;
  180. height: 330rpx;
  181. border-radius: 3px;
  182. overflow: hidden;
  183. position: relative;
  184. }
  185. .product-box .hotgoods .hotgoods-item .image-wrapper .image-bg {
  186. position: absolute;
  187. top: 0;
  188. left: 0;
  189. right: 0;
  190. bottom: 0;
  191. width: 100%;
  192. height: 100%;
  193. opacity: 1;
  194. border-radius: 12rpx 12rpx 0 0;
  195. z-index: 2;
  196. }
  197. .product-box .hotgoods .hotgoods-item .image-wrapper .image {
  198. width: 100%;
  199. height: 100%;
  200. opacity: 1;
  201. border-radius: 12rpx 12rpx 0 0;
  202. }
  203. .product-box .hotgoods .hotgoods-item .title {
  204. margin-top: 24rpx;
  205. font-size: 28rpx;
  206. font-family: PingFang SC;
  207. font-weight: 500;
  208. color: #333333;
  209. }
  210. .product-box .hotgoods .hotgoods-item .hot-price {
  211. display: flex;
  212. justify-content: flex-start;
  213. align-items: center;
  214. padding: 14rpx 0 30rpx;
  215. }
  216. .product-box .hotgoods .hotgoods-item .hot-price .hotPrice-box {
  217. width: 70rpx;
  218. height: 28rpx;
  219. background: linear-gradient(90deg, #c79a4c, #f9df7f);
  220. border-radius: 5rpx;
  221. text-align: center;
  222. line-height: 28rpx;
  223. font-size: 20rpx;
  224. font-family: Source Han Sans CN;
  225. font-weight: 400;
  226. color: #ffffff;
  227. }
  228. .product-box .hotgoods .hotgoods-item .hot-price .price {
  229. margin-left: 10rpx;
  230. font-size: 40rpx;
  231. color: #ff0000;
  232. font-weight: 500;
  233. }
  234. .product-box .hotgoods .hotgoods-item .hot-price .yuanPrice {
  235. margin-left: 10rpx;
  236. font-size: 20rpx;
  237. font-family: PingFang SC;
  238. font-weight: 500;
  239. text-decoration: line-through;
  240. color: #999999;
  241. }
  242. .product-box .hotgoods .hotgoods-item .hot-price .cart-icon image {
  243. width: 44rpx;
  244. height: 44rpx;
  245. }
  246. .popup-box {
  247. width: 522rpx;
  248. height: 605rpx;
  249. background-color: #ffffff;
  250. border-radius: 20rpx;
  251. position: relative;
  252. }
  253. .popup-box .img {
  254. position: relative;
  255. top: -56rpx;
  256. left: 0;
  257. width: 522rpx;
  258. height: 132rpx;
  259. display: flex;
  260. justify-content: center;
  261. }
  262. .popup-box .img image {
  263. border-radius: 20rpx 20rpx 0 0;
  264. width: 450rpx;
  265. height: 132rpx;
  266. }
  267. .popup-box .mian {
  268. margin-top: -44rpx;
  269. display: flex;
  270. flex-direction: column;
  271. align-items: center;
  272. background-color: #ffffff;
  273. border-radius: 0 0 20rpx 20rpx;
  274. text-align: center;
  275. }
  276. .popup-box .mian .delivery {
  277. font-size: 40rpx;
  278. color: #333333;
  279. display: flex;
  280. align-items: center;
  281. flex-direction: column;
  282. }
  283. .popup-box .mian .delivery image {
  284. margin-top: 48rpx;
  285. width: 172rpx;
  286. height: 160rpx;
  287. }
  288. .popup-box .mian .nocancel {
  289. font-size: 32rpx;
  290. color: #333333;
  291. margin-top: 14rpx;
  292. }
  293. .popup-box .mian .comfirm-box {
  294. margin-top: 52rpx;
  295. display: flex;
  296. }
  297. .popup-box .mian .comfirm-box .cancel {
  298. display: flex;
  299. align-items: center;
  300. justify-content: center;
  301. width: 197rpx;
  302. height: 74rpx;
  303. border: 1px solid #dcc786;
  304. border-radius: 38rpx;
  305. font-size: 32rpx;
  306. color: #605128;
  307. }
  308. .popup-box .mian .comfirm-box .comfirm {
  309. margin-left: 32rpx;
  310. display: flex;
  311. align-items: center;
  312. justify-content: center;
  313. width: 197rpx;
  314. height: 74rpx;
  315. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  316. border-radius: 38px;
  317. font-size: 32rpx;
  318. color: #605128;
  319. }
  320. .cnxh {
  321. text-align: center;
  322. font-size: 30rpx;
  323. font-weight: 500;
  324. color: #363636;
  325. display: flex;
  326. justify-content: center;
  327. align-items: center;
  328. padding: 20rpx 0;
  329. }
  330. .cnxh .hx {
  331. width: 120rpx;
  332. height: 1rpx;
  333. background: #989898;
  334. margin: 0 40rpx;
  335. }