修改之前注释内容,完善小程序文案和只显示位置
This commit is contained in:
@@ -88,7 +88,7 @@ export default function Device() {
|
||||
const nextValue = Boolean(e.detail?.value)
|
||||
setSleepEnabled(nextValue)
|
||||
Taro.showToast({
|
||||
title: nextValue ? '休眠展示已开启' : '休眠展示已关闭',
|
||||
title: nextValue ? '休眠已开启' : '休眠已关闭',
|
||||
icon: 'none',
|
||||
})
|
||||
}
|
||||
@@ -241,7 +241,7 @@ export default function Device() {
|
||||
</View>
|
||||
<View className='control-info'>
|
||||
<Text className='control-name'>定时休眠</Text>
|
||||
<Text className='control-detail'>开启后进入休眠展示</Text>
|
||||
<Text className='control-detail'>开启后进入休眠状态</Text>
|
||||
</View>
|
||||
</View>
|
||||
<Switch checked={sleepEnabled} onChange={handleSleepToggle} color='#FF8C42' />
|
||||
|
||||
@@ -375,7 +375,7 @@ export default function Location() {
|
||||
</View>
|
||||
) : (
|
||||
<>
|
||||
<View className='mode-switch'>
|
||||
{/* <View className='mode-switch'>
|
||||
{MODE_OPTIONS.map((item) => (
|
||||
<View
|
||||
key={item.key}
|
||||
@@ -388,7 +388,7 @@ export default function Location() {
|
||||
<Text className='mode-chip-text'>{item.label}</Text>
|
||||
</View>
|
||||
))}
|
||||
</View>
|
||||
</View> */}
|
||||
|
||||
<View className='map-section'>
|
||||
<Map
|
||||
|
||||
Reference in New Issue
Block a user