修改地点选择

This commit is contained in:
筱野
2025-08-21 23:00:21 +08:00
parent c32c86051c
commit e5176f4f5f
13 changed files with 406 additions and 223 deletions

View File

@@ -26,6 +26,11 @@ const FormSwitch: React.FC<FormSwitchProps> = ({ value, onChange, subTitle, info
{showTip && <View className='info-popover-mask' onClick={() => setShowTip(false)} />}
<View className='auto-degrade-section'>
<View className='auto-degrade-item'>
<Checkbox
className='auto-degrade-checkbox nut-checkbox-black'
checked={value}
onChange={onChange}
/>
<View className='auto-degrade-content'>
<Text className='auto-degrade-text'>{subTitle}</Text>
{
@@ -43,11 +48,6 @@ const FormSwitch: React.FC<FormSwitchProps> = ({ value, onChange, subTitle, info
)
}
</View>
<Checkbox
className='auto-degrade-checkbox nut-checkbox-black'
checked={value}
onChange={onChange}
/>
</View>
</View>
</>

View File

@@ -8,8 +8,8 @@
.auto-degrade-item {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
gap: 8px;
.auto-degrade-content {
display: flex;
align-items: center;
@@ -62,10 +62,8 @@
}
.auto-degrade-checkbox {
.nut-checkbox-icon {
width: 14px;
height: 14px;
}
width: 18px;
height: 18px;
}
}
}