list.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* 卡片列表 start */
  2. .list-card {
  3. position: relative;
  4. width: 100%;
  5. .list {
  6. /* 顶部内容 start */
  7. &__top {
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. padding: 0rpx 10rpx 20rpx 10rpx;
  12. font-size: 34rpx;
  13. .top-title {
  14. font-weight: 500;
  15. .icon {
  16. margin-right: 10rpx;
  17. }
  18. }
  19. .top-operation {
  20. font-size: 28rpx;
  21. }
  22. }
  23. /* 顶部内容 end */
  24. /* 列表内容 start */
  25. &__wrapper {
  26. background-color: #FFFFFF;
  27. border-radius: 15rpx;
  28. .list__item + .list__item {
  29. &::after {
  30. content: '';
  31. width: 96%;
  32. height: 1rpx;
  33. background-color: #F3F2F7;
  34. position: absolute;
  35. left: 50%;
  36. top: 0rpx;
  37. transform: translateX(-50%);
  38. }
  39. }
  40. }
  41. &__item {
  42. position: relative;
  43. padding: 30rpx;
  44. /* 列表数据 start */
  45. .item-data {
  46. display: flex;
  47. align-items: center;
  48. &.between {
  49. justify-content: space-between;
  50. }
  51. .item {
  52. &--left {
  53. margin-right: 20rpx;
  54. .icon {
  55. font-size: 42rpx;
  56. color: #838383;
  57. margin-right: 8rpx;
  58. }
  59. }
  60. &--right {
  61. flex: 1;
  62. }
  63. &--arrow {
  64. color: #AAAAAA;
  65. margin-left: 10rpx;
  66. }
  67. }
  68. }
  69. /* 列表数据 end */
  70. }
  71. /* 列表内容 end */
  72. }
  73. }
  74. /* 卡片列表 end */