pianoList.wxss 907 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* pages/chinka/chinka.wxss */
  2. .container{
  3. padding: 0;
  4. margin: 0;
  5. width: 100%;
  6. }
  7. .card-box{
  8. width: 700rpx;
  9. margin: 0 25rpx;
  10. display: flex;
  11. flex-wrap: wrap;
  12. justify-content: space-between;
  13. }
  14. .card-list{
  15. width: 320rpx;
  16. background: #f1f1f1;
  17. padding-top: 20rpx;
  18. padding: 20rpx 10rpx;
  19. margin-top: 20rpx;
  20. border-radius: 20rpx;
  21. }
  22. .card-img{
  23. width: 310rpx;
  24. height: 170rpx;
  25. margin: 0 5rpx;
  26. }
  27. .card-img image{
  28. width: 100%;
  29. height: 100%;
  30. border-radius: 10rpx;
  31. }
  32. .card-price,.card-days{
  33. display: inline-block;
  34. width: 155rpx;
  35. line-height: 32rpx;
  36. font-size: 24rpx;
  37. overflow: hidden;
  38. white-space: nowrap;
  39. text-overflow: ellipsis;
  40. }
  41. .card-name{
  42. width: 310rpx;
  43. font-size: 28rpx;
  44. height: 60rpx;
  45. line-height: 60rpx;
  46. overflow: hidden;
  47. white-space: nowrap;
  48. text-overflow: ellipsis;
  49. }
  50. .card-price{
  51. color: #cc6031;
  52. }
  53. .card-days{
  54. text-align: right;
  55. }