提交 232129ad 编写于 作者: KK's avatar KK

修复卡片视图打包后切换模式 出现的样式bug

上级 968f3435
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<ion-col :size="size" v-for="(item,index) in items" :key="index"> <ion-col :size="size" v-for="(item,index) in items" :key="index">
<ion-card :class="[size == '12'? 'ios hydrated ibz-card-12':' ios hydrated ibz-card-6']"> <ion-card :class="[size == '12'? 'ios hydrated ibz-card-12':' ios hydrated ibz-card-6']">
<div :class="{'line':size == '12'}"> <div :class="{'line':size == '12'}">
<img :style="{width :size == '6' ?'':'30%'}" src="assets/images/card.jpg" /> <img class="cardimg" :style="{width :size == '6' ?'':'30%'}" src="assets/images/card.jpg" />
<div :style="{width :size == '6' ?'':'70%'}"> <div :style="{width :size == '6' ?'':'70%'}">
<ion-card-header class="ibz-header"> <ion-card-header class="ibz-header">
<ion-card-title class="ibz-title">{{item.<#if appde.getMajorPSAppDEField()??>${appde.getMajorPSAppDEField().getCodeName()?lower_case}<#else>srfmajortext</#if>}}</ion-card-title> <ion-card-title class="ibz-title">{{item.<#if appde.getMajorPSAppDEField()??>${appde.getMajorPSAppDEField().getCodeName()?lower_case}<#else>srfmajortext</#if>}}</ion-card-title>
......
...@@ -37,4 +37,7 @@ ...@@ -37,4 +37,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.cardimg{
height: auto;
}
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册