fix:修复模板预览详情页,缺少默认商品图

This commit is contained in:
Apple 2022-10-17 17:51:05 +08:00
parent 921cc96581
commit aa9ed7c934
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ export default class edittemplate extends React.Component{
<div className="detailstemplate_Xcenter" >
<div className="detailstemplate" style={{paddingBottom:'80px',boxSizing:'border-box'}}>
<img src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png'} className="preBtn"/>
<img className="topBanner" src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/detailtop.png'}/>
<img className="topBanner" src={this.props.topImgshow?this.props.topImgshow:'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/detailtop.png'}/>
<p className="splitLine"></p>
<img className="iptbg" src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/detailipt.png'}/>
<p className="splitLine"></p>

View File

@ -275,7 +275,7 @@ export default class preview extends React.Component {
backPrepage={(c) => this.showactivedetail(c)}
goodsdata={propsData.product_detail}
/>
) : (<DetailView detaildata={propsData.product_detail} templateType={this.props.pageType}/>)
) : (<DetailView detaildata={propsData.product_detail} templateType={this.props.pageType} topImgshow={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/goodsbigPic.png'}/>)
) : null}
{this.props.step == 4 ? (
<Couponreduce templateType={this.props.pageType} detaildata={propsData.product_detail}/>