|
|
@@ -6,8 +6,12 @@ page{
|
|
|
background-color: #f7f6f2;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
+
|
|
|
}
|
|
|
.nav{
|
|
|
+ position: sticky;
|
|
|
+ top: 0;
|
|
|
+ z-index: 9;
|
|
|
width: 100%;
|
|
|
height: @h1;
|
|
|
background-color: #ff8359;
|
|
|
@@ -59,6 +63,44 @@ page{
|
|
|
border-radius: 20rpx;
|
|
|
}
|
|
|
}
|
|
|
+ .menuContent{
|
|
|
+ z-index: 1;
|
|
|
+ position: absolute;
|
|
|
+ width: 40%;
|
|
|
+ height: 15%;
|
|
|
+ background-color: #007AFF;
|
|
|
+ right: 0;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ top: 95rpx;
|
|
|
+ .menuContent1,.menuContent2{
|
|
|
+ width: 100%;
|
|
|
+ height: 50%;
|
|
|
+ position: absolute;
|
|
|
+ image{
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ width: 40rpx;
|
|
|
+ height: 40rpx;
|
|
|
+ left: 10%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .menuContent2{
|
|
|
+ top:50%;
|
|
|
+ image{
|
|
|
+ width: 50rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ text{
|
|
|
+ font-size: 35rpx;
|
|
|
+ position: absolute;
|
|
|
+ color: #000;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ left: 35%;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@h2:350rpx;
|
|
|
@@ -67,7 +109,7 @@ page{
|
|
|
width: 100%;
|
|
|
height: @h2;
|
|
|
background-color:#f7f6f2;
|
|
|
- .content1{
|
|
|
+ .content1{
|
|
|
width: 100%;
|
|
|
height:100rpx;
|
|
|
background-color: #FFFFFF;
|
|
|
@@ -112,6 +154,7 @@ page{
|
|
|
border-radius: 20rpx;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
@h3:100rpx;
|
|
|
.rank{
|
|
|
@@ -149,7 +192,6 @@ page{
|
|
|
position: absolute;
|
|
|
width: 60%;
|
|
|
height: @h3;
|
|
|
- background-color: #18B566;
|
|
|
left: @h3+20rpx;
|
|
|
margin-top: 25rpx;
|
|
|
color: #000000;
|
|
|
@@ -170,18 +212,26 @@ page{
|
|
|
}
|
|
|
.rankTime{
|
|
|
position: absolute;
|
|
|
- width: @h3;
|
|
|
+ width: @h3*2;
|
|
|
height: @h3;
|
|
|
+ top: 25rpx;
|
|
|
+ right: 0;
|
|
|
+ color: rgb(165,165,165);
|
|
|
+ line-height: @h3;
|
|
|
+ text{
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.btn{
|
|
|
- top: 100%;
|
|
|
- position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ position: sticky;
|
|
|
width: 100%;
|
|
|
height: 100rpx;
|
|
|
background-color:#ccad52;
|
|
|
- transform: translateY(-100%);
|
|
|
.btnText{
|
|
|
position: absolute;
|
|
|
line-height: 100rpx;
|
|
|
@@ -192,4 +242,150 @@ page{
|
|
|
transform: translateX(-50%);
|
|
|
}
|
|
|
|
|
|
+}
|
|
|
+@color:#ccc;
|
|
|
+.Switch{
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 100vh;
|
|
|
+ background-color: rgba(1,1,1,0.3);
|
|
|
+ top: 0;
|
|
|
+ .switchBox{
|
|
|
+ color: @color;
|
|
|
+ transition: all 0.3s linear;
|
|
|
+ width: 100%;
|
|
|
+ height: 61%;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ position: absolute;
|
|
|
+ top: 100%;
|
|
|
+ transform: translateY(-100%);
|
|
|
+ .hearder{
|
|
|
+ position: relative;
|
|
|
+ width: 94%;
|
|
|
+ height: 12%;
|
|
|
+ margin-left: 3%;
|
|
|
+ border-bottom: 1rpx @color solid;
|
|
|
+ text{
|
|
|
+ font-size: 35rpx;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ font-weight:550;
|
|
|
+ }
|
|
|
+ text:nth-child(2){
|
|
|
+ right:0;
|
|
|
+ font-size: 60rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .zhong{
|
|
|
+ width: 94%;
|
|
|
+ height: 76%;
|
|
|
+ margin-left: 3%;
|
|
|
+ view{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ border: 1px @color solid;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ width: 100%;
|
|
|
+ height: 23%;
|
|
|
+ margin: 15rpx 0;
|
|
|
+ position: relative;
|
|
|
+ image{
|
|
|
+ width: 140rpx;
|
|
|
+ height: 120rpx;
|
|
|
+ }
|
|
|
+ text{
|
|
|
+ font-size: 35rpx;
|
|
|
+ }
|
|
|
+ input{
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ border: 1rpx solid @color;
|
|
|
+ height: 50rpx;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ width: 170rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .bottom{
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+ height: 12%;
|
|
|
+ background-color: #ff8359;
|
|
|
+ view{
|
|
|
+ font-size: 40rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
+ font-weight: 500;
|
|
|
+ height: 12%;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ line-height: 100rpx;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+.sswitch{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background-color: rgba(1,1,1,0.3);
|
|
|
+ top: 0;
|
|
|
+ .switchBox{
|
|
|
+ transition: all 0.3s linear;
|
|
|
+ width: 100%;
|
|
|
+ height: 0%;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ position: absolute;
|
|
|
+ top: 100%;
|
|
|
+ .hearder{
|
|
|
+ position: relative;
|
|
|
+ width: 94%;
|
|
|
+ height: 12%;
|
|
|
+ margin-left: 3%;
|
|
|
+ border-bottom: 1rpx @color solid;
|
|
|
+ text{
|
|
|
+ font-size: 35rpx;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ font-weight:550;
|
|
|
+ }
|
|
|
+ text:nth-child(2){
|
|
|
+ right:0;
|
|
|
+ font-size: 60rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .bottom{
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+ height: 12%;
|
|
|
+ background-color: #ff8359;
|
|
|
+ view{
|
|
|
+ font-size: 40rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
+ font-weight: 500;
|
|
|
+ height: 12%;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ line-height: 100rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+.zhong view .text1,.zhong view .text2,.zhong view .text3,.zhong view .text4{
|
|
|
+ position: absolute;
|
|
|
+ right: 2%;
|
|
|
+}
|
|
|
+
|
|
|
+.Switch .switchBox .zhong view .text4,.Switch .switchBox .zhong view .shang1{
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ margin-left: 5%;
|
|
|
}
|