This commit is contained in:
zhangds 2022-09-08 16:42:48 +08:00
commit 1d7973c384
5 changed files with 58 additions and 9 deletions

View File

@ -47,8 +47,8 @@ export default class edittemplate extends React.Component {
text:'我的券' text:'我的券'
} }
], ],
defaultText:'', defaultText:'#ccc',
selectText:'', selectText:'#000',
background:'' background:''
} }
} }

View File

@ -101,7 +101,7 @@ export default class Searchbar extends React.Component {
this.setState({ placeholder: '' }) this.setState({ placeholder: '' })
Bus.emit('placeholder', '') Bus.emit('placeholder', '')
}} }}
value={placeholder} placeholder={"请输入"} labelWidth={'0px'} maxLength={10} height={'36px'} width={'300px'} alignment={'left'} /> value={placeholder} placeholder={"请输入"} labelWidth={'0px'} maxLength={9} height={'36px'} width={'300px'} alignment={'left'} />
</FormItem> </FormItem>
</Form> </Form>
</div> </div>

View File

@ -5,7 +5,38 @@ export default class bottomBar extends React.Component {
constructor(props) { constructor(props) {
super(props) super(props)
this.state={ this.state={
navList:[], navList:[
{
id:1,
iswitch:true,
name:'index',
pic:{
show:'',
selectShow:''
},
text:'首页'
},
{
id:2,
iswitch:true,
name:'order',
pic:{
show:'',
selectShow:''
},
text:'订单'
},
{
id:3,
iswitch:true,
name:'coupon',
pic:{
show:'',
selectShow:''
},
text:'我的券'
}
],
active:0 active:0
} }
} }
@ -13,7 +44,6 @@ export default class bottomBar extends React.Component {
let navList=nextProps.bottomBarConfig.navlist; let navList=nextProps.bottomBarConfig.navlist;
let naVisual=navList.filter(item=>item.iswitch); let naVisual=navList.filter(item=>item.iswitch);
this.setState({navList:naVisual}); this.setState({navList:naVisual});
console.log(66,nextProps);
} }
clickIcon(e,index){ clickIcon(e,index){
this.setState({active:index}); this.setState({active:index});

View File

@ -118,7 +118,7 @@
} }
.goodstemplate { .goodstemplate {
overflow-y: auto;
.selectBorder { .selectBorder {
z-index: 2; z-index: 2;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
@ -286,3 +286,22 @@
.picture { .picture {
width: 100%; width: 100%;
} }
.goodstemplate::-webkit-scrollbar {
width: 6px;
}
.goodstemplate::-webkit-scrollbar-track {
background-color:#F3F4F5;
border-radius: 4px;
}
.goodstemplate::-webkit-scrollbar-thumb {
background-color:#C1C1C1;
border-radius: 4px;
opacity: 0.7;
width: 6px;
height: 4px;
}

View File

@ -130,8 +130,8 @@ let couponProduct_list = {
text:'我的券' text:'我的券'
} }
], ],
defaultText:'', defaultText:'#ccc',
selectText:'', selectText:'#000',
background:'' background:''
} }
} }