修改地点选择
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user