Files
peko-h5/view/peko/modules/statistic/css/serial.scss

285 lines
7.6 KiB
SCSS
Raw Normal View History

2022-09-08 18:22:18 +08:00
@function px2rem($px, $rem:75) {
@return $px / $rem+rem;
}
@import '../../../common/css/flex';
html,
body {
width: 100%;
height: 100%;
background-color: #F5F5F5;
}
.max {
display: none;
width: px2rem(750);
height: 100%;
background-color: #F5F5F5;
position: relative;
margin: 0 auto;
.starlet {
width: 100%;
2023-07-26 14:36:41 +08:00
height: 5.3rem;
// background: url('../images/serial.png');
// background-size: 100% 100%;
background: linear-gradient(0deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
2022-09-08 18:22:18 +08:00
z-index: 1000;
overflow: hidden;
cursor: pointer;
img {
2023-07-26 14:36:41 +08:00
width: px2rem(130);
height: px2rem(120);
2022-09-08 18:22:18 +08:00
display: block;
margin: px2rem(73) auto 0;
2023-07-26 14:36:41 +08:00
border-radius: px2rem(20, );
&.peko {
2022-09-08 18:22:18 +08:00
width: px2rem(186, );
height: px2rem(76, );
}
}
}
.userInfo {
width: px2rem(690);
height: px2rem(150);
margin: 0 auto;
border-radius: px2rem(24);
margin-top: px2rem(40);
// margin-top: px2rem(120);
@include flex();
// @include flex-justify-center;
@include flex-align-center;
// @include flexv();
background-color: #fff;
.user-i {
width: 70%;
@include flex();
@include flex-justify-start;
// @include flex-align-center;
justify-content: center;
flex-direction: column;
&>div {
width: 100%;
height: px2rem(80);
@include flex();
line-height: px2rem(105);
2023-08-01 22:45:49 +08:00
2022-09-08 18:22:18 +08:00
// @include flex-justify-start;
// @include flex-align-center;
2023-08-01 22:45:49 +08:00
.userName {
white-space: nowrap;
overflow: hidden;
width: 3.7rem;
text-overflow: ellipsis;
}
2022-09-08 18:22:18 +08:00
&:first-child {
font-size: px2rem(30);
color: #333;
margin-left: px2rem(29);
}
&:last-child {
color: #999;
font-size: px2rem(24);
line-height: px2rem(65);
}
label {
// width: px2rem(300);
margin-left: px2rem(29);
}
.erbanNo {
margin-left: px2rem(20);
}
}
}
2023-07-26 14:36:41 +08:00
.user-room-receipt {
2022-09-08 18:22:18 +08:00
width: px2rem(200);
height: px2rem(48);
border-radius: px2rem(24);
font-size: px2rem(28);
color: #fff;
text-align: center;
line-height: px2rem(48);
margin-right: px2rem(20);
2023-07-26 14:36:41 +08:00
// background-image: linear-gradient(to right,#FFA936,#FFCB47);
// background-image: -webkit-linear-gradient(to right,#FFA936,#FFCB47);
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
2022-09-08 18:22:18 +08:00
}
}
.serial {
width: px2rem(690);
margin: 0 auto;
overflow: hidden;
border-radius: px2rem(24);
background: #fff;
@include flex();
@include flex-justify-center;
@include flex-align-center;
@include flexv();
margin-top: px2rem(20);
li {
width: 100%;
height: px2rem(150);
background-color: white;
border-bottom: 1px solid #EFEFEF;
@include flex();
@include flex-justify-start;
@include flex-align-center;
p {
flex: 1;
height: px2rem(100);
color: #333;
2023-07-26 14:36:41 +08:00
2022-09-08 18:22:18 +08:00
&:first-child {
text-align: center;
border-right: 1px solid lightgray;
width: px2rem(400);
font-size: 18px;
line-height: px2rem(100);
font-weight: bold;
}
&.content {
width: px2rem(400);
text-align: center;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: center;
2023-07-26 14:36:41 +08:00
&:last-child {}
2022-09-08 18:22:18 +08:00
span {
display: block;
width: 100%;
font-size: 18px;
line-height: 18px;
font-size: px2rem(22);
2023-07-26 14:36:41 +08:00
&:first-child {
2022-09-08 18:22:18 +08:00
color: #FFBC52;
font-size: px2rem(30);
}
2023-07-26 14:36:41 +08:00
2022-09-08 18:22:18 +08:00
&.name {
color: #999999;
}
}
}
}
}
.week {
background-color: #fff;
width: 100%;
height: px2rem(150);
border-bottom: 1px solid #EFEFEF;
@include flex();
@include flex-justify-start;
@include flex-align-center;
p {
border: 0;
flex: 1;
@include flex();
@include flex-justify-center;
@include flex-align-center;
&.weeks {
text-align: center;
border-right: 1px solid lightgray;
width: px2rem(400);
font-size: 18px;
line-height: px2rem(100);
font-weight: bold;
}
&.content {
// padding: 0 px2rem(10);
box-sizing: border-box;
@include flex();
// @include flex-justify-center;
@include flex-align-center;
flex-direction: column;
// @include flexv();
line-height: 18px;
.number {
color: #FFBC52;
font-size: px2rem(30);
}
.name {
text-align: center;
color: #999999;
font-size: px2rem(22);
}
}
}
}
.month {
background-color: #F5F5F5;
width: 100%;
height: px2rem(150);
border-bottom: 1px solid #EFEFEF;
@include flex();
@include flex-justify-start;
@include flex-align-center;
p {
border: 0;
@include flex();
@include flex-justify-center;
@include flex-align-center;
&.date {
width: px2rem(200);
font-weight: bold;
color: #CCCCCC;
line-height: 18px;
font-size: 18px;
}
&.content {
@include flex();
@include flex-justify-center;
@include flex-align-center;
@include flexv();
padding-left: 30px;
line-height: 18px;
.number {
font-size: 18px;
margin-bottom: px2rem(10);
}
.name {
color: #CCCCCC;
}
}
}
}
}
}