story#5314 图片变形
This commit is contained in:
@ -399,4 +399,8 @@ export default {
|
|||||||
::v-deep .el-carousel__indicators--horizontal {
|
::v-deep .el-carousel__indicators--horizontal {
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-image__inner {
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -329,6 +329,8 @@ export default {
|
|||||||
height: 77px;
|
height: 77px;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: center;
|
||||||
}
|
}
|
||||||
.smallImg{
|
.smallImg{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Reference in New Issue
Block a user