Commit c5bdbe7b authored by hewenhao's avatar hewenhao

feat: fail UI

parent 9e95896f
...@@ -163,6 +163,18 @@ ...@@ -163,6 +163,18 @@
} }
} }
.fail {
display: flex;
align-items: center;
justify-content: center;
padding-top: 10vh;
}
.fail_icon {
width: 498px;
height: 96px;
}
.gap { .gap {
height: 160px; height: 160px;
} }
......
...@@ -92,7 +92,9 @@ const GameCompleteAchieve = () => { ...@@ -92,7 +92,9 @@ const GameCompleteAchieve = () => {
if (gameResult.errNum > 0 || !gameResult.level) { if (gameResult.errNum > 0 || !gameResult.level) {
return ( return (
<> <>
<View>没关系,差一点就成功了! 加油!加油!</View> <View className={classNames(styles.wrap, styles.fail)}>
<Image src={require('../assets/fail.png')} className={styles.fail_icon}></Image>
</View>
{renderBtn()} {renderBtn()}
</> </>
) )
......
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