Commit f79626f5 authored by hewenhao's avatar hewenhao

feat: ipad 支持

parent f7215c00
......@@ -19,7 +19,7 @@ export default {
'pages/game/battle/index',
],
subPackages: {{packages}},
resizable: true,
resizable: false,
preloadRule: {{preloadRule}},
tabBar: {
custom: true,
......
@import '@/styles/mixins.scss';
.thead {
height: 40PX;
height: 80px;
background: #F7F9FC;
display: flex;
align-items: center;
font-size: 12PX;
font-size: 24px;
padding: 0 32px;
color: rgba(70,81,100,0.5);
&_index {
width: 80px;
text-align: center;
padding-left: 3PX;
margin-right: 23PX;
padding-left: 6px;
margin-right: 46px;
}
&_username {
......@@ -22,9 +22,9 @@
&_result {
display: flex;
align-items: center;
font-size: 12PX;
font-size: 24px;
font-weight: 400;
gap: 6PX;
gap: 12px;
color: rgba(70,81,100,0.7);
&_best {
......@@ -44,7 +44,7 @@
.spinWrap {
color: #9999;
padding: 12PX 0;
padding: 24px 0;
text-align: center;
}
......@@ -82,11 +82,11 @@
display: flex;
flex: 1;
align-items: center;
padding-right: 4PX;
padding-right: 8px;
&_text {
font-size: 14PX;
font-size: 28px;
font-weight: 600;
color: #465164;
}
......@@ -100,7 +100,7 @@
}
&_result {
@include flexLayout(row, center, center);
font-size: 12PX;
font-size: 24px;
font-weight: 400;
gap: 6PX;
color: rgba(70,81,100,0.7);
......@@ -124,13 +124,13 @@
border-top-color: inherit;
border-radius: 50%;
animation: spin 1s linear infinite;
width: 18PX;
height: 18PX;
width: 36px;
height: 36px;
}
.spinText {
font-size: 14PX;
margin-left: 12PX;
font-size: 28px;
margin-left: 24px;
}
@keyframes spin {
......
@import '@/styles/mixins.scss';
.thead {
height: 40PX;
height: 80px;
background: #F7F9FC;
display: flex;
align-items: center;
font-size: 12PX;
font-size: 24px;
padding: 0 32px;
color: rgba(70,81,100,0.5);
&_index {
width: 80px;
text-align: center;
padding-left: 3PX;
margin-right: 23PX;
padding-left: 6px;
margin-right: 46px;
}
&_username {
......@@ -22,9 +22,9 @@
&_result {
display: flex;
align-items: center;
font-size: 12PX;
font-size: 24px;
font-weight: 400;
gap: 6PX;
gap: 12px;
color: rgba(70,81,100,0.7);
&_best {
......@@ -44,7 +44,7 @@
.spinWrap {
color: #9999;
padding: 12PX 0;
padding: 24px 0;
text-align: center;
}
......@@ -82,11 +82,11 @@
display: flex;
flex: 1;
align-items: center;
padding-right: 4PX;
padding-right: 8px;
&_text {
font-size: 14PX;
font-size: 28px;
font-weight: 600;
color: #465164;
}
......@@ -100,7 +100,7 @@
}
&_result {
@include flexLayout(row, center, center);
font-size: 12PX;
font-size: 24px;
font-weight: 400;
gap: 6PX;
color: rgba(70,81,100,0.7);
......@@ -124,13 +124,13 @@
border-top-color: inherit;
border-radius: 50%;
animation: spin 1s linear infinite;
width: 18PX;
height: 18PX;
width: 36px;
height: 36px;
}
.spinText {
font-size: 14PX;
margin-left: 12PX;
font-size: 28px;
margin-left: 24px;
}
@keyframes spin {
......
......@@ -174,6 +174,7 @@
position: absolute;
top: -304px;
left: 0;
pointer-events: none;
animation-name: fadeInUp;
animation-duration: .5s;
animation-timing-function: ease-out;
......
......@@ -59,6 +59,12 @@
margin-right: 32px;
}
.input_inner {
line-height: 50px;
height: 50px;
font-size: 36px;
}
.input_tip {
margin-top: 32px;
display: flex;
......
......@@ -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: 32PX 24PX;
padding: 64px 48px;
&.visible {
transform: translateY(0);
......@@ -36,37 +36,37 @@
.close {
position: absolute;
width: 20PX;
height: 20PX;
top: 12PX;
right: 24PX;
width: 40px;
height: 40px;
top: 24px;
right: 48px;
}
.title {
font-size: 24PX;
font-size: 48px;
font-weight: 600;
color: #586170;
margin-bottom: 32px;
}
.tips {
font-size: 18PX;
font-size: 36px;
font-weight: 400;
color: #586170;
margin-bottom: 24PX;
margin-bottom: 48px;
}
.footer {
@include flexLayout(column);
gap: 12PX;
gap: 24px;
.studyTribe {
@include flexLayout(row, center, center);
height: 56PX;
height: 112px;
background-image: url('../assets/btn-border.png');
background-size: 100% 100%;
text-align: center;
font-size: 18PX;
font-size: 26px;
font-weight: 500;
color: #1786F7;
}
......
......@@ -23,18 +23,18 @@
.label {
@include flexLayout(row, center);
font-size: 12PX;
font-size: 24px;
font-weight: 400;
color: #FFFFFF;
padding: 8PX;
padding: 16px;
background: rgba(226,233,255,0.2);
border-radius: 6PX;
gap: 3PX;
border-radius: 12px;
gap: 6px;
animation: scaleTitle 1s ease-in-out forwards;
.icon {
width: 16PX;
height: 16PX;
width: 32px;
height: 32px;
}
}
}
......@@ -44,7 +44,7 @@
border-radius: 30px;
border: 1px solid #FFFFFF;
@include flexLayout(row, center);
font-size: 15PX;
font-size: 30px;
font-weight: 500;
color: #FFFFFF;
padding: 32px 0;
......@@ -67,22 +67,22 @@
width: 50%;
.performanceInner {
margin: 0 24PX;
padding: 12PX 0;
margin: 0 48px;
padding: 24px 0;
}
.details {
@include flexLayout(row, center, center);
gap: 6PX;
margin-top: 12PX;
gap: 12px;
margin-top: 24px;
.logo {
width: 24PX;
height: 24PX;
width: 48px;
height: 48px;
}
.consume {
font-size: 18PX;
font-size: 36px;
}
}
}
......@@ -96,13 +96,13 @@
}
.details, .beforeDetails {
margin-top: 12PX;
margin-top: 24px;
@include flexLayout(row, center, center);
gap: 20px;
.logo {
width: 32PX;
height: 32PX;
width: 64px;
height: 64px;
}
}
......@@ -137,10 +137,10 @@
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12PX;
margin-bottom: 24px;
text-align: center;
font-size: 16PX;
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: 10PX;
margin-right: 20px;
}
&:last-child {
margin-left: 10PX;
margin-left: 20px;
}
}
......@@ -171,14 +171,14 @@
.againDetails {
@include flexLayout(column);
gap: 12PX;
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: 12PX;
border-radius: 24px;
color: #fff;
&:nth-child(1) {
......@@ -204,14 +204,14 @@
.center {
@include flexLayout(row, center);
gap: 4PX;
font-size: 12PX;
gap: 8px;
font-size: 24px;
}
}
.icon {
width: 22PX;
height: 22PX;
width: 44px;
height: 44px;
}
.score {
......@@ -220,15 +220,15 @@
.icon {
position: relative;
right: -10PX;
right: -20px;
}
.text {
background: #0084FF;
border-radius: 14px;
font-size: 10PX;
font-size: 20px;
width: 72px;
padding: 1PX 6PX;
padding: 2px 12px;
}
}
}
......@@ -301,7 +301,7 @@
100% {
opacity: 1;
transform: scale(1) translateY(-44PX);
transform: scale(1) translateY(-88px);
}
}
......
......@@ -10,7 +10,7 @@
.mask {
position: absolute;
background-color: #fff;
top: 48PX;
top: 96px;
bottom: 0;
left: 0;
right: 0;
......@@ -18,7 +18,7 @@
.tabBar {
display: flex;
height: 88PX;
height: 176px;
background-size: 100% 100%;
&.active_1 {
......@@ -32,11 +32,11 @@
.tab {
flex: 1;
height: 48PX;
height: 96px;
display: flex;
align-items: center;
justify-content: center;
letter-spacing: 2PX;
letter-spacing: 4px;
font-size: 32px;
font-weight: 400;
color: #FFFFFF;
......@@ -48,11 +48,11 @@
&::before {
position: absolute;
content: "";
width: 16PX;
bottom: 6PX;
height: 3PX;
width: 32px;
bottom: 12px;
height: 6px;
background: #1786F7;
border-radius: 6PX;
border-radius: 12px;
}
}
}
......@@ -65,7 +65,7 @@
overflow: hidden;
background-color: #fff;
position: relative;
top: -40PX;
top: -80px;
.tabPane {
height: auto;
......
......@@ -179,7 +179,8 @@
}
.short_image {
width: 100PX;
width: 200px;
white-space: nowrap;
background-image: url('https://cdn.jkwljy.com/pk-math/2ayn5bKxZJJfH9SbWwTazgMRF8BT/260x112');
}
......@@ -237,7 +238,7 @@
}
.buy_card {
height: 56PX;
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: 8PX;
margin-right: 16px;
}
.inner {
@include flexLayout(row, center, center);
font-size: 18PX;
font-size: 36px;
font-weight: 500;
& > {
.logo {
width: 32PX;
height: 32PX;
margin-right: 4PX;
width: 64px;
height: 64px;
margin-right: 8px;
}
.buy {
margin: 0 12PX;
margin: 0 24px;
}
.balance {
font-weight: 400;
font-size: 14PX;
font-size: 28px;
}
}
}
......@@ -344,15 +345,15 @@
}
.tutorialFail {
top: -180PX;
top: -360px;
display: flex;
left: 10PX;
right: 10PX;
left: 20px;
right: 20px;
flex-direction: row;
.tutorialFailInner {
flex: 1;
margin-left: 12PX;
margin-left: 24px;
display: flex;
align-items: center;
line-height: 1.6;
......@@ -365,7 +366,7 @@
.tutorial_arrow {
left: 50%;
bottom: -30PX;
bottom: -60px;
transform: translateX(-50%);
position: absolute;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment