From 1fa59939a8a1a8907d40a3fca7dfc17f60584871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E7=BA=A2=E6=A2=85?= <1924913374@qq.com> Date: Tue, 13 Sep 2022 17:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E8=9E=8D=E5=85=A5?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E7=99=BD=E5=90=8D=E5=8D=95=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exchangepage/edittemplate/detailstemplate.js | 2 +- src/pages/exchangepage/edittemplate/main.js | 14 ++++++++------ src/pages/exchangepage/edittemplate/reduce.js | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/pages/exchangepage/edittemplate/detailstemplate.js b/src/pages/exchangepage/edittemplate/detailstemplate.js index 620d556c..d6ceae6c 100644 --- a/src/pages/exchangepage/edittemplate/detailstemplate.js +++ b/src/pages/exchangepage/edittemplate/detailstemplate.js @@ -24,7 +24,7 @@ export default class edittemplate extends React.Component{ this.props.detaildata.describe.type==2?:null } { - this.props.templateType!=2?: + [1,3].includes(this.props.templateType)?:

¥0.00

diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js index 81dce7a8..38600118 100644 --- a/src/pages/exchangepage/edittemplate/main.js +++ b/src/pages/exchangepage/edittemplate/main.js @@ -841,6 +841,9 @@ export default class edittemplate extends React.Component { 优惠券 + + 优惠券白名单 +
{/* 兑换码 */} @@ -877,7 +880,7 @@ export default class edittemplate extends React.Component { ) : ( )} - {this.state.showType == 1 ? ( + {[1,4].includes(this.state.showType)? ( {/* 组件库 */} { - this.state.showType == 2 && this.state.activeNavStatus == 2 ? this.componentName(c)} /> : null + [2,4].includes(this.state.showType) && this.state.activeNavStatus == 2 ? this.componentName(c)} /> : null }
-
+
{this.state.activeNavStatus == 1 ? (
)} - {this.state.showType == 1 ? ( + {[1,4].includes(this.state.showType) ? ( - { - this.state.showType != 2 ? ( + {[1,3].includes(this.state.showType)? (
{this.state.activeNavStatus == 1 ? (

落地页设置

diff --git a/src/pages/exchangepage/edittemplate/reduce.js b/src/pages/exchangepage/edittemplate/reduce.js index f2700941..6f3a5240 100644 --- a/src/pages/exchangepage/edittemplate/reduce.js +++ b/src/pages/exchangepage/edittemplate/reduce.js @@ -18,7 +18,7 @@ export default class edittemplate extends React.Component{ { - this.props.templateType==2? + [2,4].includes(this.props.templateType)?

¥0.00