412 lines
8.2 KiB
SCSS
412 lines
8.2 KiB
SCSS
/* pages/card/card.wxss */
|
|
page {
|
|
background: #F9F9F9;
|
|
}
|
|
|
|
.card {
|
|
// background: #F9F9F9;
|
|
// padding: 30rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
padding-top: 20rpx;
|
|
|
|
.card-box {
|
|
box-sizing: border-box;
|
|
width: 719rpx;
|
|
height: 382rpx;
|
|
background: url('https://chrivc.obs.cn-north-4.myhuaweicloud.com/09f36e4cf9474682b194f3c0694d239d:card_bg.png')no-repeat;
|
|
background-size: cover;
|
|
|
|
.top {
|
|
|
|
margin-bottom: 40rpx;
|
|
padding-top: 20rpx;
|
|
padding-left: 60rpx;
|
|
padding-right: 60rpx;
|
|
|
|
.nameAndScore {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
|
|
.name {
|
|
font-size: 48rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 800;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.score {
|
|
font-size: 64rpx;
|
|
font-family: Alibaba PuHuiTi;
|
|
font-weight: 800;
|
|
color: #FFFFFF;
|
|
|
|
|
|
text {
|
|
font-size: 26rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
margin-right: 9rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.positionAndTags {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.position {
|
|
font-size: 32rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: bold;
|
|
color: #FFFFFF;
|
|
width: 350rpx;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.company {
|
|
font-size: 24rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
margin-top: 5rpx;
|
|
width: 350rpx;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.tagsAndStar {
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.tags {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 10rpx;
|
|
|
|
.tagItem {
|
|
position: relative;
|
|
background: #2235B6;
|
|
border-radius: 22rpx;
|
|
width: 124rpx;
|
|
height: 43rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
margin-bottom: 5rpx;
|
|
margin-left: 26rpx;
|
|
|
|
.numTag {
|
|
font-size: 14rpx;
|
|
font-family: Alibaba PuHuiTi;
|
|
font-weight: 800;
|
|
font-style: italic;
|
|
color: #FFFFFF;
|
|
background: #FF662A;
|
|
border-radius: 9px 8px 8px 4px;
|
|
width: 36rpx;
|
|
height: 19rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
right: -25rpx;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.moreTag {
|
|
font-size: 48rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
width: 81rpx;
|
|
height: 43rpx;
|
|
background: #2235B6;
|
|
border-radius: 22rpx;
|
|
line-height: 8px;
|
|
text-align: center;
|
|
margin-left: 27rpx;
|
|
// display: flex;
|
|
// justify-content: center;
|
|
// align-items: center;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
.bottom {
|
|
padding-left: 60rpx;
|
|
|
|
.btn_copy {
|
|
margin-left: 20rpx;
|
|
text-decoration: underline;
|
|
color: rgba(255, 255, 255, .43);
|
|
}
|
|
|
|
text {
|
|
font-size: 24rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.icon_phone {
|
|
width: 21.8rpx;
|
|
height: 20rpx;
|
|
margin-right: 9rpx;
|
|
}
|
|
|
|
.icon_email {
|
|
width: 22rpx;
|
|
height: 19.7rpx;
|
|
margin-right: 9rpx;
|
|
margin-left: 42rpx;
|
|
}
|
|
|
|
.introduce {
|
|
padding-right: 60rpx;
|
|
font-size: 24rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
opacity: 0.43;
|
|
margin-top: 20rpx;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|
|
|
|
.card-box-bg {
|
|
width: 689rpx;
|
|
height: 362rpx;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 0;
|
|
}
|
|
}
|
|
|
|
// .zhanwei{
|
|
// background: red;
|
|
// height: 200rpx;
|
|
// width: 100%;
|
|
// position: relative;
|
|
// top: -20px;
|
|
// }
|
|
.card-info-box {
|
|
margin: 15rpx;
|
|
border-radius: 24rpx;
|
|
background: #fff;
|
|
padding: 40rpx;
|
|
box-sizing: border-box;
|
|
margin-top: 20rpx;
|
|
|
|
.title {
|
|
font-size: 30rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: bold;
|
|
color: #3E3E3E;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.btn_edit {
|
|
font-size: 30rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #6571D9;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.icon_edit {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.item {
|
|
font-size: 26rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
color: #9F9F9F;
|
|
margin-top: 40rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.btnItem {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
text {
|
|
display: inline-block;
|
|
width: 140rpx;
|
|
font-size: 26rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #3E3E3E;
|
|
}
|
|
}
|
|
|
|
.otherLayout {
|
|
background: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
|
|
.welcome {
|
|
margin: 70rpx;
|
|
position: relative;
|
|
font-size: 30rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #AEAEAE;
|
|
|
|
.icon_quote {
|
|
width: 25rpx;
|
|
height: 24rpx;
|
|
position: absolute;
|
|
top: -40rpx;
|
|
left: -36rpx;
|
|
}
|
|
|
|
.quote_end {
|
|
transform: rotate(180deg);
|
|
position: absolute;
|
|
top: inherit;
|
|
left: inherit;
|
|
bottom: -49rpx;
|
|
right: -34rpx;
|
|
}
|
|
}
|
|
|
|
.icon_logo {
|
|
width: 176rpx;
|
|
height: 73rpx;
|
|
margin-top: 207rpx;
|
|
}
|
|
|
|
.icon_slogan {
|
|
width: 428rpx;
|
|
height: 41rpx;
|
|
margin-top: 21rpx;
|
|
}
|
|
|
|
.description {
|
|
margin: 36rpx 50rpx;
|
|
font-size: 24rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #CACACA;
|
|
line-height: 38rpx;
|
|
|
|
text {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.icon_q {
|
|
width: 19rpx;
|
|
height: 19rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btns {
|
|
display: flex;
|
|
justify-content: center;
|
|
position: fixed;
|
|
bottom: 42rpx;
|
|
}
|
|
}
|
|
|
|
.canvas {
|
|
position: fixed;
|
|
opacity: 0;
|
|
left: 200%;
|
|
top: 200%;
|
|
z-index: -10;
|
|
}
|
|
|
|
.shareBtn {
|
|
// width="442rpx" height="88rpx" fontSize="30rpx" style="margin-left: 30rpx;
|
|
width: 442rpx;
|
|
height: 88rpx;
|
|
font-size: 30rpx;
|
|
margin-left: 30rpx !important;
|
|
background: #6571D9;
|
|
font-size: 30rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
border-radius: 44rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.explain-box {
|
|
background: rgba(0, 0, 0, .5);
|
|
width: 100%;
|
|
height: 100%;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 99;
|
|
|
|
.explain {
|
|
background: #fff;
|
|
border-radius: 24rpx;
|
|
// padding: 24rpx 58rpx 41rpx 58rpx;
|
|
margin: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
padding-bottom: 42rpx;
|
|
|
|
.title {
|
|
font-size: 32rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: bold;
|
|
color: #3E3E3E;
|
|
margin-bottom: 26rpx;
|
|
margin-top: 42rpx;
|
|
}
|
|
|
|
.content {
|
|
font-size: 28rpx;
|
|
font-family: PingFang SC;
|
|
font-weight: 500;
|
|
color: #9F9F9F;
|
|
margin-bottom: 33rpx;
|
|
padding: 0 58rpx;
|
|
}
|
|
}
|
|
} |