This commit is contained in:
2025-11-27 15:53:53 +08:00

View File

@@ -194,8 +194,9 @@ function Intro() {
}); });
} }
Taro.redirectTo({ Taro.redirectTo({
url: `/other_pages/ntrp-evaluate/index?stage=${type}${type === StageType.RESULT ? `&id=${id}` : "" url: `/other_pages/ntrp-evaluate/index?stage=${type}${
}`, type === StageType.RESULT ? `&id=${id}` : ""
}`,
}); });
} }
@@ -229,7 +230,10 @@ function Intro() {
mode="aspectFit" mode="aspectFit"
/> />
</View> </View>
<View className={styles.lastResult}> <View
className={styles.lastResult}
onClick={() => handleNext(StageType.RESULT)}
>
<View className={styles.tipAndTime}> <View className={styles.tipAndTime}>
<Text></Text> <Text></Text>
<Text>{lastTestTime}</Text> <Text>{lastTestTime}</Text>
@@ -638,12 +642,13 @@ function Result() {
} }
const currentPage = getCurrentFullPath(); const currentPage = getCurrentFullPath();
Taro.redirectTo({ Taro.redirectTo({
url: `/login_pages/index/index${currentPage ? `?redirect=${encodeURIComponent(currentPage)}` : "" url: `/login_pages/index/index${
}`, currentPage ? `?redirect=${encodeURIComponent(currentPage)}` : ""
}`,
}); });
} }
function handleGo() { } function handleGo() {}
return ( return (
<View className={styles.resultContainer}> <View className={styles.resultContainer}>