addritem.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. @color_1: #fff;
  2. @color_2: #333333;
  3. @color_3: #777;
  4. @color_4: #fa4126;
  5. @color_5: #fff;
  6. @background_color_1: #fa4126;
  7. @background_color_2: #fff;
  8. .address-item-wrapper {
  9. overflow: hidden;
  10. .swipe-out {
  11. .wr-swiper-cell {
  12. margin-top: 20rpx;
  13. }
  14. .swipe-right-del {
  15. display: flex;
  16. justify-content: center;
  17. align-items: center;
  18. width: 144rpx;
  19. height: 100%;
  20. background-color: @background_color_1;
  21. color: @color_1;
  22. font-size: 28rpx;
  23. line-height: 40rpx;
  24. }
  25. }
  26. .draw-line {
  27. position: relative;
  28. &::after {
  29. content: '';
  30. position: absolute;
  31. bottom: 0;
  32. left: 32rpx;
  33. width: calc(200% - 132rpx);
  34. bottom: 0;
  35. transform: scale(0.5);
  36. transform-origin: 0 0;
  37. box-sizing: border-box;
  38. border-bottom: #c7c7c7 2rpx solid;
  39. }
  40. }
  41. .address {
  42. display: flex;
  43. justify-content: space-between;
  44. align-items: center;
  45. padding: 32rpx;
  46. background-color: @background_color_2;
  47. .address-edit {
  48. padding: 20rpx 0 20rpx 46rpx;
  49. }
  50. .address-left {
  51. width: 80rpx;
  52. display: flex;
  53. justify-content: center;
  54. }
  55. .address-content {
  56. display: flex;
  57. flex-direction: column;
  58. flex: 1;
  59. .title {
  60. font-size: 32rpx;
  61. line-height: 48rpx;
  62. margin-bottom: 10rpx;
  63. color: @color_2;
  64. font-weight: bold;
  65. display: flex;
  66. .text-style {
  67. margin-right: 8rpx;
  68. overflow: hidden;
  69. text-overflow: ellipsis;
  70. white-space: nowrap;
  71. max-width: 280rpx;
  72. }
  73. .text-lighter {
  74. font-weight: lighter;
  75. font-size: 30rpx;
  76. }
  77. }
  78. .label-adds {
  79. display: flex;
  80. .adds {
  81. display: -webkit-box;
  82. overflow: hidden;
  83. text-overflow: ellipsis;
  84. -webkit-box-orient: vertical;
  85. -webkit-line-clamp: 2;
  86. color: @color_3;
  87. }
  88. .tag {
  89. display: inline-block;
  90. padding: 0rpx 8rpx;
  91. min-width: 40rpx;
  92. height: 32rpx;
  93. border-radius: 18rpx;
  94. font-size: 20rpx;
  95. line-height: 32rpx;
  96. text-align: center;
  97. margin-right: 8rpx;
  98. vertical-align: text-top;
  99. }
  100. .tag-default {
  101. background: @color_4;
  102. color: #fff;
  103. }
  104. .tag-primary {
  105. background: #333;
  106. color: @color_5;
  107. }
  108. .address-text {
  109. font-size: 28rpx;
  110. line-height: 40rpx;
  111. color: @color_3;
  112. }
  113. }
  114. }
  115. }
  116. }