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

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 }); this.setState({ componentOfconfig: c });
} }
render() { render() {
console.log(761,this.state.product_list); console.log(761,window.screen.width / 1920 * 100);
return ( return (
<div className='edittemplate'> <div className='edittemplate'>
<div className='topHeader'> <div className='topHeader'>

View File

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

View File

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