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
e9923bea
Commit
e9923bea
authored
Apr 11, 2023
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
5c64d856
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
+20
-8
complete-achieve.tsx
src/pages/game/complete/components/complete-achieve.tsx
+1
-1
chapter.module.scss
src/pages/main/components/chapter.module.scss
+15
-4
chapter.tsx
src/pages/main/components/chapter.tsx
+4
-3
No files found.
src/pages/game/complete/components/complete-achieve.tsx
View file @
e9923bea
...
@@ -155,7 +155,7 @@ const GameCompleteAchieve = () => {
...
@@ -155,7 +155,7 @@ const GameCompleteAchieve = () => {
<
View
className=
{
styles
.
main_text
}
>
全市排名
</
View
>
<
View
className=
{
styles
.
main_text
}
>
全市排名
</
View
>
<
View
className=
{
styles
.
tips_text
}
>
恭喜你进入了全市前
{
rankNoS
}
名
</
View
>
<
View
className=
{
styles
.
tips_text
}
>
恭喜你进入了全市前
{
rankNoS
}
名
</
View
>
</
View
>
</
View
>
<
View
className=
{
styles
.
rank_text
}
>
{
rankNo
}
名
</
View
>
<
View
className=
{
styles
.
rank_text
}
>
第
{
rankNo
}
名
</
View
>
</
View
>
</
View
>
{
gameResult
?.
upGear
&&
(
{
gameResult
?.
upGear
&&
(
<
View
className=
{
styles
.
achieve_item
}
>
<
View
className=
{
styles
.
achieve_item
}
>
...
...
src/pages/main/components/chapter.module.scss
View file @
e9923bea
.chapter
{
.chapter
{
padding
:
2
8px
32px
30
px
32px
;
padding
:
2
4px
32px
24
px
32px
;
background-color
:
#1786f7
;
background-color
:
#1786f7
;
background-image
:
url(../assets/chapter-bg.png)
;
background-size
:
100%
100%
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
z-index
:
1
;
z-index
:
1
;
box-shadow
:
0
1px
14px
rgba
(
0
,
81
,
231
,
0
.1
);
box-shadow
:
0
1px
14px
rgba
(
0
,
81
,
231
,
0
.1
);
position
:
relative
;
overflow
:
hidden
;
.bg
{
position
:
absolute
;
width
:
100%
;
top
:
0
;
left
:
0
;
right
:
0
;
z-index
:
1
;
}
}
}
.chapterContent
{
.chapterContent
{
flex
:
1
;
flex
:
1
;
min-width
:
0
;
min-width
:
0
;
position
:
relative
;
z-index
:
2
;
}
}
.chapterName
{
.chapterName
{
...
@@ -22,6 +32,7 @@
...
@@ -22,6 +32,7 @@
font-weight
:
600
;
font-weight
:
600
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
line-height
:
60px
;
line-height
:
60px
;
text-align
:
center
;
}
}
.chapterTips
{
.chapterTips
{
...
...
src/pages/main/components/chapter.tsx
View file @
e9923bea
import
{
View
,
Text
}
from
'@tarojs/components'
import
{
View
,
Text
,
Image
}
from
'@tarojs/components'
import
styles
from
'./chapter.module.scss'
import
styles
from
'./chapter.module.scss'
const
MainHeader
=
()
=>
{
const
MainHeader
=
()
=>
{
return
(
return
(
<
View
className=
{
styles
.
chapter
}
>
<
View
className=
{
styles
.
chapter
}
>
<
Image
src=
{
require
(
'../assets/chapter-bg.png'
)
}
mode=
"widthFix"
className=
{
styles
.
bg
}
></
Image
>
<
View
className=
{
styles
.
chapterContent
}
>
<
View
className=
{
styles
.
chapterContent
}
>
<
View
className=
{
styles
.
chapterName
}
>
<
View
className=
{
styles
.
chapterName
}
>
<
Text
>
第 1 部分
</
Text
>
<
Text
>
海洋世界
</
Text
>
</
View
>
</
View
>
<
View
className=
{
styles
.
chapterTips
}
><
Text
>
二年级下·上半学期
</
Text
></
View
>
{
/* <View className={styles.chapterTips}><Text>二年级下·上半学期</Text></View> */
}
</
View
>
</
View
>
{
/* <View className={styles.help} hoverClass={styles['is-hover-btn']}>
{
/* <View className={styles.help} hoverClass={styles['is-hover-btn']}>
<Image src={require('../assets/help.png')} className={styles.icon}></Image>
<Image src={require('../assets/help.png')} className={styles.icon}></Image>
...
...
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