feat(custom): 新增大转盘第一版
This commit is contained in:
188
src/pages/aoshi/index/index.scss
Normal file
188
src/pages/aoshi/index/index.scss
Normal file
@@ -0,0 +1,188 @@
|
||||
.taro_page {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
font-size: 30px;
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.right {
|
||||
display: flex;
|
||||
|
||||
.btn {
|
||||
padding: 5px 10px;
|
||||
border: 1px solid #a6a6a6;
|
||||
border-radius: 10px;
|
||||
|
||||
&:active {
|
||||
color: #a6a6a6;
|
||||
}
|
||||
}
|
||||
.btn:nth-child(2) {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 40px;
|
||||
border: 1px solid #a6a6a6;
|
||||
padding: 20px 50px;
|
||||
background-color: #f4f4f4;
|
||||
border-radius: 15px;
|
||||
|
||||
.left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.avatar {
|
||||
margin-right: 20px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
image {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.turntable {
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
border: 1px solid #a6a6a6;
|
||||
border-radius: 50%;
|
||||
margin: 50px auto;
|
||||
position: relative;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
background-color: #a6a6a6;
|
||||
}
|
||||
|
||||
&::before {
|
||||
width: 2px;
|
||||
height: 100%;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
&::after {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.num-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
padding: 50px;
|
||||
|
||||
.item {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
text-align: center;
|
||||
line-height: 200px;
|
||||
font-size: 80px;
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.kj-box {
|
||||
.title {
|
||||
font-size: 35px;
|
||||
font-weight: bold;
|
||||
|
||||
.num {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
.title-sub {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
font-size: 40px;
|
||||
display: flex;
|
||||
|
||||
.item {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.item:nth-child(1) {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
.item:nth-child(2) {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
.item:nth-child(3) {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.countdown {
|
||||
margin: 30px auto;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
background-color: #ff0000;
|
||||
text-align: center;
|
||||
line-height: 100px;
|
||||
border-radius: 15px;
|
||||
color: #fff;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.bet-opt {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
|
||||
.item {
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
border: 1px solid #ff0000;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
line-height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.rule-box {
|
||||
color: #ff0000;
|
||||
font-size: 35px;
|
||||
font-weight: bold;
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user