From 6c764cb52137c930e412432042862ddf2959be68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E7=BA=A2=E6=A2=85?= <1924913374@qq.com> Date: Fri, 9 Sep 2022 18:05:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=A2=84=E8=A7=88=E4=BC=98=E5=8C=96=E5=AE=8C?= =?UTF-8?q?=E6=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangepage/edittemplate/main.js | 2 +- src/pages/exchangepage/edittemplate/main.less | 10 +++++----- src/pages/exchangepage/edittemplate/reduceConfig.js | 5 +++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js index 4b42d7df..a940de0d 100644 --- a/src/pages/exchangepage/edittemplate/main.js +++ b/src/pages/exchangepage/edittemplate/main.js @@ -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 (
diff --git a/src/pages/exchangepage/edittemplate/main.less b/src/pages/exchangepage/edittemplate/main.less index 3f0bf1ea..08a5abcd 100644 --- a/src/pages/exchangepage/edittemplate/main.less +++ b/src/pages/exchangepage/edittemplate/main.less @@ -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; } diff --git a/src/pages/exchangepage/edittemplate/reduceConfig.js b/src/pages/exchangepage/edittemplate/reduceConfig.js index 629e7fdf..ea0711ee 100644 --- a/src/pages/exchangepage/edittemplate/reduceConfig.js +++ b/src/pages/exchangepage/edittemplate/reduceConfig.js @@ -35,7 +35,8 @@ export default class edittemplate extends React.Component { render() { return (
-
+

暂未开放!

+ {/*
样式
@@ -47,7 +48,7 @@ export default class edittemplate extends React.Component {
-
+ */}
) }