商品列表页配置预览优化完毕

This commit is contained in:
许红梅 2022-09-09 18:05:30 +08:00
parent 1451ca3e47
commit 6c764cb521
3 changed files with 9 additions and 8 deletions

View File

@ -783,7 +783,7 @@ export default class edittemplate extends React.Component {
this.setState({ componentOfconfig: c });
}
render() {
console.log(761,this.state.product_list);
console.log(761,window.screen.width / 1920 * 100);
return (
<div className='edittemplate'>
<div className='topHeader'>

View File

@ -546,7 +546,7 @@
}
.detailstemplatescale{
.detailstemplate{
transform: scale(0.315);
transform: scale(0.31);
transform-origin: 0 0;
img{
width: auto!important;
@ -557,8 +557,8 @@
}
}
.thumbheader {
width: 8vw;
height: 11vw;
width: 115px;
height: 158px;
background: #F4F6F9;
overflow: hidden;
margin-top: 5px;
@ -572,7 +572,7 @@
.goodsList-item {
.goodstemplate {
transform: scale(0.315);
transform: scale(0.31);
transform-origin: 0 0;
}
@ -625,7 +625,7 @@
/*商品详情页预览小图*/
#leftComponent .details-reduce {
transform: scale(0.315);
transform: scale(0.31);
transform-origin: 0 0;
}

View File

@ -35,7 +35,8 @@ export default class edittemplate extends React.Component {
render() {
return (
<div style={{ width: "92%", "margin": "0 auto", "overflow": "auto", "maxHeight": "100%" }}>
<Form model={this.state.model} ref="form1">
<p style={{textAlign:'center'}}>暂未开放</p>
{/* <Form model={this.state.model} ref="form1">
<div style={{ fontWeight: 'bold', marginBottom: '20px' }}>样式</div>
<FormItem labelname="字体颜色:" prop="button_color" id="button_color" labelwidth="80px">
<div className="colorItembg dfleac" >
@ -47,7 +48,7 @@ export default class edittemplate extends React.Component {
<ColorPicker className="setbgColor" color={this.state.model.button_color} onChange={this.handleChange1} disabled />
</div>
</FormItem>
</Form>
</Form> */}
</div>
)
}