style:调整编辑器商品列表页面背景颜色

This commit is contained in:
Apple 2022-10-18 11:57:39 +08:00
parent 3698ffab6f
commit 400a3aba6d
2 changed files with 1 additions and 5 deletions

View File

@ -68,7 +68,7 @@ export default class edittemplate extends React.Component {
<div onClick={e => this.customComponent(e, 'search', 'marketing-sousuolan-', '搜索栏')} className={this.state.selectDom == 'search' ? 'selectBorder' : ''} ref="search">
<SearchBarView searchConfig={goodsConfig.search} /></div> : null
}
<div className="goodstemplate" style={{ background: goodsConfig.backgroundImg && goodsConfig.backgroundImg.bgImg ? `url('${goodsConfig.backgroundImg.bgImg}') center center /cover` : goodsConfig.backgroundImg && goodsConfig.backgroundImg.bgColor ? goodsConfig.backgroundImg.bgColor : '#F2F7F8', height: this.setHeight() }}>
<div className="goodstemplate" style={{ background: goodsConfig.backgroundImg && goodsConfig.backgroundImg.bgImg ? `url('${goodsConfig.backgroundImg.bgImg}') center center /cover` : goodsConfig.backgroundImg && goodsConfig.backgroundImg.bgColor ? goodsConfig.backgroundImg.bgColor : '#f9f9f9', height: this.setHeight() }}>
<img src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png'} className="preBtn" style={{display:goodsConfig.search && goodsConfig.search.iswitch == 1?'none':'block'}}/>
{
!goodsConfig.top_image ? <img className="topbanner" src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/goodstop.png'} /> : <img className="topbanner" src={goodsConfig.top_image} />

View File

@ -4,7 +4,6 @@
position: relative;
overflow-y: auto;
overflow-x: hidden;
>.preBtn {
position: absolute;
width: 28px;
@ -135,10 +134,7 @@
}
//商品详情页css
.detailstemplate {
position: relative;
background: #fff;
overflow-y: auto;
overflow-x: hidden;
.detail_bottomImg {
width: 100%;
}