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
91226d02
Commit
91226d02
authored
Jun 19, 2023
by
hewenhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/2023-06-12-v1.1' of…
Merge branch 'feature/2023-06-12-v1.1' of dev.jiuaoedu.com:hewenhao/GeekLearnMathWeapp into feature/2023-06-12-v1.1
parents
ac87eddd
ba41deda
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
120 additions
and
1 deletion
+120
-1
.oss
assets/tutorial/.oss
+12
-0
continue-arrow-2.png
assets/tutorial/continue-arrow-2.png
+0
-0
modal-bg-3.png
assets/tutorial/modal-bg-3.png
+0
-0
assets-tutorial.ts
src/assets/oss/assets-tutorial.ts
+10
-0
index.tsx
src/pages/accept-pk/index.tsx
+2
-1
scene-1.module.scss
src/pages/prepare/guide/pk/scene-1.module.scss
+64
-0
scene-1.tsx
src/pages/prepare/guide/pk/scene-1.tsx
+30
-0
index.tsx
src/pages/prepare/index.tsx
+2
-0
No files found.
assets/tutorial/.oss
View file @
91226d02
...
...
@@ -118,5 +118,17 @@
"w": 200,
"h": 300,
"ossName": "/pk-math/2kSynNrNPPyZCzys49Bs9yVkqCr/200x300"
},
"modal-bg-3.png": {
"u": "https://cdn.jkwljy.com/pk-math/3FFa37jYQJhunPqyTzjBbYtjM5J4/690x260",
"w": 690,
"h": 260,
"ossName": "/pk-math/3FFa37jYQJhunPqyTzjBbYtjM5J4/690x260"
},
"continue-arrow-2.png": {
"u": "https://cdn.jkwljy.com/pk-math/2sgRT58CiBp3iWJXzdVqH2Nfgta8/28x28",
"w": 28,
"h": 28,
"ossName": "/pk-math/2sgRT58CiBp3iWJXzdVqH2Nfgta8/28x28"
}
}
assets/tutorial/continue-arrow-2.png
0 → 100644
View file @
91226d02
493 Bytes
assets/tutorial/modal-bg-3.png
0 → 100644
View file @
91226d02
37.1 KB
src/assets/oss/assets-tutorial.ts
View file @
91226d02
...
...
@@ -100,5 +100,15 @@ export default {
"u"
:
"https://cdn.jkwljy.com/pk-math/2kSynNrNPPyZCzys49Bs9yVkqCr/200x300"
,
"w"
:
200
,
"h"
:
300
},
"modal-bg-3.png"
:
{
"u"
:
"https://cdn.jkwljy.com/pk-math/3FFa37jYQJhunPqyTzjBbYtjM5J4/690x260"
,
"w"
:
690
,
"h"
:
260
},
"continue-arrow-2.png"
:
{
"u"
:
"https://cdn.jkwljy.com/pk-math/2sgRT58CiBp3iWJXzdVqH2Nfgta8/28x28"
,
"w"
:
28
,
"h"
:
28
}
}
as
const
src/pages/accept-pk/index.tsx
View file @
91226d02
...
...
@@ -9,6 +9,7 @@ import { badgeImages } from '../battles/const'
import
styles
from
'./index.module.scss'
import
TopHeader
from
'./components/top-header'
import
ModalName
from
'./components/modal-name'
import
{
rankTranslate
}
from
'../battles/utils'
const
AcceptPk
=
()
=>
{
const
[
isVisible
,
{
setTrue
,
setFalse
}]
=
useBoolean
(
false
)
...
...
@@ -110,7 +111,7 @@ const AcceptPk = () => {
className=
{
styles
.
badgeIcon
}
/>
<
Text
className=
{
styles
.
rankText
}
>
{
details
?.
userRanks
.
level
}
{
rankTranslate
(
details
?.
userRanks
.
level
)
}
</
Text
>
</
View
>
<
Text
>
...
...
src/pages/prepare/guide/pk/scene-1.module.scss
0 → 100644
View file @
91226d02
.mask
{
position
:
fixed
;
z-index
:
9999
;
left
:
0
;
top
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.7
);
}
.guide
{
position
:
absolute
;
bottom
:
40%
;
left
:
0
;
right
:
0
;
}
.cart
{
width
:
300px
;
height
:
300px
;
position
:
absolute
;
left
:
0
;
}
.guideText
{
font-size
:
28px
;
font-weight
:
500
;
color
:
#465164
;
line-height
:
44px
;
}
.guideMain
{
position
:
relative
;
top
:
210px
;
z-index
:
1
;
background
:
url('https://cdn.jkwljy.com/pk-math/3FFa37jYQJhunPqyTzjBbYtjM5J4/690x260')
no-repeat
;
background-size
:
100%
100%
;
height
:
260px
;
margin
:
0
30px
;
}
.inner
{
height
:
100%
;
padding
:
44px
48px
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
}
.mark
{
color
:
#FF8137
;
}
.continue
{
font-size
:
28px
;
font-weight
:
500
;
color
:
#6B54BE
;
display
:
flex
;
align-items
:
center
;
gap
:
2px
;
justify-content
:
flex-end
;
}
\ No newline at end of file
src/pages/prepare/guide/pk/scene-1.tsx
0 → 100644
View file @
91226d02
import
{
View
,
Image
,
Text
}
from
'@tarojs/components'
import
assets
from
'@/assets/oss/assets-tutorial'
import
styles
from
'./scene-1.module.scss'
const
Scene
=
()
=>
{
return
(
<
View
className=
{
styles
.
mask
}
>
<
View
className=
{
styles
.
guide
}
>
<
Image
src=
{
assets
[
'cat-4.png'
].
u
}
className=
{
styles
.
cart
}
/>
<
View
className=
{
styles
.
guideMain
}
>
<
View
className=
{
styles
.
inner
}
>
<
View
className=
{
styles
.
guideText
}
>
你的表现不错哦,看来已经可以进入
<
Text
className=
{
styles
.
mark
}
>
竞技场
</
Text
>
了!
什么是竞技场?来给我一起去看看~
</
View
>
<
View
className=
{
styles
.
continue
}
>
<
Text
>
继续
</
Text
>
<
Image
style=
{
{
width
:
14
,
height
:
14
}
}
src=
{
assets
[
'continue-arrow-2.png'
].
u
}
/>
</
View
>
</
View
>
</
View
>
</
View
>
</
View
>
)
}
export
default
Scene
src/pages/prepare/index.tsx
View file @
91226d02
...
...
@@ -20,6 +20,7 @@ import tutorialAssets from '@/assets/oss/assets-tutorial'
import
Tabs
,
{
type
TabItem
}
from
'./components/tabs'
import
TopBar
from
'./components/top-bar'
import
MainHeader
from
'./components/main-header'
import
PkGuide
from
'./guide/pk/scene-1'
import
AnswerCardModal
from
'./components/answer-card-modal'
import
PkGuideScene
from
'./guide/pk/scene'
import
{
renderTribePage
,
RankList
}
from
'./render'
...
...
@@ -250,6 +251,7 @@ const Prepare = () => {
return (
<EyeProtectionView className={styles.wrapper}>
<TopBar isFirstStage={isFirstStage} />
{/* <PkGuide /> */}
<View className={styles.inner} style={innerStyle}>
<MainHeader isFirstStage={isFirstStage} />
...
...
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