Files
sgy-web/pages/report/detail/detail.wxss

815 lines
13 KiB
Plaintext

page {
background-color: #f7faff;
}
.grey {
background-color: #f9f9f9;
}
/* 返回 */
.navigation {
position: fixed;
top: 0;
left: 0;
z-index: 1999;
width: 100%;
height: 90rpx;
background-color: transparent;
transition: .2s;
}
.navigation.active {
background-color: transparent;
}
.navigation-arrow {
width: 44rpx;
height: 44rpx;
margin: 20rpx 15rpx 0 20rpx;
}
/* 顶部背景 */
.top {
width: 100%;
position: relative;
height: 800rpx;
overflow: hidden;
}
.top-back {
position: absolute;
height: 100%;
left: 0;
top: 0;
width: 100%;
z-index: 1;
}
.top-date {
padding: 30rpx;
box-sizing: border-box;
position: absolute;
left: 0;
top: 370rpx;
width: 100%;
z-index: 9;
color: #6d9eff;
font-size: 28rpx;
}
.top-date text {
display: block;
}
.top-date::after,
.top-date::before {
position: absolute;
content: '';
left: 30rpx;
background-color: #a7c5ff;
width: 100rpx;
height: 4rpx;
}
.top-date::after {
top: 15rpx;
}
.top-date::before {
bottom: 15rpx;
}
/* 内容 */
.seeCont {
position: absolute;
top: 460rpx;
z-index: 1000;
width: 100%;
padding: 60rpx 30rpx;
box-sizing: border-box;
border-bottom: 80px solid transparent;
}
/* 皮肤概况 */
.survey {
background-image: linear-gradient(90deg,rgba(255,255,255,0), transparent);
border-radius: 15rpx;
padding: 0 30rpx;
box-sizing: border-box;
}
.survey-title {
text-align: center;
}
.survey-title text {
display: inline-block;
background-color: #d3e2ff;
color: #3b7cff;
line-height: 58rpx;
padding: 0 30rpx;
border-radius: 0 0 20rpx 20rpx;
font-size: 28rpx;
}
.survey-cont {
padding: 50rpx 0 20rpx;
box-sizing: border-box;
}
.surveyTop {
position: relative;
}
.surveyTop-img {
width: 210rpx;
height: 280rpx;
border-radius: 15rpx;
}
.surveyTop-cont {
position: absolute;
left: 0;
top: 0;
width: 100%;
padding-left: 300rpx;
padding-right: 20rpx;
box-sizing: border-box;
text-align: center;
}
.surveyTop-cont-title {
margin-bottom: 40rpx;
}
.surveyTop-title-name {
color: #3b7cff;
font-size: 40rpx;
line-height: 70rpx;
}
.surveyTop-title-text {
color: #666666;
}
.surveyTop-cont-item {
background-color: #edf3ff;
border-radius: 80rpx;
display: flex;
font-size: 28rpx;
padding: 20rpx 0;
}
.surveyTop-item-label {
flex: 2;
text-align: center;
position: relative;
}
.surveyTop-item-name {
margin-bottom: 10rpx;
}
.surveyTop-item-label::after {
position: absolute;
content: '';
right: 0;
top: 20%;
background-color: #c4d8ff;
width: 2rpx;
height: 60%;
}
.surveyTop-item-label:last-child::after {
display: none;
}
.surveyTop-item-text {
color: #666666;
}
.surveyList {
margin-top: 30rpx;
}
.surveyList-title {
font-size: 34rpx;
font-weight: 600;
}
.surveyList-item {
margin-top: 20rpx;
}
.surveyList-label {
line-height: 80rpx;
display: flex;
}
.surveyList-label-name {
color: #111111;
width: 120rpx;
}
.surveyList-label-thread {
width: calc(100% - 220rpx);
height: 20rpx;
margin-top: 30rpx;
background-color: #f5f5f5;
}
.surveyList-label-bar {
height: 20rpx;
background-color: #f5f5f5;
position: relative;
}
.surveyList-label-bar::before {
position: absolute;
content: '';
height: 100%;
width: 100%;
color: #fff;
background-color: #2486ff;
}
.surveyList-label-bar::after {
position: absolute;
content: '';
width: 22rpx;
height: 22rpx;
border-radius: 50%;
background-color: #fff;
border: 4rpx solid #2486ff;
right: -22rpx;
top: -6rpx;
}
.surveyList-label-number {
width: 100rpx;
text-align: right;
}
.addvice{
width: 100%;
background-color: white;
margin-top: 30rpx;
border-radius: 15rpx;
padding: 30rpx;
box-sizing: border-box;
}
.addvice-title{
font-size: 36rpx;
font-weight: bold;
color: #111111;
position: relative;
display: inline-block;
padding: 0 2rpx;
}
.addvice-title::before{
content: "";
position: absolute;
width: 100%;
height: 20rpx;
bottom: 0;
left: 0;
background-color: rgba(60, 125, 255, 0.2);
}
.addvice-item{
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: flex-start;
box-sizing: border-box;
font-size: 28rpx;
font-family: PingFang SC;
font-weight: 400;
color: #666666;
margin-top: 40rpx;
}
.addvice-item image{
width: 80rpx;
height: 80rpx;
margin-top: 20rpx;
}
.addvice-item .cont{
flex: 1;
margin-left: 40rpx;
}
.addvice-item .cont .tilte{
font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400;
color: #111111;
margin-bottom: 12rpx;
}
.addvice-goods{
display: flex;
flex-direction: row;
align-items: center;
justify-content:flex-start;
box-sizing: border-box;
background-color: white;
margin-top: 30rpx;
border-radius: 15rpx;
padding: 30rpx;
}
.addvice-goods image{
width: 160rpx;
height: 160rpx;
}
.addvice-goods .cont{
flex: 1;
margin-left: 30rpx;
font-size: 32rpx;
font-weight: 500;
color: #000000;
}
.addvice-goods .des{
font-size: 28rpx;
font-weight: 400;
color: #999999;
margin-top: 15rpx;
}
.addvice-goods .price{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
font-size: 28rpx;
font-weight: bold;
color: #000000;
margin-top: 14rpx;
}
.addvice-goods .price .count span{
font-size: 40rpx;
font-weight: bold;
}
.addvice-goods .price .btn{
width: 120rpx;
height: 60rpx;
background: #3C7DFF;
border-radius: 30rpx;
font-size: 30rpx;
font-weight: bold;
color: #FFFFFF;
line-height: 60rpx;
text-align: center;
}
/* 公共模块 */
.module {
background-color: #ffffff;
margin-top: 40rpx;
border-radius: 15rpx;
overflow: hidden;
}
.module-title {
background-image: linear-gradient(to top, #ffffff, #ecf2ff);
padding: 30rpx 0;
box-sizing: border-box;
font-weight: 600;
font-size: 32rpx;
position: relative;
padding-left: 60rpx;
}
.module-title::after {
position: absolute;
content: '';
left: 30rpx;
top: calc(50% - 13rpx);
background-color: #3d7eff;
width: 10rpx;
height: 26rpx;
border-radius: 160rpx;
}
.module-check {
border: 2rpx solid #3d7eff;
width: 230rpx;
margin: 30rpx auto 0;
text-align: center;
height: 58rpx;
line-height: 58rpx;
border-radius: 90rpx;
}
.module-check-img {
width: 32rpx;
height: 32rpx;
margin: -2rpx 10rpx 0 0;
display: inline-block;
vertical-align: middle;
}
.module-check-name {
color: #3d7eff;
font-size: 28rpx;
display: inline-block;
}
.moduleText {
background-color: #f7faff;
border-radius: 15rpx;
padding: 25rpx;
box-sizing: border-box;
display: flex;
margin-top: 40rpx;
}
.moduleText-img {
width: 42rpx;
height: 42rpx;
margin-top: 10rpx;
}
.moduleText-tips {
width: calc(100% - 42rpx);
padding-left: 20rpx;
box-sizing: border-box;
font-size: 28rpx;
line-height: 38rpx;
text-align: justify;
}
.moduleText-tips text {
color: #3d7eff;
}
.module-flex {
padding: 30rpx;
box-sizing: border-box;
}
.module-flex-cont {
display: flex;
}
.module-flex-item {
flex: 2;
text-align: center;
}
.module-flex-img {
width: 100rpx;
height: 100rpx;
}
.module-flex-name {
font-size: 26rpx;
color: #666666;
line-height: 48rpx;
}
.module-flex-number {
font-weight: 600;
}
/* 衰老分析 */
.old {
padding: 30rpx;
box-sizing: border-box;
}
.oldTop {
text-align: center;
}
.oldTop-img {
width: 75%;
}
.oldSee {
background-color: #f7faff;
border-radius: 15rpx;
padding: 15rpx;
box-sizing: border-box;
flex-wrap: wrap;
justify-content: flex-start;
margin-top: 40rpx;
}
.oldSee-item {
width: 50%;
padding-left: 10rpx;
box-sizing: border-box;
display: inline-block;
line-height: 60rpx;
color: #111111;
}
.oldSee-name {
position: relative;
padding-left: 20rpx;
font-size: 25rpx;
}
.oldSee-name::after {
position: absolute;
content: '';
left: 0;
top: calc(50% - 4rpx);
background-color: #3d7eff;
width: 8rpx;
height: 8rpx;
}
/* 眼图 */
.eye-img {
width: 60%;
}
/* 毛孔 */
.pore-flex {
padding-left: 20rpx;
width: calc(100% - 42rpx);
}
.pore-flex-item {
font-size: 26rpx;
line-height: 52rpx;
}
.pore-flex-item text {
font-weight: 600;
color: #3d7eff;
}
/* 按钮 */
.footer {
width: 100%;
height: 80px;
background-color: #FFFFFF;
position: fixed;
left: 0;
bottom: 0;
z-index: 9989;
padding: 20rpx 10rpx;
box-sizing: border-box;
display: block;
}
.footer.active {
display: none;
}
.footer-flex {
display: flex;
}
.footer-flex-btn {
flex: 2;
margin: 0 15rpx;
line-height: 40px;
background-color: transparent;
height: 40px;
text-align: center;
color: #3b7cff;
border-radius: 80rpx;
border: 2rpx solid #3b7cff;
}
.footer-flex-share {
background-color: #3b7cff;
color: #FFFFFF;
}
/* 图片弹出 */
.face-pop {
position: fixed;
left: 10%;
top: calc(50% - 300rpx);
z-index: 9999;
width: 80%;
overflow: hidden;
height: 640rpx;
text-align: center;
display: none;
}
.face-pop.active {
display: block;
}
.face-cont {
position: relative;
width: 396rpx;
height: 520rpx;
margin: 0 auto;
border-radius: 15rpx;
overflow: hidden;
}
.face-img,
.face-ai {
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.face-img {
left: 0;
z-index: 1000000;
}
.face-ai {
right: 0;
z-index: 1000001;
}
.face-back {
position: fixed;
left: 0;
top: 0;
z-index: 9998;
background-color: rgba(0, 0, 0, .5);
width: 100%;
height: 100vh;
display: none;
}
.face-back.active {
display: block;
}
.process_wrap {
height: 520rpx;
width: 4rpx;
position: absolute;
bottom: 0;
left: 0;
z-index: 1000003;
}
.process_wrap .line {
position: absolute;
left: calc(50% + 2rpx);
top: 0;
width: 4rpx;
height: 100%;
}
.process_wrap .line::before,
.process_wrap .line::after {
content: "";
position: absolute;
width: 100%;
height: calc(50% - 28rpx);
background: #fff;
left: 0;
}
.process_wrap .line::after {
top: 2rpx;
}
.process_wrap .line::before {
bottom: -8rpx;
}
.process_wrap .active_line {
position: absolute;
top: 0;
max-width: 8rpx;
height: 100%;
}
.process_wrap .spot {
position: absolute;
top: calc(50% - 28rpx);
left: -28rpx;
width: 56rpx;
height: 56rpx;
border: 2px solid #ffffff;
border-radius: 100%;
background-color: transparent;
}
.process_wrap .spot::before,
.process_wrap .spot::after {
content: "";
position: absolute;
width: 0;
height: 0;
border-style: solid;
top: 50%;
margin-top: -4px;
}
.process_wrap .spot::after {
border-width: 4px 0 4px 8px;
border-color: transparent transparent transparent #ffffff;
right: 2px;
}
.process_wrap .spot::before {
left: 2px;
border-width: 4px 8px 4px 0;
border-color: transparent #ffffff transparent transparent;
}
.surveyTop-close {
position: absolute;
width: 100%;
left: 0;
bottom: 0;
text-align: center;
}
.surveyTop-close image {
width: 60rpx;
height: 60rpx;
}
/* 弹出 */
.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: #ffffff;
border-radius: 20rpx;
padding: 60rpx 40rpx 40rpx;
box-sizing: border-box;
margin-bottom: 60rpx;
position: relative;
}
.refertoCont-ls {
position: absolute;
right: -80rpx;
top: -90rpx;
width: 250rpx;
}
.refertoCont-title {
text-align: left;
font-weight: 600;
font-size: 34rpx;
}
.refertoCont-tips {
line-height: 48rpx;
margin-top: 60rpx;
text-align: justify;
}
.refertoCont-btn{
background-image: linear-gradient(to bottom, #ffb70a, #ff7e1c);
color: #fff;
display: inline-block;
width: 100%;
border: 4rpx solid #ffffff;
line-height: 78rpx;
border-radius: 90rpx;
font-size: 28rpx;
margin: 40rpx 0 0;
}
.refertoCont-close {
width: 68rpx;
display: block;
margin: 0 auto;
}