Commit 0e11e992 authored by 黄媛媛's avatar 黄媛媛

Merge branch 'master' of http://gitlab.oytour.com/viitto/mallapp

parents afb9e83e 8dd331d2
...@@ -101,6 +101,7 @@ export default { ...@@ -101,6 +101,7 @@ export default {
Type:1, Type:1,
Style:1 Style:1
}, },
cat_id:''
}; };
}, },
components: { components: {
...@@ -118,7 +119,7 @@ export default { ...@@ -118,7 +119,7 @@ export default {
style10, style10,
style11, style11,
}, },
onLoad() { onLoad(option) {
this.navHeight = this.$navHeight - 2; this.navHeight = this.$navHeight - 2;
// this.cstyle = uni.getStorageSync("basedata") // this.cstyle = uni.getStorageSync("basedata")
// ? uni.getStorageSync("basedata").cat_style // ? uni.getStorageSync("basedata").cat_style
...@@ -131,6 +132,9 @@ export default { ...@@ -131,6 +132,9 @@ export default {
// left: "0", // left: "0",
// }; // };
} }
if(option&&option.cat_id){
this.cat_id=option.cat_id;
}
}, },
mounted() { mounted() {
let currentPages = getCurrentPages(); let currentPages = getCurrentPages();
...@@ -161,7 +165,9 @@ export default { ...@@ -161,7 +165,9 @@ export default {
this.request2( this.request2(
{ {
url: '/api/AppletGoods/GetProductCategoryTreeList', url: '/api/AppletGoods/GetProductCategoryTreeList',
data: {} data: {
RootId:this.cat_id
}
}, },
res => { res => {
console.log("res",res); console.log("res",res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment