diff --git a/src/pages/exchangepage/edittemplate/detailsPage.js b/src/pages/exchangepage/edittemplate/detailsPage.js
index 86f79603..788d546d 100644
--- a/src/pages/exchangepage/edittemplate/detailsPage.js
+++ b/src/pages/exchangepage/edittemplate/detailsPage.js
@@ -13,7 +13,7 @@ export default class edittemplate extends React.Component{
super(props)
this.state={
model:{
- images:['https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220104/1a07d79a196132fe2fc5a5400c79d23c.png','https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220104/7cf0833811a67b38bd03df45a33afa27.png'],
+ images:[],
button_color:'',
bg_color:''
}
diff --git a/src/pages/exchangepage/edittemplate/goodsPage.js b/src/pages/exchangepage/edittemplate/goodsPage.js
index 207c77e8..628738fc 100644
--- a/src/pages/exchangepage/edittemplate/goodsPage.js
+++ b/src/pages/exchangepage/edittemplate/goodsPage.js
@@ -21,7 +21,7 @@ export default class edittemplate extends React.Component{
showType:1,//兑换码/白名单/立减金
model:{
id:"",
- images:['https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220104/1a07d79a196132fe2fc5a5400c79d23c.png','https://lsxd-yunshanfu.oss-cn-hangzhou.aliyuncs.com/common_image/20220104/7cf0833811a67b38bd03df45a33afa27.png'],
+ images:[],
thumb:null,
title:"落地页标题",
client:1,
diff --git a/src/pages/exchangepage/edittemplate/landingPage.js b/src/pages/exchangepage/edittemplate/landingPage.js
index 24a23750..b274350f 100644
--- a/src/pages/exchangepage/edittemplate/landingPage.js
+++ b/src/pages/exchangepage/edittemplate/landingPage.js
@@ -263,21 +263,40 @@ export default class edittemplate extends React.Component{
富文本
-
- {this.onUploadChange2(e)} }
- onUpload={this.onUpload}
- onError={this.onUploadError}
- defaultFileList={this.state.model.images[2] ? [{'src':this.state.model.images[2]}] : null}
- />
-
-
+ {
+ this.state.model.activityType==1?
+ {this.onUploadChange2(e)} }
+ onUpload={this.onUpload}
+ onError={this.onUploadError}
+ defaultFileList={this.state.model.images[2] ? [{'src':this.state.model.images[2]}] : null}
+ />
+
+ :null
+ }
+ {
+ this.state.model.activityType==2?
+ {this.onUploadChange2(e)} }
+ onUpload={this.onUpload}
+ onError={this.onUploadError}
+ defaultFileList={this.state.model.images[2] ? [{'src':this.state.model.images[2]}] : null}
+ />
+
+ :null
+ }
{
this.state.isSystemModel ? (
diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js
index 8363f544..8785b669 100644
--- a/src/pages/exchangepage/edittemplate/main.js
+++ b/src/pages/exchangepage/edittemplate/main.js
@@ -689,7 +689,7 @@ this.state.goodsConfigure.list==1?
{
this.state.activeNavStatus==1 ?
- ( 落地页设置
) : this.state.activeNavStatus==2 ? ( 商品列表页设置
):( 商品详情页设置
)
+ ( 落地页设置
) : this.state.activeNavStatus==2 ? ( 商品列表页设置
):( 商品详情页设置
)
}