From cbfb32a6eb98c80da7ef2962437e58b9b0714bfa Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 21 Sep 2022 09:59:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8-=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8/=E4=BC=98=E6=83=A0=E5=88=B8=E7=99=BD=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E9=9D=99=E9=BB=98=E8=AE=BE=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../goodsPage/config/searchBar.js | 8 ++-- .../couponTemplate/goodsPage/config/title.js | 2 +- .../couponTemplate/landingPage/config/main.js | 42 +++++++++++-------- .../exchangepage/edittemplate/landingPage.js | 2 +- src/pages/exchangepage/edittemplate/main.js | 11 +++-- src/pages/exchangepage/edittemplate/main.less | 1 - .../exchangepage/edittemplate/whiteLand.js | 4 +- 7 files changed, 38 insertions(+), 32 deletions(-) diff --git a/src/pages/exchangepage/couponTemplate/goodsPage/config/searchBar.js b/src/pages/exchangepage/couponTemplate/goodsPage/config/searchBar.js index c14d6071..79c24042 100644 --- a/src/pages/exchangepage/couponTemplate/goodsPage/config/searchBar.js +++ b/src/pages/exchangepage/couponTemplate/goodsPage/config/searchBar.js @@ -13,10 +13,10 @@ export default class Searchbar extends React.Component { iswitch:true, shape: 'circular', textAlign: 'center', - borderColor: '#333', - bgColor:'#a00', - fontColor:'#f3f4f5', - placeholder: '请输入关键字搜索' + borderColor: '#FFFAF5', + bgColor:'#FFD8BB', + fontColor:'#ADADAD', + placeholder: '请输入商品名称' } } componentWillMount(e) { diff --git a/src/pages/exchangepage/couponTemplate/goodsPage/config/title.js b/src/pages/exchangepage/couponTemplate/goodsPage/config/title.js index 426ec9af..d9eab6cc 100644 --- a/src/pages/exchangepage/couponTemplate/goodsPage/config/title.js +++ b/src/pages/exchangepage/couponTemplate/goodsPage/config/title.js @@ -12,7 +12,7 @@ export default class Title extends React.Component { super(props) this.state = { switch:true, - text: '商品标题', + text: '商品列表', textAlign: 'left', fontColor: '#333', fontSize: 1, diff --git a/src/pages/exchangepage/couponTemplate/landingPage/config/main.js b/src/pages/exchangepage/couponTemplate/landingPage/config/main.js index 9dbafb3a..a3a37208 100644 --- a/src/pages/exchangepage/couponTemplate/landingPage/config/main.js +++ b/src/pages/exchangepage/couponTemplate/landingPage/config/main.js @@ -19,12 +19,14 @@ export default class couponLandpage extends React.Component { bg_color: "#EEEEEE", font_color: "#000000", }, + mouldType:'' } } componentWillMount(_e) { let config = JSON.parse(sessionStorage.getItem('editorConfig')); + let mouldType=sessionStorage.getItem('mouldType'); let data = config.coupon.land; - this.setState({ model: data }); + this.setState({ model: data ,mouldType}); } handleChange = (color) => { let model1 = this.state.model; @@ -200,6 +202,7 @@ export default class couponLandpage extends React.Component { render() { + console.log(203,this.props); return (