Merge branch 'couponV2.0' of https://codeup.aliyun.com/5f9118049cffa29cfdd3be1c/marketing/frontend into couponV2.0
This commit is contained in:
commit
2a7c152a8b
|
@ -292,6 +292,7 @@ export default class exchangeAdd extends React.Component {
|
|||
delete item1.total_stock
|
||||
delete item1.use_stock
|
||||
delete item1.stock
|
||||
delete item1.goods_id
|
||||
}
|
||||
|
||||
/* 编辑 */
|
||||
|
@ -310,6 +311,7 @@ export default class exchangeAdd extends React.Component {
|
|||
if (item1?.goods_id) {
|
||||
obj.id = item1?.goods_id
|
||||
}
|
||||
|
||||
obj.product_id = item1?.goods_id
|
||||
obj.code_batch_id = item1?.code_batch_id
|
||||
obj.product_type_text = "立减金"
|
||||
|
|
|
@ -94,7 +94,7 @@ export default class edittemplate extends React.Component {
|
|||
}
|
||||
{
|
||||
goodsConfig.list == 2 ? <button className="exchageBtn" style={{ color: goodsConfig.font_color, background: goodsConfig.button_color }}>
|
||||
{goodsConfig.search ? '立即购买' : '立即兑换'}
|
||||
{goodsConfig.search ? '购买' : '立即兑换'}
|
||||
</button> : null
|
||||
}
|
||||
{
|
||||
|
|
|
@ -756,7 +756,7 @@ export default class edittemplate extends React.Component {
|
|||
id='top'
|
||||
/>
|
||||
<div className='hascode'>
|
||||
<img src={this.state.showType == 8 ? this.state.model.white_image ? this.state.model.white_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220105/5dd765e3b46042f7ecd8c576e6fa9568.png' : this.state.model.middle_image ? this.state.model.middle_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220105/5dd765e3b46042f7ecd8c576e6fa9568.png'} id='top' />
|
||||
<img src={this.state.showType == 8 ? this.state.model.white_image ? this.state.model.white_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20221107/2c407b6b702ed2217e22f8df8a7c87e6.png' : this.state.model.middle_image ? this.state.model.middle_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20221107/2c407b6b702ed2217e22f8df8a7c87e6.png'} id='top' />
|
||||
<div className='dflexajc thumbipt'>
|
||||
<div style={{color:this.state.model.font_color}}>请输入{[1, 8].includes(this.state.showType)?'手机号':'兑换码'}</div>
|
||||
<div className='ipt-code' style={{color:this.state.model.font_color}}>请输入验证码</div>
|
||||
|
@ -875,7 +875,7 @@ export default class edittemplate extends React.Component {
|
|||
<img
|
||||
crossOrigin='anonymous'
|
||||
id='center-img'
|
||||
src={this.state.showType == 8 ? this.state.model.white_image ? this.state.model.white_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220105/5dd765e3b46042f7ecd8c576e6fa9568.png' : this.state.model.middle_image ? this.state.model.middle_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220105/5dd765e3b46042f7ecd8c576e6fa9568.png'}
|
||||
src={this.state.showType == 8 ? this.state.model.white_image ? this.state.model.white_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20221107/2c407b6b702ed2217e22f8df8a7c87e6.png' : this.state.model.middle_image ? this.state.model.middle_image : 'https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20221107/2c407b6b702ed2217e22f8df8a7c87e6.png'}
|
||||
/>
|
||||
<div className='dflexajc ipt-user'>
|
||||
<div style={{color:this.state.model.font_color}}>请输入{[1, 8].includes(this.state.showType)?'手机号':'兑换码'}</div>
|
||||
|
|
|
@ -459,7 +459,7 @@
|
|||
width: 83px !important;
|
||||
height: 43px;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
right: 28px;
|
||||
top: 80px;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ export default class preview extends React.Component {
|
|||
top_image:
|
||||
"https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220105/59ba305520d3229e7fc53d5229bfec0c.png",
|
||||
middle_image:
|
||||
"https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220105/5dd765e3b46042f7ecd8c576e6fa9568.png",
|
||||
"https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20221107/2c407b6b702ed2217e22f8df8a7c87e6.png",
|
||||
};
|
||||
}
|
||||
showactiveIcon(c) {
|
||||
|
@ -230,7 +230,7 @@ export default class preview extends React.Component {
|
|||
background: propsData.product_list.button_color,
|
||||
}}
|
||||
>
|
||||
{goodsConfig.search ? '立即购买' : '立即兑换'}
|
||||
{goodsConfig.search ? '购买' : '立即兑换'}
|
||||
</button>
|
||||
) : null}
|
||||
{propsData.product_list.describe.type == 1 ? (
|
||||
|
|
Loading…
Reference in New Issue