diff --git a/src/pages/exchangecode/exchangecodeAdd/index.jsx b/src/pages/exchangecode/exchangecodeAdd/index.jsx index fafa54d0..a55399a8 100644 --- a/src/pages/exchangecode/exchangecodeAdd/index.jsx +++ b/src/pages/exchangecode/exchangecodeAdd/index.jsx @@ -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 = "立减金" diff --git a/src/pages/exchangepage/edittemplate/goodstemplate.js b/src/pages/exchangepage/edittemplate/goodstemplate.js index 859f9034..bcf7ea72 100644 --- a/src/pages/exchangepage/edittemplate/goodstemplate.js +++ b/src/pages/exchangepage/edittemplate/goodstemplate.js @@ -94,7 +94,7 @@ export default class edittemplate extends React.Component { } { goodsConfig.list == 2 ? : null } { diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js index 2ace4094..7ef1480a 100644 --- a/src/pages/exchangepage/edittemplate/main.js +++ b/src/pages/exchangepage/edittemplate/main.js @@ -756,7 +756,7 @@ export default class edittemplate extends React.Component { id='top' />
- +
请输入{[1, 8].includes(this.state.showType)?'手机号':'兑换码'}
请输入验证码
@@ -875,7 +875,7 @@ export default class edittemplate extends React.Component {
请输入{[1, 8].includes(this.state.showType)?'手机号':'兑换码'}
diff --git a/src/pages/exchangepage/edittemplate/main.less b/src/pages/exchangepage/edittemplate/main.less index d7f66be2..da7afc04 100644 --- a/src/pages/exchangepage/edittemplate/main.less +++ b/src/pages/exchangepage/edittemplate/main.less @@ -459,7 +459,7 @@ width: 83px !important; height: 43px; position: absolute; - right: 20px; + right: 28px; top: 80px; border-radius: 22px; } diff --git a/src/pages/exchangepage/template/preview.js b/src/pages/exchangepage/template/preview.js index 6b5af0b0..55d4d6aa 100644 --- a/src/pages/exchangepage/template/preview.js +++ b/src/pages/exchangepage/template/preview.js @@ -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 ? '购买' : '立即兑换'} ) : null} {propsData.product_list.describe.type == 1 ? (