add-address.scss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. @import "../../../../themes/page.scss";
  2. @import "../../searc-list.scss";
  3. /* module/diet/pages/diet-info/diet-info.wxss */
  4. .add-address-scroll {
  5. padding: 0 24rpx 0rpx 24rpx;
  6. background: #f7f7f7;
  7. min-height: 100vh;
  8. width: 94%;
  9. }
  10. .smart-fill {
  11. background: #fff;
  12. border-radius: 24rpx;
  13. margin: 32rpx 0 16rpx 0;
  14. padding: 32rpx;
  15. width: 100%;
  16. box-sizing: border-box;
  17. }
  18. .smart-title {
  19. font-size: 32rpx;
  20. font-weight: 500;
  21. margin-bottom: 16rpx;
  22. }
  23. .smart-paste {
  24. color: #bbb;
  25. font-size: 26rpx;
  26. background: #f7f7f7;
  27. border-radius: 16rpx;
  28. padding: 20rpx;
  29. }
  30. .form-box {
  31. background: #fff;
  32. border-radius: 20rpx;
  33. padding: 0 24rpx;
  34. }
  35. .form-item {
  36. display: flex;
  37. align-items: center;
  38. background: #fff;
  39. border-bottom: 1px solid #f3f3f3;
  40. height: 110rpx;
  41. padding: 0 32rpx;
  42. &:last-child {
  43. border-bottom: none;
  44. }
  45. }
  46. .form-label {
  47. width: 140rpx;
  48. color: #333;
  49. font-size: 28rpx;
  50. flex-shrink: 0;
  51. }
  52. .form-input {
  53. flex: 1;
  54. height: 110rpx;
  55. background: #fff !important;
  56. border: none !important;
  57. font-size: 28rpx;
  58. line-height: 110rpx;
  59. padding: 0 16rpx;
  60. box-sizing: border-box;
  61. }
  62. .form-input ::-webkit-input-placeholder { /* Webkit/微信小程序支持 */
  63. color: red !important; // 或 #bbb,根据你想要的灰度
  64. font-size: 28rpx !important;
  65. }
  66. .form-input :-moz-placeholder { /* Firefox 4-18 */
  67. color: #E7E7E7 !important;
  68. font-size: 28rpx !important;
  69. }
  70. .form-input ::-moz-placeholder { /* Firefox 19+ */
  71. color: #E7E7E7 !important;
  72. font-size: 28rpx !important;
  73. }
  74. .form-input :-ms-input-placeholder { /* IE10+ */
  75. color: #E7E7E7 !important;
  76. font-size: 28rpx !important;
  77. }
  78. .privacy-tip {
  79. color: #ff9900;
  80. font-size: 24rpx;
  81. margin: 24rpx 0 0 0;
  82. padding: 0 24rpx;
  83. }
  84. .tag-box {
  85. display: flex;
  86. align-items: center;
  87. background: #fff;
  88. border-radius: 24rpx 24rpx 0 0;
  89. margin: 24rpx 0 0;
  90. padding: 24rpx;
  91. border-bottom: 0.5rpx solid lightgray;
  92. }
  93. .tagsList {
  94. margin-right: 10rpx !important;
  95. font-size: 28rpx !important;
  96. padding: 30rpx 43rpx !important;
  97. border-radius: 32rpx !important;
  98. background-color: white !important;
  99. border: 1px solid #E7E7E7 !important;
  100. color: #333 !important;
  101. }
  102. .selected {
  103. background-color: rgba(29,111,246,0.1) !important;
  104. border: 1px solid #1D6FF6 !important;
  105. color: #1D6FF6 !important;
  106. }
  107. .default-box {
  108. display: flex;
  109. align-items: center;
  110. background: #fff;
  111. border-radius: 0 0 20rpx 20rpx;
  112. padding: 24rpx;
  113. font-size: 28rpx;
  114. justify-content: space-between;
  115. }
  116. .save-btn-box {
  117. position: fixed;
  118. left: 0;
  119. bottom: 32rpx;
  120. width: 100%;
  121. background: transparent;
  122. // z-index: 100;
  123. display: flex;
  124. justify-content: center;
  125. align-items: center;
  126. }
  127. .save-btn {
  128. width: 48% !important;
  129. height: 96rpx !important;
  130. line-height: 96rpx !important;
  131. background: #1D6FF6 !important;
  132. color: #fff !important;
  133. font-size: 35rpx !important;
  134. border-radius: 100rpx !important;
  135. box-shadow: 0 8rpx 24rpx rgba(29,111,246,0.08) !important;
  136. border: none !important;
  137. font-weight: 500 !important;
  138. letter-spacing: 2rpx !important;
  139. text-align: center !important;
  140. }
  141. .select-tag{
  142. color: #1D6FF6 !important;
  143. border: 1px solid #1D6FF6 !important;
  144. }
  145. .form-detail {
  146. width: 100%; // 或指定宽度如 500rpx
  147. min-height: 110rpx;
  148. background: #fff !important;
  149. font-size: 28rpx;
  150. line-height: 1.6;
  151. padding: 16rpx 16rpx;
  152. box-sizing: border-box;
  153. resize: none;
  154. word-break: break-all; // 超出宽度自动换行
  155. }
  156. .address-detail-item {
  157. align-items: flex-start;
  158. .form-label {
  159. margin-top: 16rpx;
  160. }
  161. .form-detail {
  162. width: 100%;
  163. font-size: 28rpx;
  164. line-height: 1.2;
  165. padding: 8rpx 16rpx;
  166. box-sizing: border-box;
  167. background: #fff !important;
  168. border-radius: 8rpx;
  169. color: black !important;
  170. min-height: 60rpx;
  171. }
  172. }
  173. .smart-paste-box {
  174. position: relative;
  175. margin-bottom: 0;
  176. width: 100%;
  177. box-sizing: border-box;
  178. }
  179. .smart-paste-input-blur {
  180. box-shadow: none !important;
  181. }
  182. .smart-paste-input-focus {
  183. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.04) !important;
  184. min-height: 120rpx !important;
  185. }
  186. .smart-paste-btns {
  187. display: flex !important;
  188. justify-content: flex-end !important;
  189. margin-top: 24rpx !important;
  190. gap: 32rpx !important;
  191. }
  192. .smart-paste-btns-bottom {
  193. display: flex !important;
  194. justify-content: flex-end !important;
  195. margin-top: 16rpx !important;
  196. gap: 16rpx !important; // 按钮间距
  197. }
  198. .smart-btn {
  199. height: 56rpx !important;
  200. min-width: 96rpx !important;
  201. padding: 0 32rpx !important;
  202. border-radius: 32rpx !important;
  203. font-size: 28rpx !important;
  204. line-height: 56rpx !important;
  205. border: none !important;
  206. outline: none;
  207. margin: 0 10rpx 0 0 !important;
  208. }
  209. .smart-btn-clear {
  210. background: transparent !important;
  211. color: #999 !important;
  212. border: none !important;
  213. }
  214. .smart-btn-recognize {
  215. background: #1D6FF6 !important;
  216. color: #fff !important;
  217. }
  218. .smart-btn-recognize-disabled {
  219. background:rgba(29,111,246,0.7) !important;
  220. color: white !important;
  221. }
  222. // 智能识别地址聚焦时的样式
  223. .smart-paste-input-focus {
  224. height: 70px !important;
  225. }
  226. // 智能识别地址失焦时的样式
  227. .smart-paste-input-blur {
  228. height: 50px !important;
  229. }
  230. .smart-paste-input {
  231. font-size: 15rpx !important;
  232. border: none !important;
  233. background: #fafafa !important;
  234. border-radius: 20rpx !important;
  235. color: #bbb !important;
  236. padding: 20rpx !important;
  237. overflow: auto !important;
  238. }
  239. .delete-btn{
  240. width: 48%;
  241. background: #fff !important;
  242. color: #1D6FF6 !important;
  243. border: 1px solid #1D6FF6 !important;
  244. }