|
|
@@ -6,11 +6,17 @@ import { jumpPage } from "@/features/trackTimeDuration/hooks/Common";
|
|
|
import { useTranslation } from "react-i18next";
|
|
|
import { useSelector } from "react-redux";
|
|
|
import Taro from "@tarojs/taro";
|
|
|
+import { useEffect } from "react";
|
|
|
|
|
|
export default function GuideBegin() {
|
|
|
const user = useSelector((state: any) => state.user);
|
|
|
|
|
|
const { t } = useTranslation()
|
|
|
+
|
|
|
+ useEffect(() => {
|
|
|
+ Taro.setStorage({ key: '148alert', data: true })
|
|
|
+ }, [])
|
|
|
+
|
|
|
return <View style={{
|
|
|
display: 'flex',
|
|
|
flexDirection: 'column',
|
|
|
@@ -22,7 +28,7 @@ export default function GuideBegin() {
|
|
|
height: rpxToPx(200),
|
|
|
marginTop: rpxToPx(108),
|
|
|
marginBottom: rpxToPx(48),
|
|
|
- borderRadius:rpxToPx(100)
|
|
|
+ borderRadius: rpxToPx(100)
|
|
|
}} />
|
|
|
<View className="h50 bold">{t('health.guide_begin_title')}</View>
|
|
|
<View className="h30 g01" style={{ marginTop: rpxToPx(12), marginBottom: rpxToPx(72) }}>{t('health.guide_begin_desc')}</View>
|