You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.3 KiB
91 lines
1.3 KiB
/*卡片视图 */
|
|
.uni-card {
|
|
background: $white;
|
|
border-radius: 8upx;
|
|
margin: 20upx 0;
|
|
position: relative;
|
|
/* box-shadow: 0 2upx 4upx rgba(0, 0, 0, .3); */
|
|
}
|
|
|
|
.uni-card-content {
|
|
font-size: 30upx;
|
|
}
|
|
|
|
.uni-card-content.image-view {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.uni-card-content-inner {
|
|
position: relative;
|
|
padding: 30upx;
|
|
}
|
|
|
|
.uni-card-footer,
|
|
.uni-card-header {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: 50upx;
|
|
padding: 20upx 30upx;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.uni-card-header {
|
|
font-size: 36upx;
|
|
}
|
|
|
|
.uni-card-footer {
|
|
color: $darkGray;
|
|
}
|
|
|
|
.uni-card-footer:before,
|
|
.uni-card-header:after {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 2upx;
|
|
content: '';
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
background-color: $greyLight;
|
|
}
|
|
|
|
.uni-card-header:after {
|
|
top: auto;
|
|
bottom: 0;
|
|
}
|
|
|
|
.uni-card-media {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.uni-card-media-logo {
|
|
height: 84upx;
|
|
width: 84upx;
|
|
margin-right: 20upx;
|
|
}
|
|
|
|
.uni-card-media-body {
|
|
height: 84upx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.uni-card-media-text-top {
|
|
line-height: 36upx;
|
|
font-size: 34upx;
|
|
}
|
|
|
|
.uni-card-media-text-bottom {
|
|
line-height: 30upx;
|
|
font-size: 28upx;
|
|
color: $grey;
|
|
}
|
|
|
|
.uni-card-link {
|
|
color: $blue;
|
|
}
|
|
|