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
4bed47f5
Commit
4bed47f5
authored
Apr 20, 2023
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 引导页
parent
a7aa3e4e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
3 deletions
+32
-3
.oss
assets/guide/.oss
+6
-0
cat-6.png
assets/guide/cat-6.png
+0
-0
assets-guide.ts
src/assets/oss/assets-guide.ts
+5
-0
scene-1.module.scss
src/pages/main/guide/scene-1.module.scss
+20
-0
scene-1.tsx
src/pages/main/guide/scene-1.tsx
+1
-3
No files found.
assets/guide/.oss
View file @
4bed47f5
...
@@ -184,5 +184,11 @@
...
@@ -184,5 +184,11 @@
"w": 300,
"w": 300,
"h": 300,
"h": 300,
"ossName": "/pk-math/3YWpuPxzmfnebWaxqu36TTT4biLx/300x300"
"ossName": "/pk-math/3YWpuPxzmfnebWaxqu36TTT4biLx/300x300"
},
"cat-6.png": {
"u": "https://cdn.jkwljy.com/pk-math/2GNZg5jHSKPtJRMcB66gGpUoGXMH/300x300",
"w": 300,
"h": 300,
"ossName": "/pk-math/2GNZg5jHSKPtJRMcB66gGpUoGXMH/300x300"
}
}
}
}
assets/guide/cat-6.png
0 → 100644
View file @
4bed47f5
37 KB
src/assets/oss/assets-guide.ts
View file @
4bed47f5
...
@@ -155,5 +155,10 @@ export default {
...
@@ -155,5 +155,10 @@ export default {
"u"
:
"https://cdn.jkwljy.com/pk-math/3YWpuPxzmfnebWaxqu36TTT4biLx/300x300"
,
"u"
:
"https://cdn.jkwljy.com/pk-math/3YWpuPxzmfnebWaxqu36TTT4biLx/300x300"
,
"w"
:
300
,
"w"
:
300
,
"h"
:
300
"h"
:
300
},
"cat-6.png"
:
{
"u"
:
"https://cdn.jkwljy.com/pk-math/2GNZg5jHSKPtJRMcB66gGpUoGXMH/300x300"
,
"w"
:
300
,
"h"
:
300
}
}
}
as
const
}
as
const
src/pages/main/guide/scene-1.module.scss
View file @
4bed47f5
...
@@ -19,6 +19,26 @@
...
@@ -19,6 +19,26 @@
}
}
}
}
.fade_in
{
animation-name
:
fadeIn
;
animation-duration
:
0
.5s
;
animation-timing-function
:
ease-out
;
animation-fill-mode
:
backwards
;
animation-iteration-count
:
1
;
}
@keyframes
fadeIn
{
0
%
{
opacity
:
0
;
transform
:
scale
(
0
.2
,
0
.2
);
}
100
%
{
opacity
:
1
;
transform
:
scale
(
1
,
1
);
}
}
.dialog
{
.dialog
{
position
:
absolute
;
position
:
absolute
;
top
:
-24px
;
top
:
-24px
;
...
...
src/pages/main/guide/scene-1.tsx
View file @
4bed47f5
...
@@ -72,10 +72,8 @@ const Scene1 = ({ onNext }: Scene1Props) => {
...
@@ -72,10 +72,8 @@ const Scene1 = ({ onNext }: Scene1Props) => {
<
ScrollView
className=
{
cs
.
viewport_body_inner
}
scrollY
>
<
ScrollView
className=
{
cs
.
viewport_body_inner
}
scrollY
>
<
View
className=
{
cs
.
sprite
}
>
<
View
className=
{
cs
.
sprite
}
>
<
View
className=
{
cs
.
cat
}
>
<
View
className=
{
cs
.
cat
}
>
<
Image
src=
{
assets
[
'cat
.png'
].
u
}
className=
{
classNames
(
styles
.
cat
,
current
===
0
&&
styles
.
is_current
)
}
/>
<
Image
src=
{
assets
[
'cat
-6.png'
].
u
}
className=
{
classNames
(
styles
.
cat
,
styles
.
fade_in
,
current
===
0
&&
styles
.
is_current
)
}
/>
<
Image
src=
{
assets
[
'cat-3.png'
].
u
}
className=
{
classNames
(
styles
.
cat
,
current
===
1
&&
styles
.
is_current
)
}
/>
<
Image
src=
{
assets
[
'cat-3.png'
].
u
}
className=
{
classNames
(
styles
.
cat
,
current
===
1
&&
styles
.
is_current
)
}
/>
<
Image
src=
{
assets
[
'cat-2.png'
].
u
}
className=
{
classNames
(
styles
.
cat
,
current
===
2
&&
styles
.
is_current
)
}
/>
<
Image
src=
{
assets
[
'cat-3.png'
].
u
}
className=
{
classNames
(
styles
.
cat
,
current
===
3
&&
styles
.
is_current
)
}
/>
</
View
>
</
View
>
<
View
className=
{
styles
.
dialog
}
>
<
View
className=
{
styles
.
dialog
}
>
{
current
===
0
&&
(
{
current
===
0
&&
(
...
...
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