index.wxss 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**index.wxss**/
  2. .swiper-item{position: relative; width: 100%;}
  3. .swiper_banner swiper-item image{width: 100%; height: 400rpx;}
  4. .swiper-box .wx-swiper-dots.wx-swiper-dots-horizontal{width: 100%; padding-right: 30rpx;display: flex;justify-content:flex-end;box-sizing: border-box;}
  5. .nav{ width: 100%; padding:0 40rpx; box-sizing: border-box; height: 197rpx; align-items: center; background-color: #fff;}
  6. .nav .nav-item{width: 25%;}
  7. .nav .nav-item image{width: 80rpx; height:80rpx;}
  8. .nav .nav-item text{display: blcok;}
  9. .nav .nav-item navigator{width: 100%; flex-direction: column; align-items: center;}
  10. .nav .nav-item .nav-title{margin-top: 10rpx; font-size: 24rpx; color: #666;}
  11. .title-bar{position: relative; display: flex; height: 92rpx; border-bottom: 1px solid #eaeaea; align-items: center;justify-content: center;}
  12. /* .title-bar text{font-size: 36rpx; font-weight: bold;} */
  13. .title-bar navigator{position: absolute; right: 30rpx; top: 50%; margin-top: -15rpx; font-size: 24rpx; color: #999;align-items:flex-end;}
  14. .title-bar .iconfont{font-size: 40rpx; margin-right: 10rpx;}
  15. .title-bar .icon-xiala{vertical-align:middle;font-size:30rpx; font-weight: bold;}
  16. .new-product{margin-top: 30rpx; background-color: #fff;}
  17. .scroll-product{width: 100%; overflow: hidden; white-space: nowrap; padding:25rpx 0 35rpx 30rpx; box-sizing: border-box;}
  18. .scroll-product .item{width: 300rpx; height: 200rpx; margin-right: 28rpx; display: inline-block;}
  19. .scroll-product .item .img-box{width: 100%; height: 300rpx;}
  20. .scroll-product .item .img-box image{width: 100%; height: 300rpx;border-radius:10rpx;}
  21. .scroll-product .item .pro-info{width: 100%; padding-left: 10rpx; font-size: 28rpx;}
  22. .scroll-product .item .pro-info .pro-title{line-height: 60rpx; overflow: hidden;white-space: nowrap;text-overflow: ellipsis; }
  23. .scroll-product .item .pro-info .price-small{color: #ff3d3d;}
  24. .today-new{background-color: #fff; margin-top: 30rpx;}
  25. .new-pro-wrapper{padding: 0 30rpx;}
  26. .new-pro-wrapper .item navigator{width: 100%; padding:36rpx 25rpx; border-bottom: 1px solid #eee; justify-content: space-between; box-sizing: border-box;}
  27. .new-pro-wrapper .item .text-box{width:410rpx; flex-direction: column; justify-content: space-around;}
  28. .new-pro-wrapper .item .text-box .title{display: -webkit-box; display:-moz-box; display:box;-webkit-box-orient: vertical; -moz-box-orient: vertical; -webkit-line-clamp: 2;-moz-line-clamp: 2;overflow: hidden;}
  29. .new-pro-wrapper .item .text-box .price{color: #ff3d3d; font-size: 40rpx;}
  30. .new-pro-wrapper .item .text-box .price text{font-size: 28rpx;}
  31. .new-pro-wrapper .item .img-box image{width: 195rpx; height: 195rpx;border-radius:10rpx;}
  32. .new-pro-wrapper .item:nth-child(2) navigator{flex-direction:row-reverse;}
  33. .hot-banner image{display: block; width: 100%; height: 300rpx}
  34. .product-like .title-bar{height: 120rpx; border-bottom: 0;}
  35. .product-like .like-box{padding: 0 30rpx; flex-wrap: wrap; justify-content: space-between;}
  36. .product-like .like-box .item{width: 330rpx; background-color: #fff; margin-bottom: 28rpx;}
  37. .product-like .like-box .item .img-box image{width: 100%; height: 330rpx;border-radius:10rpx;}
  38. .product-like .like-box .item .text-info{padding: 10rpx;line-height: 1.5;}
  39. .product-like .like-box .item .text-info .title{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  40. .product-like .like-box .item .text-info .price{color:#ff3d3d;}