slider.wxss 996 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. page {
  2. background: #f1f1f1;
  3. }
  4. .swiper-screen {
  5. height: 460rpx;
  6. }
  7. .swiper-screen image {
  8. width: 100%;
  9. display: block;
  10. height: 460rpx;
  11. margin: 0;
  12. }
  13. .swiper-bg {
  14. background-image: url(http://image.weilanwl.com/img/swiper-bg.png);
  15. background-size: cover;
  16. height: 500rpx;
  17. }
  18. .swiper-bg swiper-item {
  19. height: 400rpx;
  20. }
  21. .swiper-bg swiper-item view {
  22. margin: 40rpx;
  23. }
  24. .swiper-bg image {
  25. width: 100%;
  26. display: block;
  27. height: 400rpx;
  28. margin: 0;
  29. border-radius: 10rpx;
  30. }
  31. .scroll-bar {
  32. background: #fff;
  33. display: flex;
  34. }
  35. .scroll-left, .scroll-right {
  36. width: 75rpx;
  37. text-align: center;
  38. line-height: 150rpx;
  39. font-size: 36rpx;
  40. color: #666;
  41. }
  42. .scroll-list-box {
  43. height: 150rpx;
  44. width: 600rpx;
  45. }
  46. .scroll-list {
  47. height: 150rpx;
  48. white-space: nowrap;
  49. }
  50. .scroll-item {
  51. display: inline-block;
  52. width: 200rpx;
  53. height: 150rpx;
  54. background-repeat: no-repeat;
  55. background-position: center center;
  56. background-size: 170rpx;
  57. background-color: #fff;
  58. }