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 (