修复编辑器立减金模板样式错乱

This commit is contained in:
许红梅 2022-09-13 16:26:08 +08:00
parent 1f011a2085
commit ae7369180c
2 changed files with 7 additions and 5 deletions

View File

@ -157,7 +157,9 @@ export default class edittemplate extends React.Component {
{ {
goodsConfig.list == 2 ? <button className={goodsConfig.describe.type == 1 && goodsConfig.describe.bg_image || goodsConfig.describe.type == 3 ? "exchageBtn bottomBtn" : "exchageBtn"} style={{ color: goodsConfig.font_color, background: goodsConfig.button_color }}>立即兑换</button> : null goodsConfig.list == 2 ? <button className={goodsConfig.describe.type == 1 && goodsConfig.describe.bg_image || goodsConfig.describe.type == 3 ? "exchageBtn bottomBtn" : "exchageBtn"} style={{ color: goodsConfig.font_color, background: goodsConfig.button_color }}>
{goodsConfig.search?'立即购买':'立即兑换'}
</button> : null
} }

View File

@ -536,7 +536,7 @@
border: 1px solid #F2F2F2; border: 1px solid #F2F2F2;
} }
img { #top {
width: 100%; width: 100%;
} }
@ -579,9 +579,9 @@
.editor-main { .editor-main {
top: 0; top: 0;
img { // img {
width: auto !important; // width: auto !important;
} // }
} }
} }