index.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // Color variables (appears count calculates by raw css)
  2. @color0: #292929; // Appears 4 times
  3. @color1: #f5f5f5; // Appears 3 times
  4. @color2: #3f3f3f; // Appears 2 times
  5. @color3: #ffffff; // Appears 2 times
  6. page {
  7. background-color: @color1;
  8. .divider-line {
  9. background-color: @color1;
  10. height: 20rpx;
  11. width: 100%;
  12. }
  13. .form-address {
  14. .t-dialog-confirm {
  15. color: @color2;
  16. }
  17. }
  18. }
  19. .address-flex-box {
  20. display: flex;
  21. flex-wrap: wrap;
  22. }
  23. .address-detail {
  24. font-size: 30rpx;
  25. }
  26. .address-detail-wx-location {
  27. align-items: center;
  28. background: @color3;
  29. display: flex;
  30. justify-content: space-between;
  31. padding: 24rpx 32rpx;
  32. }
  33. .address-detail-wx-arrow {
  34. align-items: flex-end;
  35. }
  36. .form-address {
  37. .t-topleft {
  38. align-items: flex-start;
  39. }
  40. .t-cell-left {
  41. margin-right: 0;
  42. }
  43. .t-cell-title {
  44. flex: none;
  45. width: 160rpx;
  46. font-size: 30rpx;
  47. }
  48. .t-cell-note {
  49. margin-bottom: -20rpx;
  50. }
  51. .t-input {
  52. width: 100%;
  53. }
  54. .t-textarea-cell-note {
  55. margin: 0 -32rpx;
  56. }
  57. .t-textarea__placeholder {
  58. color: #bbbbbb !important;
  59. }
  60. .form-content {
  61. box-sizing: border-box;
  62. display: block;
  63. width: 100%;
  64. }
  65. .field-text {
  66. color: #666666;
  67. flex: 1;
  68. font-size: 30rpx;
  69. padding: 0;
  70. &:after {
  71. border: none !important;
  72. }
  73. }
  74. .map {
  75. color: #9d9d9f;
  76. font-size: 48rpx !important;
  77. margin-left: 20rpx;
  78. }
  79. .field.text-area {
  80. align-items: flex-start;
  81. height: 200rpx;
  82. }
  83. .label-list {
  84. background: @color1;
  85. border: 2rpx solid transparent;
  86. color: #333333;
  87. font-size: 26rpx;
  88. height: 56rpx;
  89. line-height: 50rpx;
  90. margin: 0 20rpx 20rpx 0;
  91. min-width: 100rpx;
  92. padding: 0 20rpx;
  93. width: auto;
  94. &:after {
  95. content: none;
  96. }
  97. }
  98. .active-btn {
  99. background: #333;
  100. color: #fff;
  101. &:after {
  102. border: 4rpx solid @color2;
  103. }
  104. }
  105. }
  106. .submit {
  107. box-sizing: border-box;
  108. padding: 64rpx 30rpx 88rpx 30rpx;
  109. .btn-submit-address {
  110. background: #333;
  111. border-radius: 8rpx;
  112. color: @color3;
  113. width: 100%;
  114. }
  115. .btn-submit-address.disabled {
  116. background-color: #c6c6c6;
  117. &:after {
  118. display: none;
  119. }
  120. }
  121. }
  122. .dialog__button-confirm {
  123. color: @color0 !important;
  124. }
  125. .ntextinput {
  126. .t-textarea__wrapper {
  127. padding-top: 0rpx !important;
  128. padding-bottom: 0rpx !important;
  129. }
  130. }