index.acss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .a-list {
  2. box-sizing: border-box;
  3. }
  4. .a-list .a-list-header {
  5. padding: 30rpx 30rpx 18rpx;
  6. font-size: 28rpx;
  7. color: #888;
  8. display: inline-block;
  9. width: 100%;
  10. box-sizing: border-box;
  11. }
  12. .a-list .a-list-items .a-list-item {
  13. display: flex;
  14. font-size: 30rpx;
  15. line-height: 1.5;
  16. color: #333333;
  17. min-height: 88rpx;
  18. align-items: center;
  19. padding-left: 30rpx;
  20. background: #fff;
  21. }
  22. .a-list .a-list-item .a-list-item-bottom {
  23. display: block;
  24. position: absolute;
  25. width: 100%;
  26. border-bottom: 1px solid #ddd;
  27. left: 0;
  28. bottom: 0;
  29. right: auto;
  30. top: auto;
  31. }
  32. .a-list .a-list-item .a-list-item-thumb {
  33. width: 44rpx;
  34. height: 44rpx;
  35. margin-right: 30rpx;
  36. }
  37. .a-list .a-list-item .a-list-item-line {
  38. position: relative;
  39. display: flex;
  40. flex: 1;
  41. align-items: center;
  42. align-self: stretch;
  43. padding-right: 30rpx;
  44. min-height: 88rpx;
  45. overflow: hidden;
  46. }
  47. .a-list .a-list-item.am-list-item-top .a-list-item-line {
  48. align-items: flex-start;
  49. }
  50. .a-list .a-list-item.am-list-item-middle .a-list-item-line {
  51. align-items: center;
  52. }
  53. .a-list .a-list-item.am-list-item-bottom .a-list-item-line {
  54. align-items: flex-end;
  55. }
  56. .a-list .a-list-item .a-list-item-content {
  57. flex: 1;
  58. flex: 1;
  59. color: #000;
  60. font-size: .34rem;
  61. text-align: left;
  62. line-height: 1.5;
  63. width: auto;
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. white-space: nowrap;
  67. padding-top: .14rem;
  68. padding-bottom: .14rem;
  69. }
  70. .a-list .a-list-item.last .a-list-item-bottom{
  71. border-bottom: none;
  72. }
  73. .a-list .a-list-item .a-list-item-extra {
  74. flex-basis: 36%;
  75. color: #888;
  76. font-size: 32rpx;
  77. text-align: right;
  78. line-height: 1.5;
  79. width: auto;
  80. overflow: hidden;
  81. text-overflow: ellipsis;
  82. white-space: nowrap;
  83. padding-top: .14rem;
  84. padding-bottom: .14rem;
  85. }
  86. .a-list .a-list-item .a-list-item-line-wrap .a-list-item-content, .a-list .a-list-item .a-list-item-line-wrap .a-list-item-extra {
  87. white-space: normal;
  88. }
  89. .a-list .a-list-item.a-list-item-hover {
  90. background-color: #ddd;
  91. }
  92. .a-list .a-list-arrow {
  93. display: block;
  94. width: 30rpx;
  95. height: 30rpx;
  96. margin-left: 16rpx;
  97. background-image: url('data:image/svg+xml;charset=utf-8,<svg width="16" height="26" viewBox="0 0 16 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="UI-KIT_基础元件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="9.9基础元件" transform="translate(-5809.000000, -8482.000000)" fill="#C7C7CC"><polygon id="Disclosure-Indicator" points="5811 8482 5809 8484 5820.5 8495 5809 8506 5811 8508 5825 8495"></polygon></g></g></svg>');
  98. background-size: contain;
  99. background-repeat: no-repeat;
  100. background-position: 50% 50%;
  101. visibility: hidden;
  102. transition: transform 0.3s;
  103. }
  104. .a-list .a-list-arrow.a-list-arrow-horizontal {
  105. visibility: visible;
  106. }
  107. .a-list .a-list-arrow.a-list-arrow-vertical {
  108. visibility: visible;
  109. transform: rotate(90deg);
  110. }
  111. .a-list .a-list-arrow.a-list-arrow-vertical-up {
  112. visibility: visible;
  113. transform: rotate(270deg);
  114. }