index.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. @color_1: #999999;
  2. @color_2: #333;
  3. @color_3: #fff;
  4. @color_4: #ff2525;
  5. @background_color_1: #ffffff;
  6. @background_color_2: #333;
  7. page {
  8. background: #f5f5f5;
  9. height: 100%;
  10. }
  11. .address-container {
  12. display: flex;
  13. flex-direction: column;
  14. align-items: stretch;
  15. padding-bottom: calc(env(safe-area-inset-bottom) + 172rpx);
  16. .address-list {
  17. font-size: 24rpx;
  18. background-color: @background_color_1;
  19. -webkit-overflow-scrolling: touch;
  20. }
  21. .bottom-fixed {
  22. border-top: 1rpx solid #e5e5e5;
  23. position: fixed;
  24. bottom: 0;
  25. left: 0;
  26. right: 0;
  27. z-index: 1000;
  28. background: #fff;
  29. display: flex;
  30. justify-content: center;
  31. flex-direction: column;
  32. align-items: center;
  33. padding: 12rpx 32rpx calc(env(safe-area-inset-bottom) + 12rpx) 32rpx;
  34. .footer {
  35. margin-top: 10rpx;
  36. display: inline-block;
  37. width: 100%;
  38. text-align: center;
  39. font-size: 24rpx;
  40. font-weight: 400;
  41. color: @color_4;
  42. line-height: 60rpx;
  43. height: 60rpx;
  44. }
  45. }
  46. .btn-wrap {
  47. width: 100%;
  48. display: flex;
  49. justify-content: space-between;
  50. align-items: center;
  51. font-size: 32rpx;
  52. font-weight: bold;
  53. .location-btn {
  54. width: 332rpx;
  55. height: 88rpx;
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. background-color: @background_color_1;
  60. color: @color_2;
  61. position: relative;
  62. &::after {
  63. content: '';
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. width: 200%;
  68. height: 200%;
  69. transform: scale(0.5);
  70. transform-origin: 0 0;
  71. box-sizing: border-box;
  72. border-radius: 88rpx;
  73. border: #dddddd 2rpx solid;
  74. }
  75. }
  76. .address-btn {
  77. width: 300rpx;
  78. height: 80rpx;
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. background-color: @background_color_2;
  83. border-radius: 8rpx;
  84. color: @color_3;
  85. }
  86. .btn-default {
  87. background: #c6c6c6;
  88. }
  89. }
  90. .message {
  91. margin-top: 48rpx;
  92. }
  93. .custom-class {
  94. margin-right: 12rpx;
  95. font-weight: normal;
  96. }
  97. }
  98. .address-list {
  99. .no-address {
  100. width: 750rpx;
  101. padding-top: 30vh;
  102. display: flex;
  103. flex-direction: column;
  104. justify-content: flex-start;
  105. align-items: center;
  106. }
  107. .no-address__icon {
  108. width: 224rpx;
  109. height: 224rpx;
  110. }
  111. .no-address__text {
  112. font-size: 28rpx;
  113. line-height: 40rpx;
  114. color: @color_1;
  115. margin-top: 24rpx;
  116. }
  117. }