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
f22a5439
Commit
f22a5439
authored
Apr 23, 2023
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
1f67dd58
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
4 deletions
+53
-4
index.module.scss
src/components/UserGuideView/index.module.scss
+21
-0
guide-modal.module.scss
src/pages/group/components/guide-modal.module.scss
+22
-0
main-component.tsx
src/pages/main/components/main-component.tsx
+10
-4
No files found.
src/components/UserGuideView/index.module.scss
View file @
f22a5439
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
z-index
:
9999998
;
z-index
:
9999998
;
opacity
:
1
;
opacity
:
1
;
box-shadow
:
rgba
(
0
,
0
,
0
,
.6
)
0px
0px
0px
5000
PX
;
box-shadow
:
rgba
(
0
,
0
,
0
,
.6
)
0px
0px
0px
5000
PX
;
animation-name
:
fadeIn_2
;
animation-duration
:
.5s
;
animation-timing-function
:
ease-out
;
animation-iteration-count
:
1
;
animation-fill-mode
:
backwards
;
animation-delay
:
0s
;
}
}
.content
{
.content
{
...
@@ -17,4 +23,19 @@
...
@@ -17,4 +23,19 @@
top
:
0
;
top
:
0
;
bottom
:
0
;
bottom
:
0
;
z-index
:
9999997
;
z-index
:
9999997
;
animation-name
:
fadeIn_2
;
animation-duration
:
.5s
;
animation-timing-function
:
ease-out
;
animation-iteration-count
:
1
;
animation-fill-mode
:
backwards
;
animation-delay
:
0s
;
}
@keyframes
fadeIn_2
{
0
%
{
opacity
:
0
;
}
100
%
{
opacity
:
1
;
}
}
}
src/pages/group/components/guide-modal.module.scss
View file @
f22a5439
...
@@ -7,8 +7,15 @@
...
@@ -7,8 +7,15 @@
background
:
rgba
(
0
,
0
,
0
,
0
.7
);
background
:
rgba
(
0
,
0
,
0
,
0
.7
);
z-index
:
99999
;
z-index
:
99999
;
opacity
:
1
;
opacity
:
1
;
animation-name
:
fadeIn_2
;
animation-duration
:
.5s
;
animation-timing-function
:
ease-out
;
animation-iteration-count
:
1
;
animation-fill-mode
:
backwards
;
animation-delay
:
0s
;
}
}
.result_wrap
{
.result_wrap
{
position
:
fixed
;
position
:
fixed
;
z-index
:
100000
;
z-index
:
100000
;
...
@@ -17,6 +24,12 @@
...
@@ -17,6 +24,12 @@
right
:
0
;
right
:
0
;
display
:
flex
;
display
:
flex
;
padding
:
0
16px
;
padding
:
0
16px
;
animation-name
:
fadeIn_2
;
animation-duration
:
.5s
;
animation-timing-function
:
ease-out
;
animation-iteration-count
:
1
;
animation-fill-mode
:
backwards
;
animation-delay
:
0s
;
}
}
.slogen
{
.slogen
{
...
@@ -97,3 +110,12 @@
...
@@ -97,3 +110,12 @@
display
:
block
;
display
:
block
;
margin-left
:
4px
;
margin-left
:
4px
;
}
}
@keyframes
fadeIn_2
{
0
%
{
opacity
:
0
;
}
100
%
{
opacity
:
1
;
}
}
src/pages/main/components/main-component.tsx
View file @
f22a5439
...
@@ -52,13 +52,19 @@ const MainPage = () => {
...
@@ -52,13 +52,19 @@ const MainPage = () => {
// 激活部落引导
// 激活部落引导
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
!
isFocus
)
return
const
fn
=
async
()
=>
{
const
currentIndex
=
stageList
.
findIndex
(
c
=>
c
.
status
===
StageStatus
.
CURRENT
)
if
(
if
(
isGroupGuideComplete
||
currentIndex
<
3
||
!
userInfo
.
pointReceive
||
!
userInfo
.
city
||
!
userInfo
.
grade
)
{
!
isFocus
||
isGroupGuideComplete
||
!
userInfo
.
pointReceive
||
!
userInfo
.
city
||
!
userInfo
.
grade
)
{
return
return
}
}
const
fn
=
async
()
=>
{
const
currentIndex
=
stageList
.
findIndex
(
c
=>
c
.
status
===
StageStatus
.
CURRENT
)
if
(
point
<
50
||
currentIndex
>=
3
)
{
if
(
point
<
50
||
currentIndex
>=
3
)
{
const
res
=
await
fetchTribeInfo
()
const
res
=
await
fetchTribeInfo
()
if
(
!
res
?.
id
)
{
if
(
!
res
?.
id
)
{
...
...
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