编辑器融入优惠券白名单模板
This commit is contained in:
parent
ae7369180c
commit
1fa59939a8
|
@ -24,7 +24,7 @@ export default class edittemplate extends React.Component{
|
|||
this.props.detaildata.describe.type==2?<img className="susactive_tip" onClick={this.opendescFn.bind(this)} src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/acticeTextTip.png'}/>:null
|
||||
}
|
||||
{
|
||||
this.props.templateType!=2?<button className="exchangeBtn" style={{background:this.props.detaildata.button_color,color:this.props.detaildata.font_color}}>立即兑换</button>:
|
||||
[1,3].includes(this.props.templateType)?<button className="exchangeBtn" style={{background:this.props.detaildata.button_color,color:this.props.detaildata.font_color}}>立即兑换</button>:
|
||||
<div className="dflexaj payBtn-view">
|
||||
<div className="coupon-price">
|
||||
<p>¥0.00</p>
|
||||
|
|
|
@ -841,6 +841,9 @@ export default class edittemplate extends React.Component {
|
|||
<RadioButton value={2} disabled={this.state.pagedisable}>
|
||||
优惠券
|
||||
</RadioButton>
|
||||
<RadioButton value={4} disabled={this.state.pagedisable}>
|
||||
优惠券白名单
|
||||
</RadioButton>
|
||||
</RadioGroup>
|
||||
</div>
|
||||
{/* 兑换码 */}
|
||||
|
@ -877,7 +880,7 @@ export default class edittemplate extends React.Component {
|
|||
) : (
|
||||
<img src={this.state.model.middle_image} id='top' />
|
||||
)}
|
||||
{this.state.showType == 1 ? (
|
||||
{[1,4].includes(this.state.showType)? (
|
||||
<img
|
||||
src={
|
||||
'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220127/22e5d4c1b1190a0a7bc8db43e1490d67.png'
|
||||
|
@ -938,12 +941,12 @@ export default class edittemplate extends React.Component {
|
|||
</div>
|
||||
{/* 组件库 */}
|
||||
{
|
||||
this.state.showType == 2 && this.state.activeNavStatus == 2 ? <CouponComLib componentName={(c) => this.componentName(c)} /> : null
|
||||
[2,4].includes(this.state.showType) && this.state.activeNavStatus == 2 ? <CouponComLib componentName={(c) => this.componentName(c)} /> : null
|
||||
}
|
||||
</div>
|
||||
|
||||
<div className='xj-wrapper' style={{ 'zIndex': '1' }}>
|
||||
<div className={this.state.showType == 2 && this.state.activeNavStatus == 2 ? 'xj-center-small' : 'xj-center'}>
|
||||
<div className={[2,4].includes(this.state.showType)&& this.state.activeNavStatus == 2 ? 'xj-center-small' : 'xj-center'}>
|
||||
{this.state.activeNavStatus == 1 ? (
|
||||
<div>
|
||||
<img
|
||||
|
@ -1047,7 +1050,7 @@ export default class edittemplate extends React.Component {
|
|||
src={this.state.model.middle_image}
|
||||
/>
|
||||
)}
|
||||
{this.state.showType == 1 ? (
|
||||
{[1,4].includes(this.state.showType) ? (
|
||||
<img
|
||||
src={
|
||||
'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220127/22e5d4c1b1190a0a7bc8db43e1490d67.png'
|
||||
|
@ -1155,8 +1158,7 @@ export default class edittemplate extends React.Component {
|
|||
<div
|
||||
className='schema-editor-container'
|
||||
data-editor-role='XJWebsitePage'>
|
||||
{
|
||||
this.state.showType != 2 ? (
|
||||
{[1,3].includes(this.state.showType)? (
|
||||
<div className='control page-title-control'>
|
||||
{this.state.activeNavStatus == 1 ? (
|
||||
<h1 style={{ fontSize: '16px' }}>落地页设置</h1>
|
||||
|
|
|
@ -18,7 +18,7 @@ export default class edittemplate extends React.Component{
|
|||
<img src={'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png'} className="preBtn"/>
|
||||
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/coupon/reduce_pic.png" alt="" className="reduce-pic"/>
|
||||
{
|
||||
this.props.templateType==2?
|
||||
[2,4].includes(this.props.templateType)?
|
||||
<div className="dflexaj payBtn-view">
|
||||
<div className="coupon-price">
|
||||
<p>¥0.00</p>
|
||||
|
|
Loading…
Reference in New Issue