Commit 336da235 authored by Mac's avatar Mac

1

parent 3c1e6a8f
......@@ -625,6 +625,11 @@ export default {
},
},
(res) => {
this.$uiConfig.mainColor=res.data.mall.setting.mallStyle.main
this.$uiConfig.secondary=res.data.mall.setting.mallStyle.secondary
if(res.data.mall.setting.mallStyle.pricecolor){
this.$uiConfig.pricecolor=res.data.mall.setting.mallStyle.pricecolor
}
this.indexPageData = res.data.home_pages.navs[0].template.data;
this.myPageData = res.data;
if (res.data.navbar.navs) {
......
......@@ -468,7 +468,7 @@ export default {
//登录在调用评论接口
if (this.u) {
this.initComments();
this.setFootMarkInfo(res.data.goods.id);
}
} else {
......@@ -567,17 +567,7 @@ export default {
);
},
setFootMarkInfo(id) {
this.request2(
{
url: "/api/AppletUser/SetUserFootMarkInfo",
data: {
GoodsId: id,
},
},
(res) => {}
);
},
gocourse(item,index){//跳入课程详情
uni.navigateTo({
......
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