Commit 28a772b8 by 岑成威

fix: 长图比例修改

1 parent ec8c74ec
......@@ -26,6 +26,7 @@
<image
:key="viewKey"
class="content"
:mode="isLongImage ? 'widthFix' : undefined"
:src="views[customerInfo.carModelId] || require('@/assets/images/media/nothing.webp')"
/>
</template>
......@@ -34,6 +35,7 @@
<image
v-if="views.detailUrl"
class="content"
:mode="isLongImage ? 'widthFix' : undefined"
:src="views.detailUrl"
/>
<!-- <image
......@@ -59,7 +61,8 @@ export default {
madiaId: Number,
isByd: Boolean,
show: Boolean,
hasCarBrand: Boolean
hasCarBrand: Boolean,
isLongImage: Boolean
},
components: {
PageTitle
......@@ -90,6 +93,7 @@ export default {
.layout {
width: 100%;
height: 100%;
overflow: hidden;
&-content {
height: 100%;
position: relative;
......
......@@ -62,6 +62,7 @@
:isPreview="isPreview"
:isByd="isByd"
:hasCarBrand="item.hasCarBrand"
:isLongImage="isLongImageItem(item)"
:aitoCarModelIds="aitoCarModelIds"
@brandPopupChange="brandPopupVisible = $event"
/>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!