我的券
-
显示
+
{this.state.navlist[2].iswitch?'显示':'隐藏'}
this.handleChangeStatus(2,checked)}
@@ -356,7 +353,7 @@ export default class edittemplate extends React.Component {
this.setState({ navlist:model2})
Bus.emit('navlist', model2)
}}
- value={this.state.navlist[2].text} placeholder={"请输入"} labelWidth={'0px'} maxLength={4} height={'36px'} width={'300px'} alignment={'left'} />
+ value={this.state.navlist[2].text} placeholder={"我的券"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'300px'} alignment={'left'} />
diff --git a/src/pages/exchangepage/edittemplate/goodstemplate.js b/src/pages/exchangepage/edittemplate/goodstemplate.js
index a7bdd09e..3bb453fe 100644
--- a/src/pages/exchangepage/edittemplate/goodstemplate.js
+++ b/src/pages/exchangepage/edittemplate/goodstemplate.js
@@ -12,7 +12,7 @@ export default class edittemplate extends React.Component {
this.state = {
clientY: 0,
selectDom: '',
- icon: ''
+ icon: '',
}
}
opendescFn() {
@@ -49,6 +49,7 @@ export default class edittemplate extends React.Component {
render() {
let goodsConfig = this.props.goodsdata;
let {backgroundImg,search,picture,title,bottomBar}=goodsConfig;
+ let naVisual=bottomBar.navlist.filter(item=>item.iswitch);
return (
{
@@ -87,7 +88,7 @@ export default class edittemplate extends React.Component {
goodsConfig.describe.type == 2 ?
: null
}
{
- bottomBar && bottomBar.iswitch ?
this.customComponent(e, 'bottomBar', 'marketing-list')} className={this.state.selectDom == 'bottomBar' ? 'selectBottomBorder' : ''}>
: null
+ bottomBar && bottomBar.iswitch&&naVisual.length>1 ?
this.customComponent(e, 'bottomBar', 'marketing-list')} className={this.state.selectDom == 'bottomBar' ? 'selectBottomBorder' : ''}>
: null
}
{