455 lines
7.6 KiB
Plaintext
455 lines
7.6 KiB
Plaintext
page {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
/* 顶部 */
|
|
.navigation {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 999;
|
|
width: 100%;
|
|
height: 90rpx;
|
|
background-color: transparent;
|
|
transition: .5s;
|
|
}
|
|
|
|
.navigation.active {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.navigation-arrow {
|
|
width: 120rpx;
|
|
margin-left: 40rpx;
|
|
}
|
|
|
|
/* 小水怪 */
|
|
.monster {
|
|
background-color: #ffffff;
|
|
padding: 40rpx 80rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.monsterBack {
|
|
background-color: #eeeeee;
|
|
position: relative;
|
|
padding-top: 100%;
|
|
}
|
|
|
|
.monsterImg {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
z-index: 2;
|
|
}
|
|
|
|
.monsterBar {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
transition: 1s;
|
|
}
|
|
|
|
.monsterBar::after {
|
|
position: absolute;
|
|
content: '';
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: auto;
|
|
bottom: 0;
|
|
background-color: #c9dbff;
|
|
border-radius: 0%;
|
|
transition: .2s ease-in-out;
|
|
}
|
|
|
|
.monsterMark {
|
|
position: absolute;
|
|
margin-top: -120rpx;
|
|
left: 40rpx;
|
|
z-index: 3;
|
|
color: #3c7dff;
|
|
}
|
|
|
|
.monsterMark-total {
|
|
font-weight: 600;
|
|
font-size: 60rpx;
|
|
}
|
|
|
|
.monsterMark-see text {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.monsterPart {
|
|
padding: 0 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.monsterPart-name {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.monsterPart-list {
|
|
white-space: nowrap;
|
|
background-color: #f6f6f6;
|
|
padding: 20rpx;
|
|
box-sizing: border-box;
|
|
border-radius: 15rpx;
|
|
}
|
|
|
|
.monsterPart-item {
|
|
display: inline-block;
|
|
background-color: #ffffff;
|
|
margin-right: 20rpx;
|
|
padding: 10rpx 30rpx 10rpx 50rpx;
|
|
box-sizing: border-box;
|
|
border-radius: 10rpx;
|
|
flex: 5;
|
|
font-size: 26rpx;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.monsterPart-item::after {
|
|
position: absolute;
|
|
content: '';
|
|
left: 25rpx;
|
|
top: 20rpx;
|
|
width: 10rpx;
|
|
height: 10rpx;
|
|
border-radius: 50%;
|
|
background-color: #3c7dff;
|
|
}
|
|
|
|
.monsterPart-item:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.monsterPart-item:nth-child(2)::after {
|
|
background-color: #d60000;
|
|
}
|
|
|
|
.monsterPart-item:nth-child(3)::after {
|
|
background-color: #00c700;
|
|
}
|
|
|
|
.monsterPart-item:nth-child(4)::after {
|
|
background-color: #f5d72e;
|
|
}
|
|
|
|
.monsterPart-item:nth-child(5)::after {
|
|
background-color: #9721da;
|
|
}
|
|
|
|
.monsterPart-item-text {
|
|
color: #919191;
|
|
}
|
|
|
|
/* 选择饮品 */
|
|
.drink {
|
|
padding: 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.drinkCont {
|
|
background-color: #f6f6f6;
|
|
border-radius: 15rpx;
|
|
padding: 30rpx 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.drinkCont-name {
|
|
font-weight: 600;
|
|
margin-bottom: 30rpx;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.drinkCont-list {
|
|
display: flex;
|
|
}
|
|
|
|
.drinkCont-item {
|
|
flex: 2;
|
|
text-align: center;
|
|
}
|
|
|
|
.drinkCont-item-img {
|
|
width: 120rpx;
|
|
border: 2rpx solid #f6f6f6;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.drinkCont-item-name {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.drinkCont-item.active .drinkCont-item-img {
|
|
border-color: #3c7dff;
|
|
}
|
|
|
|
.drinkCont-item.active .drinkCont-item-name {
|
|
color: #3c7dff;
|
|
}
|
|
|
|
/* 喝水按钮 */
|
|
.drinkBtn {
|
|
width: 100%;
|
|
padding: 0 30rpx 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.drinkBtn-go {
|
|
width: 100%;
|
|
background-color: #3c7dff;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
line-height: 90rpx;
|
|
border-radius: 15rpx;
|
|
}
|
|
|
|
/* 饮水弹出 */
|
|
.waterBack {
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 9;
|
|
background-color: rgba(0, 0, 0, .5);
|
|
display: none;
|
|
}
|
|
|
|
.waterBack.active {
|
|
display: block;
|
|
}
|
|
|
|
.waterPop {
|
|
position: fixed;
|
|
width: 100vw;
|
|
bottom: -100%;
|
|
left: 0;
|
|
background-color: #ffffff;
|
|
z-index: 9;
|
|
border-radius: 20rpx 20rpx 0 0;
|
|
padding: 0 40rpx 60rpx;
|
|
box-sizing: border-box;
|
|
transition: .5s;
|
|
}
|
|
|
|
.waterPop.active {
|
|
bottom: 0;
|
|
}
|
|
|
|
.waterPop-top {
|
|
display: flex;
|
|
}
|
|
|
|
.waterPop-top-label {
|
|
font-size: 32rpx;
|
|
flex: 3;
|
|
line-height: 110rpx;
|
|
border-bottom: 2rpx solid #eeeeee;
|
|
}
|
|
|
|
.waterPop-name {
|
|
text-align: center;
|
|
}
|
|
|
|
.waterPop-sure {
|
|
color: #548dff;
|
|
text-align: right;
|
|
}
|
|
|
|
.waterPop-type {
|
|
position: relative;
|
|
padding: 20rpx 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.waterPop-type-cont-img {
|
|
width: 140rpx;
|
|
}
|
|
|
|
.waterPop-type-cont {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
padding: 40rpx 0 0 140rpx;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.waterPop-type-text {
|
|
margin-top: 20rpx;
|
|
font-size: 28rpx;
|
|
color: #919191;
|
|
}
|
|
|
|
.waterPop-scale {
|
|
padding: 20rpx 25% 40rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.waterPop-scale-pot {
|
|
text-align: center;
|
|
position: relative;
|
|
padding-top: 130%;
|
|
width: 100%;
|
|
}
|
|
|
|
.waterPop-scale-pot-back {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 10;
|
|
display: block;
|
|
}
|
|
|
|
.waterPop-scale-pot-ruler {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-color: #548dff;
|
|
width: 100%;
|
|
transition: .8s;
|
|
}
|
|
|
|
.waterPop-scale-pot-number {
|
|
position: absolute;
|
|
top: -50rpx;
|
|
font-weight: 600;
|
|
color: #3c7dff;
|
|
text-align: center;
|
|
width: 100%;
|
|
font-size: 32rpx;
|
|
z-index: 100;
|
|
}
|
|
|
|
.waterPop-scale-pot-grey {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-color: #eef4ff;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.waterPop-scale-grow {
|
|
display: flex;
|
|
line-height: 50rpx;
|
|
}
|
|
|
|
.waterPop-scale-grow-btn {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
line-height: 36rpx;
|
|
text-align: center;
|
|
background-color: #528cff;
|
|
color: #ffffff;
|
|
border-radius: 50%;
|
|
font-weight: 600;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.waterPop-scale-grow-slider {
|
|
width: calc(100% - 170rpx);
|
|
margin: 5rpx 30rpx 0 40rpx;
|
|
}
|
|
|
|
/* 完善信息弹出 */
|
|
.refertoEject {
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
left: 0;
|
|
top: 0;
|
|
background-color: rgba(0, 0, 0, .6);
|
|
z-index: 10000;
|
|
display: none;
|
|
}
|
|
|
|
.refertoEject.active {
|
|
display: block;
|
|
}
|
|
|
|
.refertoCont {
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-pack: center;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 100000;
|
|
padding: 0 15%;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
display: none;
|
|
}
|
|
|
|
.refertoCont.active {
|
|
display: -webkit-box;
|
|
}
|
|
|
|
.refertoCont-text {
|
|
background-color: #f6f9fb;
|
|
border-radius: 20rpx;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
}
|
|
|
|
.refertoCont-ls {
|
|
width: 260rpx;
|
|
}
|
|
|
|
.refertoCont-title {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
padding: 40rpx 0;
|
|
font-size: 34rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.refertoCont-tips {
|
|
line-height: 48rpx;
|
|
text-align: center;
|
|
padding: 0 60rpx 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.publicPop-btn {
|
|
line-height: 80rpx;
|
|
font-size: 32rpx;
|
|
display: flex;
|
|
border-top: 2rpx solid #e6e6e6;
|
|
}
|
|
|
|
|
|
.publicPop-btn-go {
|
|
width: 50%;
|
|
text-align: center;
|
|
height: 100rpx;
|
|
line-height: 100rpx;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.publicPop-btn-border {
|
|
color: #528cff;
|
|
position: relative;
|
|
}
|
|
|
|
.publicPop-btn-border::after {
|
|
position: absolute;
|
|
content: '';
|
|
left: 0;
|
|
top: 0;
|
|
width: 2rpx;
|
|
height: 100rpx;
|
|
background-color: #e6e6e6;
|
|
} |