Explorar o código

修改图片显示格式

wyling %!s(int64=4) %!d(string=hai) anos
pai
achega
f1fdc62f91
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/carousel/carousel/index.vue

+ 2 - 0
src/views/carousel/carousel/index.vue

@@ -338,5 +338,7 @@ export default {
 <style lang="scss" scoped>
 .banner {
   width: 100%;
+  height: 100px;
+  object-fit: contain;
 }
 </style>