Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeekLearnMathWeapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
frontend
GeekLearnMathWeapp
Commits
b963f02f
Commit
b963f02f
authored
Apr 25, 2023
by
raca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update 负数秒
parent
080cf703
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main-header.tsx
src/pages/prepare/components/main-header.tsx
+2
-2
scene-2.tsx
src/pages/prepare/guide/complete/scene-2.tsx
+1
-1
No files found.
src/pages/prepare/components/main-header.tsx
View file @
b963f02f
...
@@ -64,9 +64,9 @@ const MainHeader = () => {
...
@@ -64,9 +64,9 @@ const MainHeader = () => {
<
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
}
}
>
{
Number
(
formatNextStep
(
item
).
t
||
0
)
<=
0
?
0.1
:
formatNextStep
(
item
).
t
}
{
formatNextStep
(
item
).
t
}
</
Text
>
</
Text
>
</
View
>
</
View
>
</
View
>
</
View
>
...
...
src/pages/prepare/guide/complete/scene-2.tsx
View file @
b963f02f
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment