Commit 38c66327 authored by hewenhao's avatar hewenhao

Merge branch 'feature/2023-04-19-iter' of…

Merge branch 'feature/2023-04-19-iter' of dev.jiuaoedu.com:hewenhao/GeekLearnMathWeapp into feature/2023-04-19-iter
parents 6c1ced90 b963f02f
{ {
"name": "learn-math-weapp", "name": "learn-math-weapp",
"version": "1.0.9", "version": "1.0.11",
"private": true, "private": true,
"description": "", "description": "",
"scripts": { "scripts": {
......
...@@ -58,13 +58,13 @@ const MainHeader = () => { ...@@ -58,13 +58,13 @@ const MainHeader = () => {
const renderAgain = useCallback(() => ( const renderAgain = useCallback(() => (
<View className={styles.againDetails}> <View className={styles.againDetails}>
{stageDetail?.nextSteps?.map((item, index) => ( {stageDetail?.nextSteps?.map((item, index) => (
<GuideCompleteScene2 index={index + 2}> <GuideCompleteScene2 key={index} index={index + 2}>
<View className={styles.content}> <View className={styles.content}>
<Image className={styles.badge} style={{ marginRight: 10 }} src={formatNextStep(item).u} mode="widthFix" /> <Image className={styles.badge} style={{ marginRight: 10 }} src={formatNextStep(item).u} mode="widthFix" />
<View className={styles.center}> <View className={styles.center}>
用时 用时
<Image style={{ width: 14, height: 15 }} src={require('../assets/down-arrow.png')} mode="widthFix" /> <Image style={{ width: 14, height: 15 }} src={require('../assets/down-arrow.png')} mode="widthFix" />
{item.nextStepTime}秒,就能获得 {item.nextStepTime <= 0 ? 0.1 : item.nextStepTime}秒,就能获得
<Text style={{ color: '#FFCF83', fontWeight: 600 }}> <Text style={{ color: '#FFCF83', fontWeight: 600 }}>
{formatNextStep(item).t} {formatNextStep(item).t}
</Text> </Text>
......
...@@ -49,7 +49,7 @@ const MessageRenderer = ({ step, level, gear, upGear }) => { ...@@ -49,7 +49,7 @@ const MessageRenderer = ({ step, level, gear, upGear }) => {
const { detail } = detailIndexMap[targetStep] const { detail } = detailIndexMap[targetStep]
if (detail.nextStepTime < 0) { if (detail.nextStepTime <= 0) {
detail.nextStepTime = 0.1 detail.nextStepTime = 0.1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment