list.wxss 827 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* pages/list/list.wxss */
  2. /* scroll-view 组件的基本使用 */
  3. /* .container1 view {
  4. width: 100px;
  5. height: 100px;
  6. text-align: center;
  7. line-height: 100px;
  8. }
  9. .container1 view:nth-child(1) {
  10. background-color: lightgreen;
  11. }
  12. .container1 view:nth-child(2) {
  13. background-color: lightskyblue;
  14. }
  15. .container1 view:nth-child(3) {
  16. background-color: lightpink;
  17. }
  18. .container1 {
  19. border: 1px solid red;
  20. width: 100px;
  21. height: 120px;
  22. } */
  23. /* 轮播图的样式 */
  24. /* .swiper-container {
  25. height: 150px;
  26. }
  27. .item {
  28. height: 100%;
  29. line-height: 150px;
  30. text-align: center;
  31. }
  32. swiper-item:nth-child(1) .item {
  33. background-color: lightgreen;
  34. }
  35. swiper-item:nth-child(2) .item {
  36. background-color: lightskyblue;
  37. }
  38. swiper-item:nth-child(3) .item {
  39. background-color: lightpink;
  40. } */
  41. image {
  42. border: 1px solid red;
  43. }