Commit afb43270 authored by hewenhao's avatar hewenhao

feat: update

parent 39726ce6
......@@ -225,6 +225,7 @@
"雕刻家"
],
"adj": [
"英俊的",
"美丽的",
"幸福的",
"快乐的",
......@@ -242,6 +243,13 @@
"真诚的",
"诚实的",
"安静的",
"英俊的",
"帅气的",
"冲动的",
"淘气的",
"乖巧的",
"机灵的",
"天真的",
"优雅的",
"舒适的",
"轻松的",
......
......@@ -108,6 +108,15 @@ const StageComp = (props: StageProps) => {
const isReady = useStoreState(state => state.mainModel.isReady)
const player = useStoreState(state => state.mainModel.player)
const handleClick = () => {
if (stage.status !== StageStatus.DISABLED) {
/** 从首页进入更新状态 */
updateState({ isSubmit: false })
navigateTo({ url: `/pages/prepare/index?id=${stage.id}` })
player.stop()
}
}
const renderRound = (ready: boolean) => {
switch (stage.status) {
case StageStatus.DISABLED: {
......@@ -126,6 +135,7 @@ const StageComp = (props: StageProps) => {
verticalPadding={4}
horizonPadding={4}
wrapClass={styles.guide_wrap}
onClickConent={handleClick}
guideContent={(
<View style={{ color: '#ffffff' }}>123123123234234234sdfsdf sdfsdfsdf sdf sdf sdf sdf sdfsd fsd </View>
)}
......@@ -156,15 +166,6 @@ const StageComp = (props: StageProps) => {
)
}
const handleClick = () => {
if (stage.status !== StageStatus.DISABLED) {
/** 从首页进入更新状态 */
updateState({ isSubmit: false })
navigateTo({ url: `/pages/prepare/index?id=${stage.id}` })
player.stop()
}
}
return (
<View
className={classNames(props.className, cs.bounce_btn)}
......
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