260 lines
4.6 KiB
SCSS
260 lines
4.6 KiB
SCSS
.index {
|
|
background-color: #23684B;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.tips {
|
|
width: 100%;
|
|
height: 80px;
|
|
}
|
|
|
|
.userInfo {
|
|
width: 680px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.left {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
|
|
image {
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
border: 2px solid #FFFFFF;
|
|
}
|
|
|
|
.userText {
|
|
margin-left: 10px;
|
|
width: 250px;
|
|
// 文字超出显示省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
|
|
.userName {
|
|
font-size: 35px;
|
|
}
|
|
|
|
.userScore {
|
|
font-size: 25px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.right {
|
|
background-color: #429C78;
|
|
border-radius: 50px;
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding: 15px;
|
|
|
|
.icon {
|
|
background-image: url("../../../static/dz.png");
|
|
background-size: 100% 100%;
|
|
width: 60px;
|
|
height: 60px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.bean {
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.gameInfo {
|
|
width: 680px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.left {
|
|
display: flex;
|
|
|
|
image {
|
|
width: 110px;
|
|
height: 110px;
|
|
}
|
|
|
|
.game_box {
|
|
margin-left: 10px;
|
|
width: 250px;
|
|
// 文字超出显示省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
|
|
.gameName {
|
|
font-size: 35px;
|
|
}
|
|
|
|
.lottery {
|
|
font-size: 25px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
|
|
.text {
|
|
background-color: #E9422F;
|
|
width: 55px;
|
|
height: 55px;
|
|
text-align: center;
|
|
line-height: 55px;
|
|
font-size: 40px;
|
|
margin-right: 30px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.right {
|
|
|
|
.btn {
|
|
width: 137px;
|
|
background: linear-gradient(-180deg, #FBE039, #FDC413);
|
|
font-size: 30px;
|
|
text-align: center;
|
|
border: 1px solid #FFEDC5;
|
|
border-radius: 26px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.opt {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
flex-wrap: wrap;
|
|
|
|
.item {
|
|
width: 140px;
|
|
text-align: center;
|
|
|
|
.name {
|
|
//font-size: 30px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.odd {
|
|
font-size: 25px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.opt1 {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
|
|
.item {
|
|
width: 200px;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
padding: 33px 0;
|
|
|
|
.name {
|
|
font-size: 55px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.odd {
|
|
font-size: 25px;
|
|
}
|
|
}
|
|
|
|
.base {
|
|
background-image: url("../../../static/cais.png");
|
|
background-size: 100% 100%;
|
|
width: 300px;
|
|
height: 400px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
|
|
.qz {
|
|
background-image: url("../../../static/qz.png");
|
|
background-size: 100% 100%;
|
|
width: 300px;
|
|
height: 100px;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.bottomBar {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
height: 130px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
border-top-left-radius: 40px;
|
|
border-top-right-radius: 40px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 50px;
|
|
|
|
.btn1 {
|
|
background-image: url("../../../static/cz.png");
|
|
background-size: 100% 100%;
|
|
width: 150px;
|
|
height: 100px;
|
|
text-align: center;
|
|
line-height: 95px;
|
|
}
|
|
|
|
.btn2 {
|
|
background-image: url("../../../static/ssd.png");
|
|
background-size: 100% 100%;
|
|
width: 150px;
|
|
height: 100px;
|
|
text-align: center;
|
|
line-height: 100px;
|
|
}
|
|
|
|
.btn3 {
|
|
background-image: url("../../../static/tz.png");
|
|
background-size: 100% 100%;
|
|
width: 150px;
|
|
height: 100px;
|
|
text-align: center;
|
|
line-height: 95px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.subColor {
|
|
background-color: #228960;
|
|
color: white;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.btn1, .btn2, .btn3 {
|
|
&:active {
|
|
animation: btn ease 0.3s;
|
|
}
|
|
}
|
|
|
|
@keyframes btn {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.1);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|