horizontalexpansion.wxss 736 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. page>view {
  2. width: 100vw;
  3. max-width: 100vw;
  4. }
  5. view, image, navigator {
  6. margin: 0;
  7. padding: 0;
  8. box-sizing: border-box;
  9. }
  10. .container {
  11. display: block;
  12. width: 100vw;
  13. padding: 20rpx;
  14. color: #ffffff;
  15. font-size: 28px;
  16. }
  17. .item {
  18. margin: 6px;
  19. height: 240px;
  20. line-height: 240px;
  21. text-align: center;
  22. background: #d8d8d8;
  23. color: #353535;
  24. /* border: 1px solid #555050; */
  25. }
  26. .item-swiper {
  27. display: none;
  28. height: 250px;
  29. }
  30. @media (max-width: 767px) {
  31. .item-swiper {
  32. display: block;
  33. }
  34. }
  35. .item-A {
  36. background: #1aad19;
  37. color: #ffffff;
  38. }
  39. .item-B {
  40. background: #2782d7;
  41. color: #ffffff;
  42. }
  43. .item-C {
  44. background: #d8d8d8;
  45. color: #353535;
  46. }
  47. .dark-C {
  48. background: #f1f1f1;
  49. color: #353535;
  50. }