card-mini/pages/index/index.wxss
2021-07-20 15:45:29 +08:00

604 lines
8.8 KiB
Plaintext

page {
background: #F7F7F7;
}
.card-container {
height: 0;
box-sizing: border-box;
}
.share-btn {
background: #eee;
}
.card {
width: 100%;
height: 0;
box-sizing: border-box;
background: #fff;
position: relative;
overflow: hidden;
/* text-align: center; */
}
.area-box {
white-space: nowrap;
word-break: break-all;
z-index: 111;
}
.card-bgImg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.person {
padding: 20rpx;
}
.dynamic-container {
margin-top: -50rpx;
position: relative;
background-color: #fff;
padding: 20rpx;
border-radius: 20rpx;
}
.dynamic-title image {
width: 30rpx;
height: 30rpx;
vertical-align: middle;
margin-top: -4rpx;
}
.catelog-title {
display: flex;
position: relative;
align-items: center;
justify-content: space-between;
}
.catelog-title .action {
display: flex;
align-items: center;
justify-content: center;
max-width: 100%;
padding-right: 30rpx;
}
.title {
font-size: 30rpx;
position: relative;
color: #fff;
border-top-right-radius: 48rpx;
border-top-left-radius: 48rpx;
background: #0054bd;
display: inline-block;
padding: 10rpx 60rpx 60rpx 10rpx;
margin-bottom: -50rpx;
}
.title text {
margin-left: 20rpx;
}
.column-box {
display: flex;
flex-direction: column;
background-color: #fff;
width: 100%;
}
.column-content {
display: flex;
flex-direction: column;
padding: 10rpx 20rpx 40rpx;
background-color: #fff;
border-radius: 48rpx;
width: 100%;
box-shadow: 0px 2px 2px #f0f0f0;
z-index: 2;
}
.intro-title image {
width: 28rpx;
height: 30rpx;
vertical-align: middle;
margin-top: -4px;
}
.serve-title image {
width: 28rpx;
height: 30rpx;
vertical-align: middle;
margin-top: -4px;
}
.person-content {
padding: 20rpx;
border-radius: 20rpx;
background: #fff;
margin-top: -30rpx;
font-size: 30rpx;
color: #000;
line-height: 40rpx;
word-break: break-all;
line-height: 40rpx;
letter-spacing: 2rpx;
position: relative;
}
.company-title {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ddd;
}
.company-title image {
width: 140rpx;
height: 140rpx;
}
.company-name {
width: 520rpx;
height: 140rpx;
display: flex;
align-items: center;
font-size: 34rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.company-content {
background: #fff;
border-radius: 20rpx;
padding: 20rpx;
margin-top: -30rpx;
position: relative;
}
.company-content image {
width: 100%;
height: 300rpx;
border-radius: 20rpx;
}
.company .person-content {
margin-top: 0;
}
.dynamic-title {
width: 710rpx;
margin: 0 auto;
display: block;
}
.dynamic-box {
margin-bottom: 20rpx;
background: #fff;
border-radius: 20rpx;
overflow: hidden;
position: relative;
height: 400rpx;
}
.dynamic-box image {
width: 100%;
height: 400rpx;
}
.dynamic-text {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
line-height: 60rpx;
color: #fff;
padding: 0 10rpx;
font-size: 30rpx;
}
.person-info {
display: flex;
justify-content: space-between;
padding-bottom: 20rpx;
border-bottom: 1px solid #EEE;
}
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
overflow: hidden;
}
.avatar image {
width: 100%;
height: 100%;
}
.person-name {
width: 530rpx;
}
.name {
font-size: 32rpx;
margin: 15rpx 0 10rpx;
color: #000;
}
.time {
color: #b2b2b2;
}
.dynamic-content {
margin: 20rpx 0;
}
.dynamic-img {
position: relative;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.dynamic-img image {
width: 32%;
margin-right: 2%;
height: 160rpx;
margin-bottom: 10rpx;
}
.dynamic-img image:nth-child(3n) {
margin-right: 0;
}
.dynamic-img-text {
position: absolute;
left: 0;
right: 0;
bottom: 3rpx;
padding: 0 20rpx;
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 32rpx;
line-height: 70rpx;
}
.dynamic-good {
margin: 10rpx 0;
display: flex;
justify-content: space-between;
}
.good-count {
color: #333;
font-size: 28rpx;
}
.good-btn image {
width: 40rpx;
height: 40rpx;
vertical-align: top;
}
.dynamic-reply {
background: #eee;
padding: 15rpx;
margin-top: 15rpx;
}
.reply {
font-size: 32rpx;
color: #000;
margin-bottom: 5rpx;
}
.reply-name {
font-weight: bold;
display: inline;
}
.dynamic-reply-input {
margin-top: 10rpx;
}
.dynamic-reply-input input {
width: 100%;
height: 60rpx;
border-bottom: 1px solid #eee;
}
.creat-card {
position: fixed;
right: 20rpx;
bottom: 20rpx;
padding: 20rpx;
background: #0054bd;
border-radius: 50%;
box-sizing: border-box;
align-items: center;
justify-content: center;
flex-direction: column;
width: 140rpx;
height: 140rpx;
z-index: 100;
}
.creat-card image {
width: 80rpx;
height: 60rpx;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.share-save {
text-align: center;
display: flex;
justify-content: space-between;
}
.share-btn {
border: 1px solid #1296db;
background: none;
color: #1296db;
font-weight: normal;
}
.save-btn {
border: 1px solid #1296db;
background: #1296db;
color: #fff;
font-weight: normal;
}
.bottom-btn {
margin-top: 20rpx;
padding: 0 20rpx;
width: 100%;
white-space: nowrap;
}
.phone-box .icon {
width: 30rpx;
height: 30rpx;
vertical-align: top;
}
.wechate-box .icon {
width: 35rpx;
height: 30rpx;
vertical-align: top;
}
.email-box .icon {
width: 30rpx;
height: 30rpx;
vertical-align: top;
}
.bottom-btn-box {
display: inline-block;
min-width: 32%;
line-height: 30rpx;
padding: 20rpx;
box-sizing: border-box;
border: 1px solid #DDD;
border-radius: 10rpx;
margin-right: 10rpx;
}
.bottom-text {
margin-top: 10rpx;
}
.top-box {
padding-bottom: 20rpx;
background-color: #F7F7F7;
}
.good {
display: flex;
justify-content: space-between;
padding-left: 20rpx;
padding-bottom: 20rpx;
background-color: #fff;
}
.good-avatar,
.good-click {
line-height: 45rpx;
color: #333;
}
.good-click {
display: flex;
}
.view-count {
margin-right: 30rpx;
padding-right: 30rpx;
border-right: 1px solid #808080;
color: #808080;
display: flex;
flex-direction: row;
font-size: 36rpx;
}
.view-count-no {
margin-right: 30rpx;
padding-right: 30rpx;
color: #808080;
display: flex;
flex-direction: row;
align-items: center;
font-size: 36rpx;
}
.good-avatar image {
width: 100%;
height: 100%;
}
.good-click image {
width: 38rpx;
height: 38rpx;
}
.view-count image {
width: 32rpx;
height: 32rpx;
}
.view-count-no image {
width: 32rpx;
height: 32rpx;
}
.avatar-list {
width: 45rpx;
height: 45rpx;
margin-right: 10rpx;
vertical-align: top;
display: inline-block;
}
.mid {
display: flex;
background: #0054bd;
border-top-left-radius: 60rpx;
border-top-right-radius: 60rpx;
padding: 40rpx 0 80rpx;
margin-top: -20rpx;
position: relative;
}
.mid-box {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-right: 1px solid #2f82ea;
background: none;
font-weight: normal;
width: auto !important;
padding: 0 !important;
}
.mid-box:last-child {
border: none;
}
.mid-box image {
width: 60rpx;
height: 60rpx;
margin-bottom: 20rpx;
}
.mid-box-text {
font-size: 30rpx;
color: #fff;
}
.mid-btn {
position: relative;
margin-top: -60rpx;
display: flex;
padding: 30rpx;
background: #fff;
border-top-left-radius: 60rpx;
border-top-right-radius: 60rpx;
flex-wrap: wrap;
justify-content: space-between;
}
.mid-btn-box {
flex-shrink: 0;
width: 49%;
margin-bottom: 20rpx;
padding: 15rpx;
border-radius: 20rpx;
background: #eee;
display: flex;
justify-content: space-between;
box-sizing: border-box;
}
.mid-btn-box:nth-child(3),
.mid-btn-box:nth-child(4) {
margin-bottom: 0;
}
.mid-btn-box image {
width: 80rpx;
height: 80rpx;
}
.mid-btn-text {
width: 200rpx;
}
.text-top {
line-height: 45rpx;
font-size: 30rpx;
color: #000;
}
.text-bottom {
font-size: 26rpx;
color: #898989;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bar-code {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 999;
}
.bar-code .content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 96%;
background: #fff;
/* width: 500rpx;
height: 500rpx; */
border-radius: 10rpx;
padding: 20rpx;
min-width: 80%;
min-height: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.code-title {
font-size: 32rpx;
font-weight: bold;
color: #000;
}
.code-txt {
font-size: 32rpx;
color: #000;
}
.bar-code image {
width: 300rpx;
height: 300rpx;
}