Refine device-first baby management
This commit is contained in:
@@ -121,11 +121,11 @@ export default function SleepSchedule() {
|
||||
<View className='sleep-page'>
|
||||
<View className='page-header'>
|
||||
<Text className='page-title'>定时休眠</Text>
|
||||
<Text className='page-subtitle'>先选择一个孩子,再为对应设备设置休眠时间</Text>
|
||||
<Text className='page-subtitle'>先绑定设备并选择宝贝,再为对应设备设置休眠时间</Text>
|
||||
</View>
|
||||
<View className='empty-card'>
|
||||
<Text className='empty-title'>还没有当前孩子</Text>
|
||||
<Text className='empty-desc'>请先到管理页添加并选择孩子。</Text>
|
||||
<Text className='empty-title'>还没有当前宝贝</Text>
|
||||
<Text className='empty-desc'>请先去首页绑定设备,并在绑定流程中创建或选择宝贝。</Text>
|
||||
</View>
|
||||
{systemBanner}
|
||||
</View>
|
||||
@@ -153,7 +153,7 @@ export default function SleepSchedule() {
|
||||
|
||||
const currentRange = formatSleepRange(deviceStatus)
|
||||
const timezoneText = deviceStatus?.timezone || 'Asia/Shanghai'
|
||||
const childName = child.child_name || '当前孩子'
|
||||
const childName = child.child_name || '当前宝贝'
|
||||
|
||||
return (
|
||||
<View className='sleep-page'>
|
||||
|
||||
Reference in New Issue
Block a user