Commit e8ac33de authored by zhangjianguo's avatar zhangjianguo
parents c8b36691 0297a436
...@@ -351,7 +351,7 @@ ...@@ -351,7 +351,7 @@
CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-index.active.png', CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-index.active.png',
DefaultColor: 'rgb(136, 136, 136)', DefaultColor: 'rgb(136, 136, 136)',
CheckedColor: 'rgb(255, 69, 68)', CheckedColor: 'rgb(255, 69, 68)',
TagLink: "", //链接地址 TagLink: "/pages/index/index", //链接地址
TagSort: 1, //排序 TagSort: 1, //排序
IsActive: true IsActive: true
}, },
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-cat.active.png', CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-cat.active.png',
DefaultColor: 'rgb(136, 136, 136)', DefaultColor: 'rgb(136, 136, 136)',
CheckedColor: 'rgb(255, 69, 68)', CheckedColor: 'rgb(255, 69, 68)',
TagLink: "", //链接地址 TagLink: "/pages/cats/cats?cat_id=", //链接地址
TagSort: 2, //排序 TagSort: 2, //排序
IsActive: false IsActive: false
}, },
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-cart.active.png', CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-cart.active.png',
DefaultColor: 'rgb(136, 136, 136)', DefaultColor: 'rgb(136, 136, 136)',
CheckedColor: 'rgb(255, 69, 68)', CheckedColor: 'rgb(255, 69, 68)',
TagLink: "", //链接地址 TagLink: "/pages/cart/cart", //链接地址
TagSort: 3, //排序 TagSort: 3, //排序
IsActive: false IsActive: false
}, },
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-user.active.png', //激活状态图片 CheckedIcon: this.domainManager().ImageUrl + '/Static/nav-icon-user.active.png', //激活状态图片
DefaultColor: 'rgb(136, 136, 136)', //默认字体颜色 DefaultColor: 'rgb(136, 136, 136)', //默认字体颜色
CheckedColor: 'rgb(255, 69, 68)', //激活字体颜色 CheckedColor: 'rgb(255, 69, 68)', //激活字体颜色
TagLink: "", //链接地址 TagLink: "/pages/user-center/user-center", //链接地址
TagSort: 4, //排序 TagSort: 4, //排序
IsActive: false IsActive: false
} }
...@@ -588,6 +588,7 @@ ...@@ -588,6 +588,7 @@
}, },
//重置 //重置
resetInfo() { resetInfo() {
var that = this;
if (this.mallMsg.BottomTagList && this.mallMsg.BottomTagList.length > 0) { if (this.mallMsg.BottomTagList && this.mallMsg.BottomTagList.length > 0) {
var tagIds = "0,"; var tagIds = "0,";
this.mallMsg.BottomTagList.forEach(item => { this.mallMsg.BottomTagList.forEach(item => {
...@@ -600,15 +601,15 @@ ...@@ -600,15 +601,15 @@
TagId: tagIds TagId: tagIds
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); that.mallMsg.BottomTagList = [];
that.mallMsg.TopNavBgColor = '#FFFFFF';
that.mallMsg.BottomTagList = JSON.parse(JSON.stringify(this.defaultTagList));
that.saveMsg();
} else { } else {
this.Info(res.data.message); this.Info(res.data.message);
} }
}) })
} }
this.mallMsg.BottomTagList = [];
this.mallMsg.TopNavBgColor = '#FFFFFF';
this.mallMsg.BottomTagList = JSON.parse(JSON.stringify(this.defaultTagList));
} }
}, },
mounted() { mounted() {
......
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