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
f79626f5
Commit
f79626f5
authored
Apr 23, 2024
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: ipad 支持
parent
f7215c00
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
102 additions
and
94 deletions
+102
-94
app.config.ts.tpl
scripts/app.config.ts.tpl
+1
-1
index.module.scss
src/native-components/pk-rank/index.module.scss
+14
-14
index.module.scss
src/native-components/rank/index.module.scss
+14
-14
complete-achieve.module.scss
...ges/game/complete/components/complete-achieve.module.scss
+1
-0
scene-6.module.scss
src/pages/main/guide/scene-6.module.scss
+6
-0
answer-card-modal.module.scss
src/pages/prepare/components/answer-card-modal.module.scss
+11
-11
main-header.module.scss
src/pages/prepare/components/main-header.module.scss
+31
-31
tabs.module.scss
src/pages/prepare/components/tabs.module.scss
+9
-9
index.module.scss
src/pages/prepare/index.module.scss
+15
-14
No files found.
scripts/app.config.ts.tpl
View file @
f79626f5
...
...
@@ -19,7 +19,7 @@ export default {
'pages/game/battle/index',
],
subPackages: {
{
packages
}
},
resizable:
tru
e,
resizable:
fals
e,
preloadRule: {
{
preloadRule
}
},
tabBar: {
custom: true,
...
...
src/native-components/pk-rank/index.module.scss
View file @
f79626f5
@import
'@/styles/mixins.scss'
;
.thead
{
height
:
40
PX
;
height
:
80px
;
background
:
#F7F9FC
;
display
:
flex
;
align-items
:
center
;
font-size
:
12
PX
;
font-size
:
24px
;
padding
:
0
32px
;
color
:
rgba
(
70
,
81
,
100
,
0
.5
);
&
_index
{
width
:
80px
;
text-align
:
center
;
padding-left
:
3
PX
;
margin-right
:
23
PX
;
padding-left
:
6px
;
margin-right
:
46px
;
}
&
_username
{
...
...
@@ -22,9 +22,9 @@
&
_result
{
display
:
flex
;
align-items
:
center
;
font-size
:
12
PX
;
font-size
:
24px
;
font-weight
:
400
;
gap
:
6
PX
;
gap
:
12px
;
color
:
rgba
(
70
,
81
,
100
,
0
.7
);
&
_best
{
...
...
@@ -44,7 +44,7 @@
.spinWrap
{
color
:
#9999
;
padding
:
12
PX
0
;
padding
:
24px
0
;
text-align
:
center
;
}
...
...
@@ -82,11 +82,11 @@
display
:
flex
;
flex
:
1
;
align-items
:
center
;
padding-right
:
4
PX
;
padding-right
:
8px
;
&
_text
{
font-size
:
14
PX
;
font-size
:
28px
;
font-weight
:
600
;
color
:
#465164
;
}
...
...
@@ -100,7 +100,7 @@
}
&
_result
{
@include
flexLayout
(
row
,
center
,
center
);
font-size
:
12
PX
;
font-size
:
24px
;
font-weight
:
400
;
gap
:
6
PX
;
color
:
rgba
(
70
,
81
,
100
,
0
.7
);
...
...
@@ -124,13 +124,13 @@
border-top-color
:
inherit
;
border-radius
:
50%
;
animation
:
spin
1s
linear
infinite
;
width
:
18
PX
;
height
:
18
PX
;
width
:
36px
;
height
:
36px
;
}
.spinText
{
font-size
:
14
PX
;
margin-left
:
12
PX
;
font-size
:
28px
;
margin-left
:
24px
;
}
@keyframes
spin
{
...
...
src/native-components/rank/index.module.scss
View file @
f79626f5
@import
'@/styles/mixins.scss'
;
.thead
{
height
:
40
PX
;
height
:
80px
;
background
:
#F7F9FC
;
display
:
flex
;
align-items
:
center
;
font-size
:
12
PX
;
font-size
:
24px
;
padding
:
0
32px
;
color
:
rgba
(
70
,
81
,
100
,
0
.5
);
&
_index
{
width
:
80px
;
text-align
:
center
;
padding-left
:
3
PX
;
margin-right
:
23
PX
;
padding-left
:
6px
;
margin-right
:
46px
;
}
&
_username
{
...
...
@@ -22,9 +22,9 @@
&
_result
{
display
:
flex
;
align-items
:
center
;
font-size
:
12
PX
;
font-size
:
24px
;
font-weight
:
400
;
gap
:
6
PX
;
gap
:
12px
;
color
:
rgba
(
70
,
81
,
100
,
0
.7
);
&
_best
{
...
...
@@ -44,7 +44,7 @@
.spinWrap
{
color
:
#9999
;
padding
:
12
PX
0
;
padding
:
24px
0
;
text-align
:
center
;
}
...
...
@@ -82,11 +82,11 @@
display
:
flex
;
flex
:
1
;
align-items
:
center
;
padding-right
:
4
PX
;
padding-right
:
8px
;
&
_text
{
font-size
:
14
PX
;
font-size
:
28px
;
font-weight
:
600
;
color
:
#465164
;
}
...
...
@@ -100,7 +100,7 @@
}
&
_result
{
@include
flexLayout
(
row
,
center
,
center
);
font-size
:
12
PX
;
font-size
:
24px
;
font-weight
:
400
;
gap
:
6
PX
;
color
:
rgba
(
70
,
81
,
100
,
0
.7
);
...
...
@@ -124,13 +124,13 @@
border-top-color
:
inherit
;
border-radius
:
50%
;
animation
:
spin
1s
linear
infinite
;
width
:
18
PX
;
height
:
18
PX
;
width
:
36px
;
height
:
36px
;
}
.spinText
{
font-size
:
14
PX
;
margin-left
:
12
PX
;
font-size
:
28px
;
margin-left
:
24px
;
}
@keyframes
spin
{
...
...
src/pages/game/complete/components/complete-achieve.module.scss
View file @
f79626f5
...
...
@@ -174,6 +174,7 @@
position
:
absolute
;
top
:
-304px
;
left
:
0
;
pointer-events
:
none
;
animation-name
:
fadeInUp
;
animation-duration
:
.5s
;
animation-timing-function
:
ease-out
;
...
...
src/pages/main/guide/scene-6.module.scss
View file @
f79626f5
...
...
@@ -59,6 +59,12 @@
margin-right
:
32px
;
}
.input_inner
{
line-height
:
50px
;
height
:
50px
;
font-size
:
36px
;
}
.input_tip
{
margin-top
:
32px
;
display
:
flex
;
...
...
src/pages/prepare/components/answer-card-modal.module.scss
View file @
f79626f5
...
...
@@ -28,7 +28,7 @@
transition
:
transform
.5s
cubic-bezier
(
0
.175
,
0
.885
,
0
.32
,
1
.0
);
border-radius
:
32px
32px
0px
0px
;
text-align
:
center
;
padding
:
32
PX
24
PX
;
padding
:
64px
48px
;
&
.visible
{
transform
:
translateY
(
0
);
...
...
@@ -36,37 +36,37 @@
.close
{
position
:
absolute
;
width
:
20
PX
;
height
:
20
PX
;
top
:
12
PX
;
right
:
24
PX
;
width
:
40px
;
height
:
40px
;
top
:
24px
;
right
:
48px
;
}
.title
{
font-size
:
24
PX
;
font-size
:
48px
;
font-weight
:
600
;
color
:
#586170
;
margin-bottom
:
32px
;
}
.tips
{
font-size
:
18
PX
;
font-size
:
36px
;
font-weight
:
400
;
color
:
#586170
;
margin-bottom
:
24
PX
;
margin-bottom
:
48px
;
}
.footer
{
@include
flexLayout
(
column
);
gap
:
12
PX
;
gap
:
24px
;
.studyTribe
{
@include
flexLayout
(
row
,
center
,
center
);
height
:
56
PX
;
height
:
112px
;
background-image
:
url('../assets/btn-border.png')
;
background-size
:
100%
100%
;
text-align
:
center
;
font-size
:
18
PX
;
font-size
:
26px
;
font-weight
:
500
;
color
:
#1786F7
;
}
...
...
src/pages/prepare/components/main-header.module.scss
View file @
f79626f5
...
...
@@ -23,18 +23,18 @@
.label
{
@include
flexLayout
(
row
,
center
);
font-size
:
12
PX
;
font-size
:
24px
;
font-weight
:
400
;
color
:
#FFFFFF
;
padding
:
8
PX
;
padding
:
16px
;
background
:
rgba
(
226
,
233
,
255
,
0
.2
);
border-radius
:
6
PX
;
gap
:
3
PX
;
border-radius
:
12px
;
gap
:
6px
;
animation
:
scaleTitle
1s
ease-in-out
forwards
;
.icon
{
width
:
16
PX
;
height
:
16
PX
;
width
:
32px
;
height
:
32px
;
}
}
}
...
...
@@ -44,7 +44,7 @@
border-radius
:
30px
;
border
:
1px
solid
#FFFFFF
;
@include
flexLayout
(
row
,
center
);
font-size
:
15
PX
;
font-size
:
30px
;
font-weight
:
500
;
color
:
#FFFFFF
;
padding
:
32px
0
;
...
...
@@ -67,22 +67,22 @@
width
:
50%
;
.performanceInner
{
margin
:
0
24
PX
;
padding
:
12
PX
0
;
margin
:
0
48px
;
padding
:
24px
0
;
}
.details
{
@include
flexLayout
(
row
,
center
,
center
);
gap
:
6
PX
;
margin-top
:
12
PX
;
gap
:
12px
;
margin-top
:
24px
;
.logo
{
width
:
24
PX
;
height
:
24
PX
;
width
:
48px
;
height
:
48px
;
}
.consume
{
font-size
:
18
PX
;
font-size
:
36px
;
}
}
}
...
...
@@ -96,13 +96,13 @@
}
.details
,
.beforeDetails
{
margin-top
:
12
PX
;
margin-top
:
24px
;
@include
flexLayout
(
row
,
center
,
center
);
gap
:
20px
;
.logo
{
width
:
32
PX
;
height
:
32
PX
;
width
:
64px
;
height
:
64px
;
}
}
...
...
@@ -137,10 +137,10 @@
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin-bottom
:
12
PX
;
margin-bottom
:
24px
;
text-align
:
center
;
font-size
:
16
PX
;
font-size
:
32px
;
font-weight
:
500
;
color
:
#FFFFFF
;
position
:
relative
;
...
...
@@ -151,10 +151,10 @@
background-color
:
#fff
;
transform
:
scaleY
(
0
.5
);
&
:first-child
{
margin-right
:
10
PX
;
margin-right
:
20px
;
}
&
:last-child
{
margin-left
:
10
PX
;
margin-left
:
20px
;
}
}
...
...
@@ -171,14 +171,14 @@
.againDetails
{
@include
flexLayout
(
column
);
gap
:
12
PX
;
gap
:
24px
;
// animation: fadeInLeft 1s ease-in-out forwards;
.againDetail
{
// animation: fadeInScale 1s ease-in backwards;
@include
flexLayout
(
row
,
center
,
space-between
);
background
:
rgba
(
226
,
233
,
255
,
0
.3
);
border-radius
:
12
PX
;
border-radius
:
24px
;
color
:
#fff
;
&
:nth-child
(
1
)
{
...
...
@@ -204,14 +204,14 @@
.center
{
@include
flexLayout
(
row
,
center
);
gap
:
4
PX
;
font-size
:
12
PX
;
gap
:
8px
;
font-size
:
24px
;
}
}
.icon
{
width
:
22
PX
;
height
:
22
PX
;
width
:
44px
;
height
:
44px
;
}
.score
{
...
...
@@ -220,15 +220,15 @@
.icon
{
position
:
relative
;
right
:
-
10
PX
;
right
:
-
20px
;
}
.text
{
background
:
#0084FF
;
border-radius
:
14px
;
font-size
:
10
PX
;
font-size
:
20px
;
width
:
72px
;
padding
:
1
PX
6
PX
;
padding
:
2px
12px
;
}
}
}
...
...
@@ -301,7 +301,7 @@
100
%
{
opacity
:
1
;
transform
:
scale
(
1
)
translateY
(
-
44
PX
);
transform
:
scale
(
1
)
translateY
(
-
88px
);
}
}
...
...
src/pages/prepare/components/tabs.module.scss
View file @
f79626f5
...
...
@@ -10,7 +10,7 @@
.mask
{
position
:
absolute
;
background-color
:
#fff
;
top
:
48
PX
;
top
:
96px
;
bottom
:
0
;
left
:
0
;
right
:
0
;
...
...
@@ -18,7 +18,7 @@
.tabBar
{
display
:
flex
;
height
:
88
PX
;
height
:
176px
;
background-size
:
100%
100%
;
&
.active_1
{
...
...
@@ -32,11 +32,11 @@
.tab
{
flex
:
1
;
height
:
48
PX
;
height
:
96px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
letter-spacing
:
2
PX
;
letter-spacing
:
4px
;
font-size
:
32px
;
font-weight
:
400
;
color
:
#FFFFFF
;
...
...
@@ -48,11 +48,11 @@
&
:
:
before
{
position
:
absolute
;
content
:
""
;
width
:
16
PX
;
bottom
:
6
PX
;
height
:
3
PX
;
width
:
32px
;
bottom
:
12px
;
height
:
6px
;
background
:
#1786F7
;
border-radius
:
6
PX
;
border-radius
:
12px
;
}
}
}
...
...
@@ -65,7 +65,7 @@
overflow
:
hidden
;
background-color
:
#fff
;
position
:
relative
;
top
:
-
40
PX
;
top
:
-
80px
;
.tabPane
{
height
:
auto
;
...
...
src/pages/prepare/index.module.scss
View file @
f79626f5
...
...
@@ -179,7 +179,8 @@
}
.short_image
{
width
:
100
PX
;
width
:
200px
;
white-space
:
nowrap
;
background-image
:
url('https://cdn.jkwljy.com/pk-math/2ayn5bKxZJJfH9SbWwTazgMRF8BT/260x112')
;
}
...
...
@@ -237,7 +238,7 @@
}
.buy_card
{
height
:
56
PX
;
height
:
112px
;
@include
flexLayout
(
row
,
center
,
center
);
background-size
:
100%
100%
;
background-image
:
url('./assets/btn-primary.png')
;
...
...
@@ -250,28 +251,28 @@
}
&
_spin
{
margin-right
:
8
PX
;
margin-right
:
16px
;
}
.inner
{
@include
flexLayout
(
row
,
center
,
center
);
font-size
:
18
PX
;
font-size
:
36px
;
font-weight
:
500
;
&
>
{
.logo
{
width
:
32
PX
;
height
:
32
PX
;
margin-right
:
4
PX
;
width
:
64px
;
height
:
64px
;
margin-right
:
8px
;
}
.buy
{
margin
:
0
12
PX
;
margin
:
0
24px
;
}
.balance
{
font-weight
:
400
;
font-size
:
14
PX
;
font-size
:
28px
;
}
}
}
...
...
@@ -344,15 +345,15 @@
}
.tutorialFail
{
top
:
-
180
PX
;
top
:
-
360px
;
display
:
flex
;
left
:
10
PX
;
right
:
10
PX
;
left
:
20px
;
right
:
20px
;
flex-direction
:
row
;
.tutorialFailInner
{
flex
:
1
;
margin-left
:
12
PX
;
margin-left
:
24px
;
display
:
flex
;
align-items
:
center
;
line-height
:
1
.6
;
...
...
@@ -365,7 +366,7 @@
.tutorial_arrow
{
left
:
50%
;
bottom
:
-
30
PX
;
bottom
:
-
60px
;
transform
:
translateX
(
-50%
);
position
:
absolute
;
}
...
...
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