city_card/pages/card/cardDetail.wxss

142 lines
2.0 KiB
Plaintext
Raw Normal View History

2023-07-15 14:25:28 +08:00
.container {
margin-bottom: 120rpx;
}
.card {
background-color: #fff;
height: 0;
padding-bottom: 56%;
position: relative;
width: 100%;
}
.photo {
bottom: 0;
left: 20rpx;
position: absolute;
top: 0;
}
.photo image {
height: 100%;
}
.name {
font-size: 36rpx;
font-weight: 700;
top: 40rpx;
}
.desc,.name {
left: 340rpx;
position: absolute;
}
.desc {
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
display: -webkit-box;
font-size: 30rpx;
overflow: hidden;
top: 125rpx;
}
.phone {
bottom: 60rpx;
color: #a8a8a8;
font-size: 28rpx;
left: 340rpx;
line-height: 30rpx;
position: absolute;
}
.phone image {
height: 30rpx;
margin-top: -8rpx;
vertical-align: middle;
width: 30rpx;
}
.position {
bottom: 20rpx;
}
.qr-code {
bottom: 30rpx;
height: 60rpx;
position: absolute;
right: 24rpx;
width: 60rpx;
}
.qr-code image {
height: 100%;
width: 100%;
}
.edite-card {
background-color: #fff;
margin-top: 20rpx;
padding: 20rpx;
}
.title {
font-size: 32rpx;
margin-bottom: 15rpx;
}
.card-row {
border-top: 1px solid #ddd;
display: flex;
justify-content: space-between;
padding: 15rpx 0;
}
.row-name {
font-size: 32rpx;
width: 30%;
}
.row-content {
text-align: right;
width: 70%;
}
.row-content input {
font-size: 32rpx;
width: 100%;
}
.add-photo {
border: 1px solid #a1a1a1;
border-radius: 10rpx;
display: inline-block;
font-size: 60rpx;
font-weight: 400;
height: 100rpx;
line-height: 100rpx;
text-align: center;
width: 100rpx;
}
.create-card {
background-color: #fff;
bottom: 0;
left: 0;
padding: 20rpx;
position: fixed;
right: 0;
}
.create-btn {
background-color: #ff4949;
border-radius: 40rpx;
color: #fff;
font-size: 32rpx;
line-height: 60rpx;
text-align: center;
}
.photo-img,.qrCode-img {
width: 200rpx;
}