|
@@ -174,6 +174,19 @@
|
|
|
:maxFontsize="sdItem.maxFontsize"
|
|
|
:textIndent="sdItem.textindent"
|
|
|
/>
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ sddItem.img_list &&
|
|
|
+ sddItem.img_list.length > 0 &&
|
|
|
+ sddItem.img_list[0].id
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="sddItem.img_list[0].id"
|
|
|
+ class="sddItem_img_list"
|
|
|
+ :style="[imgStyle(sddItem)]"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
<!-- <div class="en" v-if="sdItem.en">{{ sdItem.en }}</div> -->
|
|
|
<div
|
|
|
class="promax-box-div"
|
|
@@ -533,6 +546,19 @@
|
|
|
:maxFontsize="sdItem.maxFontsize"
|
|
|
:textIndent="sdItem.textindent"
|
|
|
/>
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ sddItem.img_list &&
|
|
|
+ sddItem.img_list.length > 0 &&
|
|
|
+ sddItem.img_list[0].id
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="sddItem.img_list[0].id"
|
|
|
+ class="sddItem_img_list"
|
|
|
+ :style="[imgStyle(sddItem)]"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
<div
|
|
|
class="promax-box-div"
|
|
|
v-if="
|
|
@@ -622,6 +648,19 @@
|
|
|
:maxFontsize="sdItem.maxFontsize"
|
|
|
:textIndent="sdItem.textindent"
|
|
|
/>
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ sddItem.img_list &&
|
|
|
+ sddItem.img_list.length > 0 &&
|
|
|
+ sddItem.img_list[0].id
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="sddItem.img_list[0].id"
|
|
|
+ class="sddItem_img_list"
|
|
|
+ :style="[imgStyle(sddItem)]"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
<div
|
|
|
class="promax-box-div"
|
|
|
v-if="
|
|
@@ -936,6 +975,20 @@ export default {
|
|
|
}
|
|
|
return className;
|
|
|
},
|
|
|
+ imgStyle() {
|
|
|
+ return function (config) {
|
|
|
+ let _this = this;
|
|
|
+ let styleConfig = null;
|
|
|
+ if(config.config&&config.config.fontSize){
|
|
|
+ let sizeVal = config.config.fontSize.replace("px", "");
|
|
|
+ styleConfig = {
|
|
|
+ height: Number(sizeVal)*1.5 + "px",
|
|
|
+ width: Number(sizeVal)*1.5 + "px",
|
|
|
+ };
|
|
|
+ }
|
|
|
+ return styleConfig;
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
watch: {},
|
|
|
//方法集合
|
|
@@ -1483,6 +1536,7 @@ export default {
|
|
|
padding: 4px 0;
|
|
|
}
|
|
|
.sent-que {
|
|
|
+ font-size: 0;
|
|
|
&-flex {
|
|
|
flex: 1;
|
|
|
display: flex;
|