/* 全局样式 */ page { background-color: #f5f5f5; } .address-container { padding-bottom: 20rpx; } /* 表单项目 */ .form-item { display: flex; align-items: center; background-color: #fff; padding: 0 30rpx; height: 100rpx; border-bottom: 1rpx solid #f1f1f1; } .form-label { font-size: 28rpx; color: #333; width: 160rpx; } .required::after { content: '*'; color: #ff4d4f; margin-left: 4rpx; } .form-input { flex: 1; height: 100%; font-size: 28rpx; color: #333; padding: 0 10rpx; } .form-input::placeholder { color: #999; font-size: 26rpx; } /* 地区选择器 */ .area-picker { flex: 1; display: flex; align-items: center; justify-content: space-between; } .area-text { font-size: 28rpx; color: #333; margin-right: 10rpx; } .right-icon { margin-left: auto; } /* 开关项 */ .switch-item { justify-content: space-between; } /* 提交按钮 */ .submit-btn { margin: 40rpx 30rpx; height: 90rpx; line-height: 90rpx; background-color: #2C85FF; color: #fff; font-size: 32rpx; border-radius: 45rpx; margin-top: 100rpx; } .submit-btn::after { border: none; /* background-color: #cccccc; */ } .submit-btn:disabled { color: #ffffff; } /* 省市区选择器 */ .area-picker-view { position: fixed; bottom: 0; left: 0; right: 0; height: 400rpx; background-color: #fff; z-index: 100; } .picker-item { display: flex; align-items: center; justify-content: center; font-size: 28rpx; color: #333; } /* 遮罩层 */ .mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 99; } /* 详细地址容器 */ .detail-address-wrapper { flex: 1; display: flex; align-items: center; } /* 地图按钮 */ .map-btn { width: 50rpx; height: 50rpx; padding: 0; margin-left: 10rpx; background: transparent; } .map-icon { width: 30rpx; height: 30rpx; } /* POI提示文字 */ .poi-tip { position: absolute; left: 190rpx; top: 70rpx; font-size: 22rpx; color: #666; } /* 优化选择器容器样式,与原生组件适配 */ .area-picker { flex: 1; display: flex; align-items: center; justify-content: space-between; padding-right: 10rpx; } .area-text { font-size: 28rpx; color: #333; /* 处理文字溢出 */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 空状态文字颜色区分 */ .area-text:empty::before { content: '请选择省/市/区'; color: #999; } .right-icon { margin-left: 10rpx; } /* 保持原有样式不变 */ .form-item { display: flex; align-items: center; background-color: #fff; padding: 0 30rpx; height: 100rpx; border-bottom: 1rpx solid #f1f1f1; } .area-picker { flex: 1; display: flex; align-items: center; justify-content: space-between; padding-right: 10rpx; } /* 其他样式保持不变 */