Files
sykl-hy/pages/index/index.wxss

435 lines
7.0 KiB
Plaintext

/* 申请体验馆 */
.exhibition-img {
width: 100%;
border-bottom: 90rpx solid transparent;
}
.exhibition-btn {
position: fixed;
bottom: 0;
left: 0;
z-index: 99;
width: 100%;
text-align: center;
padding: 30rpx;
box-sizing: border-box;
}
.exhibition-btn-go {
background-color: #e8c198;
color: #442b11;
border-radius: 50rpx;
height: 90rpx;
line-height: 90rpx;
}
.banner {
width: 100%;
}
/* 近期报告 */
.report {
box-sizing: border-box;
position: relative;
top: -130rpx;
left: 0;
}
.report-flex {
white-space: nowrap;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 100%;
box-sizing: border-box;
}
.report-item {
border-radius: 30rpx;
width: 39%;
padding: 20rpx;
box-sizing: border-box;
display: inline-block;
margin-left: 25rpx;
background-color: white;
}
.report-item:last-child {
margin-right: 25rpx;
}
.report-name {
margin-bottom: 15rpx;
display: flex;
line-height: 40rpx;
}
.report-name text {
font-weight: 600;
font-size: 32rpx;
display: inline-block;
flex: 1;
}
.report-date {
font-size: 28rpx;
color: #9d9d9d;
}
.report-img {
width: 100%;
padding: 10rpx 0 0;
}
.report-number {
font-size: 32rpx;
font-weight: 600;
height: 74rpx;
overflow: hidden;
}
.report-number text {
font-size: 26rpx;
color: #9d9d9d;
padding-left: 8rpx;
font-weight: normal;
}
.healthy {
font-size: 30rpx;
text-align: center;
}
.report-see.red {
color: #608ee4;
}
.report-see.yellow {
color: #f4951a;
}
.report-see.purple {
color: #a843fc;
}
.report-see.peony {
color: #d30047;
}
.report-number-last {
font-size: 26rpx;
color: #ff7894;
height: 30rpx;
line-height: 30rpx;
}
/* 未有数据 */
.npReport {
position: relative;
top: -90rpx;
left: 0;
padding: 30rpx 20rpx;
box-sizing: border-box;
text-align: center;
}
.npReport-tits {
font-size: 34rpx;
background-color: #ffffff;
border-radius: 30rpx;
padding: 30rpx;
box-sizing: border-box;
font-weight: 600;
color: #6774ff;
}
/* 任务流程 */
.task {
margin-top: -130rpx;
padding: 30rpx 25rpx;
box-sizing: border-box;
}
.white {
background-color: #FFFFFF;
border-radius: 30rpx;
padding: 0 30rpx;
box-sizing: border-box;
}
.task-title {
line-height: 40rpx;
display: flex;
padding: 30rpx 0 10rpx;
}
.task-title-name {
font-weight: 600;
flex: 1;
position: relative;
padding-left: 62rpx;
}
.task-title-name::after {
position: absolute;
content: '';
width: 16rpx;
height: 16rpx;
border-radius: 50%;
border: 4rpx solid #ffb8b2;
left: 10rpx;
top: calc(50% - 12rpx);
background-color: #ff321f;
}
.task-title-number {
font-size: 28rpx;
color: #9d9d9d;
}
.task-list {
padding-bottom: 30rpx;
box-sizing: border-box;
}
.item {
padding: 30rpx 0;
position: relative;
}
.item:last-child {
padding-bottom: 0;
margin-bottom: 0;
}
.item::before {
position: absolute;
content: '';
height: 2rpx;
width: calc(100% - 62rpx);
left: 62rpx;
bottom: 0;
background-color: #ecf4f6;
}
.item::after {
position: absolute;
content: '';
height: 100%;
width: 0;
border-left: 2rpx #b4baf7 dashed;
left: 20rpx;
top: 40rpx;
}
.item.active::after {
border-left: 2rpx #2e40f7 dashed;
}
.item:last-child::after {
height: calc(100% - 40rpx);
}
.item:last-child::before {
display: none;
}
.name {
position: relative;
}
.title {
font-size: 28rpx;
color: #000000;
display: flex;
line-height: 42rpx;
position: relative;
}
.title text {
display: flex;
width: 100%;
padding-left: 62rpx;
}
.circular {
background-color: #b4baf7;
border: 6rpx solid #dee1ff;
width: 30rpx;
height: 30rpx;
line-height: 30rpx;
text-align: center;
border-radius: 50%;
font-size: 24rpx;
color: #FFFFFF;
position: absolute;
z-index: 9;
}
.circular.active {
background-color: #2e40f7;
border: 6rpx solid #b4baf7;
}
.tips {
color: #9d9d9d;
font-size: 26rpx;
line-height: 48rpx;
padding-left: 62rpx;
box-sizing: border-box;
}
.see {
display: inline-block;
padding-left: 10rpx;
color: #6774ff;
padding-left: 62rpx;
font-size: 28rpx;
}
.number {
color: #9d9d9d;
padding-left: 62rpx;
font-size: 28rpx;
margin-top: 6rpx;
}
.number.active {
color: #fcb338;
font-weight: 600;
}
.btn {
position: absolute;
right: 0;
top: 40rpx;
background-color: #efeff7;
color: #7b8199;
font-size: 28rpx;
border-radius: 90rpx;
width: 130rpx;
text-align: center;
height: 58rpx;
line-height: 58rpx;
}
.btn.active {
background-color: #6774ff;
color: #FFFFFF;
}
.btn.complete {
background-color: #fe321f;
color: #ffffff;
}
.btn text {
display: block;
}
/* 浮动入口 */
.drift {
position: absolute;
top: 200rpx;
right: 0;
z-index: 999;
}
.drift-brief {
background: rgba(35, 45, 85, .6);
color: #FFFFFF;
font-size: 26rpx;
padding: 0 20rpx 0 25rpx;
line-height: 60rpx;
border-radius: 60rpx 0 0 60rpx;
}
.drift-card {
margin: 30rpx 20rpx;
width: 80rpx;
height: 80rpx;
float: right;
}
/* 公众号关注 */
.followPop {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 99;
background-color: rgba(0, 0, 0, .4);
display: none;
}
.followPop.active{
display: block;
}
.followCont {
width: 100%;
height: 100%;
left: 0;
top: 0;
position: fixed;
z-index: 100;
display: none;
}
.followCont.active{
display: block;
}
.followText {
position: absolute;
left: 50%;
top: 50%;
width: 500rpx;
margin-left: -250rpx;
margin-top: -260rpx;
border-radius: 20rpx;
overflow: hidden;
background-color: #ffffff;
text-align: center;
}
.followText.active {
width: 300px;
height: 250rpx;
margin-top: -130rpx;
margin-left: -150px;
}
.weChat-close {
position: absolute;
right: 30rpx;
top: 25rpx;
width: 38rpx;
height: 38rpx;
}
.weChat-img {
width: 60%;
margin: 30rpx auto 0;
}
.weChat-title {
height: 90rpx;
line-height: 90rpx;
border-bottom: 2rpx dashed rgb(236, 236, 236);
font-weight: 600;
}
.weChat-text {
font-size: 28rpx;
color: #9d9d9d;
line-height: 60rpx;
padding-bottom: 30rpx;
}
.weChat-tips {
width: 300px;
height: 84px;
}