diff --git a/src/pages/exchangepage/edittemplate/main.less b/src/pages/exchangepage/edittemplate/main.less
index 01e1da0f..03d04fcd 100644
--- a/src/pages/exchangepage/edittemplate/main.less
+++ b/src/pages/exchangepage/edittemplate/main.less
@@ -603,8 +603,8 @@
width: 30px !important;
height: 13px !important;
position: absolute;
- top: 20px;
- right: 7px;
+ top: 30px;
+ right: 10px;
border-radius: 7px;
}
}
diff --git a/src/pages/exchangepage/edittemplate/reduce.js b/src/pages/exchangepage/edittemplate/reduce.js
index ca9d8a74..da940841 100644
--- a/src/pages/exchangepage/edittemplate/reduce.js
+++ b/src/pages/exchangepage/edittemplate/reduce.js
@@ -13,7 +13,6 @@ export default class edittemplate extends React.Component {
this.props.opendesc(true)
}
render() {
- console.log(16,this.props.detaildata);
return (
diff --git a/src/pages/exchangepage/edittemplate/whiteList/whiteLand.js b/src/pages/exchangepage/edittemplate/whiteList/whiteLand.js
index f0f302bb..35e3a3f9 100644
--- a/src/pages/exchangepage/edittemplate/whiteList/whiteLand.js
+++ b/src/pages/exchangepage/edittemplate/whiteList/whiteLand.js
@@ -116,7 +116,6 @@ export default class edittemplate extends React.Component {
count += 2;
report(count);
setTimeout(update, 500);
- console.log("上传中")
}
else {
reject();
diff --git a/src/pages/exchangepage/edittemplate/whiteList/whitedetails.js b/src/pages/exchangepage/edittemplate/whiteList/whitedetails.js
index f91e6c50..a1592076 100644
--- a/src/pages/exchangepage/edittemplate/whiteList/whitedetails.js
+++ b/src/pages/exchangepage/edittemplate/whiteList/whitedetails.js
@@ -86,7 +86,6 @@ export default class edittemplate extends React.Component {
count += 2;
report(count);
setTimeout(update, 500);
- console.log("上传中")
}
else {
diff --git a/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js b/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js
index 2f1215d6..3741faf1 100644
--- a/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js
+++ b/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js
@@ -117,7 +117,6 @@ export default class edittemplate extends React.Component {
count += 2;
report(count);
setTimeout(update, 500);
- console.log("上传中")
}
else {
diff --git a/src/pages/exchangepage/main/main.js b/src/pages/exchangepage/main/main.js
index 4a67c4d3..20fbbcc8 100644
--- a/src/pages/exchangepage/main/main.js
+++ b/src/pages/exchangepage/main/main.js
@@ -317,13 +317,9 @@ export default class acclist extends React.Component {
width={'260px'}
alignment={'left'}
onClearItem={(e) => {
- console.log('清空')
-
this.setState({ key_word: '' })
}}
onChange={(e) => {
- console.log(777777)
- console.log(e)
this.setState({ key_word: e })
}}
wordSearch={(e) => {
@@ -350,7 +346,7 @@ export default class acclist extends React.Component {
this.pageChange(e)
}}
checkChange={(selection) => {
- console.log(selection)
+
}}
ComponentHandler={(com, rowData) => {
if (com == 'thumb') {
diff --git a/src/pages/exchangepage/template/main.js b/src/pages/exchangepage/template/main.js
index 2d427cc8..cfec1ff6 100644
--- a/src/pages/exchangepage/template/main.js
+++ b/src/pages/exchangepage/template/main.js
@@ -154,7 +154,6 @@ export default class mytemplate extends React.Component {
if(e) data.type_id=e;
getSystemTemplate(data).then(res => {
handelResponse(res, (req) => {
- console.log(req)
this.setState({ system_template: req.data })
if (req.data.length < 10) {
this.setState({ endreq: false });
@@ -209,7 +208,6 @@ export default class mytemplate extends React.Component {
}
}
}
- console.log(14,previewInfo);
this.setState({ preview_visible: true,previewData:previewInfo, showType: row.page,moudleData: row, showPage: 1, pageStep: 1, activeHeight: 667, setStyle: { width: '375px', height: '667px', transform: 'scale(0.75)' } });
}
onUse(row, type) {
@@ -224,6 +222,12 @@ export default class mytemplate extends React.Component {
sessionStorage.setItem("pageInfo", JSON.stringify(row))
sessionStorage.setItem("isSort", 0)
sessionStorage.setItem('pageChange', 0);
+ sessionStorage.setItem('mouldType', 1);
+ if (type) {
+ window.location.href = "/#/edittemplate?type=" + type;
+ } else {
+ window.location.href = "/#/edittemplate?type=" + row.page;
+ }
}, () => {
})
}).catch(() => {
@@ -231,13 +235,12 @@ export default class mytemplate extends React.Component {
}else {
sessionStorage.setItem("pageInfo", JSON.stringify(row))
sessionStorage.setItem('pageChange', 1);
- }
-
- sessionStorage.setItem('mouldType', 1);
- if (type) {
- window.location.href = "/#/edittemplate?type=" + type;
- } else {
- window.location.href = "/#/edittemplate?type=" + row.page;
+ sessionStorage.setItem('mouldType', 1);
+ if (type) {
+ window.location.href = "/#/edittemplate?type=" + type;
+ } else {
+ window.location.href = "/#/edittemplate?type=" + row.page;
+ }
}
}
toTop() {
diff --git a/src/pages/exchangepage/template/preview.js b/src/pages/exchangepage/template/preview.js
index d38aff5a..0a57ea4a 100644
--- a/src/pages/exchangepage/template/preview.js
+++ b/src/pages/exchangepage/template/preview.js
@@ -53,7 +53,6 @@ export default class preview extends React.Component {
render() {
let propsData = this.props.data;
let goodsConfig = propsData.product_list;
- console.log(56,goodsConfig);
let naVisual = [];
if (goodsConfig&&goodsConfig.bottomBar) {
naVisual = goodsConfig.bottomBar.navlist.filter((item) => item.iswitch==1);
diff --git a/src/pages/login/loginform.js b/src/pages/login/loginform.js
index 0ce5a4b8..35de9f4b 100644
--- a/src/pages/login/loginform.js
+++ b/src/pages/login/loginform.js
@@ -83,7 +83,6 @@ const getAccountList = () => {
sessionStorage.setItem("showflag", true);
let menuList = response.menu;
if (response.menu && response.menu.length > 0) {
- console.log(105,menuList);
sessionStorage.setItem(
"activeMenu",
JSON.stringify(response.menu)