city_card/pages/index/index.wxss
2023-07-15 14:25:28 +08:00

312 lines
4.5 KiB
Plaintext

.community {
background-color: #ff4949;
border-bottom-left-radius: 80rpx;
border-bottom-right-radius: 80rpx;
color: #fff;
display: flex;
font-size: 32rpx;
justify-content: space-between;
padding: 20rpx 20rpx 150rpx;
}
.change-community {
font-size: 40rpx;
}
.change-community image {
margin-top: -10rpx;
vertical-align: middle;
}
.change-community image,.join-community image {
height: 28rpx;
width: 28rpx;
}
.card-container {
margin-top: -140rpx;
padding: 20rpx;
position: relative;
}
.card {
background-color: #fff;
border-radius: 10rpx;
box-sizing: border-box;
height: 0;
margin-bottom: 20rpx;
overflow: hidden;
padding-bottom: 56%;
}
.card,.mid {
position: relative;
width: 100%;
}
.mid,.mid-box {
display: flex;
}
.mid-box {
align-items: left;
background-color: #fff;
border: 2rpx solid #eac390;
border-radius: 10rpx;
flex-direction: column;
flex-shrink: 0;
font-weight: 400;
justify-content: left;
margin-right: 2%!important;
padding: 10rpx;
width: 32%!important;
}
.mid-box:last-child {
margin-right: 0;
}
.mid-box text {
color: #ccc;
font-size: 15px;
height: 16px;
line-height: 16px;
text-align: center;
}
.mid-box image {
height: 48rpx;
width: 48rpx;
}
.mid-box-text {
font-size: 28rpx;
text-align: left;
}
.good {
justify-content: space-between;
padding-bottom: 20rpx;
padding-left: 20rpx;
padding-top: 20rpx;
width: 100%;
}
.good,.good-click {
display: flex;
}
.good-avatar {
font-size: 0;
}
.good-avatar,.good-click {
color: #333;
line-height: 45rpx;
}
.view-count {
border-right: 1px solid grey;
margin-right: 30rpx;
}
.view-count,.view-count-no {
color: grey;
display: flex;
flex-direction: row;
font-size: 36rpx;
padding-right: 30rpx;
}
.view-count-no {
align-items: center;
}
.view-count image,.view-count-no image {
height: 32rpx;
width: 32rpx;
}
.tab {
background-color: #fff;
display: flex;
justify-content: space-between;
padding: 30rpx 0;
}
.tab-box {
flex: 1;
text-align: center;
}
.tab-box image {
height: 80rpx;
width: 80rpx;
}
.tab-text {
font-size: 30rpx;
overflow: hidden;
padding: 0 10rpx;
text-overflow: ellipsis;
white-space: nowrap;
}
.notice {
background-color: #fff;
margin-top: 15rpx;
padding: 20rpx;
}
.notice-title {
font-size: 36rpx;
font-weight: 700;
margin-bottom: 20rpx;
}
.notice-box,.notice-title {
display: flex;
justify-content: space-between;
}
.notice-box {
border-bottom: 1px solid #f9fafc;
padding: 20rpx 0;
}
.notice-box:last-child {
border-bottom: none;
}
.title-text {
line-height: 50rpx;
padding-left: 20rpx;
position: relative;
}
.title-text:after {
background-color: #f55054;
content: "";
display: block;
height: 39rpx;
left: 0;
position: absolute;
top: 7rpx;
width: 5px;
}
.notice-title-text {
font-size: 34rpx;
}
.notice-more {
color: #bbb;
font-size: 28rpx;
font-weight: 400;
line-height: 50rpx;
}
.notice-time {
color: hsla(0,0%,6%,.7);
font-size: 28rpx;
line-height: 45rpx;
margin: 6rpx 0;
}
.notice-img {
height: 140rpx;
text-align: center;
width: 200rpx;
}
.notice-img image {
height: 100%;
}
.notice-info {
width: 490rpx;
}
.card-area {
position: absolute;
}
.photo {
bottom: 0;
left: 10px;
top: 0;
width: 300rpx;
}
.photo image {
height: 100%;
max-width: 100%;
}
.name {
font-size: 36rpx;
font-weight: 700;
left: 340rpx;
top: 40rpx;
}
.phone {
bottom: 160rpx;
color: #a8a8a8;
font-size: 28rpx;
left: 340rpx;
line-height: 30rpx;
}
.phone image {
height: 30rpx;
margin-top: -8rpx;
vertical-align: middle;
width: 30rpx;
}
.position {
bottom: 120rpx;
}
.qr-code {
bottom: 30rpx;
height: 60rpx;
position: absolute;
right: 24rpx;
width: 60rpx;
}
.qr-code image {
height: 100%;
width: 100%;
}
.notice-from {
display: flex;
font-size: 28rpx;
justify-content: space-between;
}
.notice-more image {
height: 24rpx;
margin-top: 14rpx;
vertical-align: top;
}
.card-img {
position: absolute;
}
.card-img,.card-img image {
height: 100%;
width: 100%;
}
.white-name {
color: #fff;
font-size: 34rpx;
font-weight: 400;
left: 10rpx;
top: 26rpx;
}