完善设备端体验与微信校验支持

This commit is contained in:
stu2not
2026-07-07 16:58:05 +08:00
parent b4fef6d2e0
commit 937e3023fc
38 changed files with 3377 additions and 51 deletions
+24 -4
View File
@@ -394,18 +394,38 @@ export default function Location() {
}}
/>
</View>
<View className='location-empty-shell'>
<View className='guest-location-panel'>
<View className='location-empty-card'>
<Text className='location-empty-title'>设备定位与轨迹</Text>
<Text className='location-empty-desc'>绑定设备后,可在这里查看宝贝设备的位置、更新时间和定位精度。</Text>
<Text className='location-empty-desc'>这里用于展示设备当前位置、更新时间、定位精度和轨迹点。上方地图为功能预览,真实位置会在绑定设备后显示。</Text>
</View>
<View className='guest-location-card'>
<View className='guest-location-row'>
<Text className='guest-location-label'>当前位置</Text>
<Text className='guest-location-value'>绑定设备后显示</Text>
</View>
<View className='guest-location-row'>
<Text className='guest-location-label'>今日轨迹</Text>
<Text className='guest-location-value'>按上报时间形成轨迹</Text>
</View>
<View className='guest-location-row'>
<Text className='guest-location-label'>定位信息</Text>
<Text className='guest-location-value'>坐标、精度、电量和地址</Text>
</View>
</View>
<View className='guest-location-card'>
<Text className='guest-location-title'>开始使用</Text>
<Text className='guest-location-desc'>浏览地图和功能说明不需要登录;绑定设备或查看真实定位数据时,再进入登录流程。</Text>
<View
className='location-empty-action'
className='location-empty-action secondary'
onClick={() => {
Taro.setStorageSync('postLoginRedirect', '/pages/location/index')
Taro.navigateTo({ url: '/pages/login/index' })
}}
>
<Text className='location-empty-action-text'>登录后查看</Text>
<Text className='location-empty-action-text'>去登录 / 绑定设备</Text>
</View>
</View>
</View>