|
@@ -119,9 +119,9 @@
|
|
<div :class="['img-item', index == temChecked ? 'current' : '']">
|
|
<div :class="['img-item', index == temChecked ? 'current' : '']">
|
|
<a-popover title="预览" trigger="click">
|
|
<a-popover title="预览" trigger="click">
|
|
<template #content>
|
|
<template #content>
|
|
- <img :src="item.link" />
|
|
|
|
|
|
+ <img :src="item.link"/>
|
|
</template>
|
|
</template>
|
|
- <img :src="item.link" @click="chooseImg(item, index)" />
|
|
|
|
|
|
+ <img :src="item.link" @click="chooseImg(item, index)" width="144"/>
|
|
</a-popover>
|
|
</a-popover>
|
|
</div>
|
|
</div>
|
|
</a-list-item>
|
|
</a-list-item>
|
|
@@ -280,7 +280,7 @@ const StepTwo = defineComponent({
|
|
const data = {
|
|
const data = {
|
|
head_img: state.chooseImgUrl,
|
|
head_img: state.chooseImgUrl,
|
|
body_template_id: state.templateItemChecked.id,
|
|
body_template_id: state.templateItemChecked.id,
|
|
- content: JSON.stringify(content).replace(/[\\]/g, ""),
|
|
|
|
|
|
+ content: JSON.stringify(content),
|
|
};
|
|
};
|
|
emit("next", data);
|
|
emit("next", data);
|
|
};
|
|
};
|
|
@@ -318,9 +318,7 @@ export default StepTwo;
|
|
border-radius: 6px;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
position: relative;
|
|
position: relative;
|
|
- image {
|
|
|
|
- width: 144px;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
&.current {
|
|
&.current {
|
|
border: 2px solid #006eff;
|
|
border: 2px solid #006eff;
|
|
&::after {
|
|
&::after {
|