syshxcx/pages/center/contact/contactDetail.wxss
dong_bo0602 a1f9e23f6d 0607
2022-06-07 15:43:05 +08:00

159 lines
2.5 KiB
Plaintext

.container{
margin-bottom: 120rpx;
}
.top-bg{
position: absolute;
top: 0;
left: 0;
right: 0;
padding: 20rpx 20rpx 150rpx;
border-bottom-left-radius: 80rpx;
border-bottom-right-radius: 80rpx;
background-color: #FF4949;
z-index: -10;
}
.card{
width: 100%;
height: 0;
position: relative;
padding-bottom: 56%;
background-color: #fff;
border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx;
}
.photo{
position: absolute;
left: 20rpx;
top: 0;
bottom: 0;
width: 300rpx;
}
.photo image{
height: 100%;
max-width: 100%;
}
.name{
position: absolute;
top: 40rpx;
left: 340rpx;
font-size: 36rpx;
font-weight: bold;
}
.desc{
position: absolute;
left: 340rpx;
top: 125rpx;
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
font-size: 30rpx;
}
.phone{
position: absolute;
left: 340rpx;
bottom: 120rpx;
font-size: 28rpx;
line-height: 30rpx;
color: #a8a8a8;
}
.phone image{
width: 30rpx;
height: 30rpx;
vertical-align: middle;
margin-top: -8rpx;
}
.position{
bottom: 80rpx;
}
.qr-code{
position: absolute;
bottom: 30rpx;
right: 24rpx;
width: 60rpx;
height: 60rpx;
}
.qr-code image{
width: 100%;
height: 100%;
}
.card-btn{
display: flex;
padding: 20rpx 0;
background-color: #fbfbfb;
}
.card-btn-box{
flex: 1;
text-align: center;
width: auto !important;
padding: 0 !important;
background-color: transparent !important;
}
.card-btn-box image{
height: 40rpx;
margin-bottom: 10rpx;
}
.btn-name{
font-size: 28rpx;
color: #958A8A;
}
.intro{
margin-top: 20rpx;
padding: 40rpx 0;
background-color: #fff;
border-radius: 10rpx;
}
.intro-title{
padding-left: 20rpx;
border-left: 4px solid #FF4949;
font-size: 36rpx;
font-weight: bold;
color: #101010;
margin-bottom: 20rpx;
box-sizing: border-box;
}
.intro-content{
padding: 0 20rpx;
font-size: 30rpx;
line-height: 50rpx;
}
.card-code{
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: #FF4949;
}
.card-code-container{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600rpx;
text-align: center;
background-color: #fff;
border-radius: 20rpx;
padding-bottom: 80rpx;
}
.code-photo{
border: 8rpx solid #FFF;
width: 200rpx;
height: 200rpx;
margin-top: -104rpx;
border-radius: 50%;
}
.code-name{
font-size: 40rpx;
color: #4A4A4A;
margin: 20rpx 0 60rpx;
}
.code-img{
width: 360rpx;
}