Commit 995ce954 by 刘泽奇

123

parent b129e2fa
......@@ -184,21 +184,16 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
this.loading = false;
this.channelName = location.hash.split('/')[1];
this.accessTitle();
},
updated() {
},
mounted() {
this.handleHeader();
this.$nextTick(()=>{
this.handleHeader();
});
console.log($.fn.jquery, "vvvvvvvvvvvvvvvvv");
var self = this;
if (!this.currentUser) {
this.logins.push({ "icon": "el-icon-location-outline", "title": "登录", "type": "text", key: "login", "isOnGrid": true });
this.logins.push({ "icon": "el-icon-edit-outline", "title": "注册", "type": "text", key: "register", "isOnGrid": true });
} else {
this.logins.push({ "icon": "el-icon-arrow-right", "title": "退出", "type": "text", key: "exit", "isOnGrid": true });
};
if ($.cookie('userpin')) {
this.user_Name = $.cookie('userName');
this.channelUserId = $.cookie('channelUserId');
......
......@@ -126,32 +126,37 @@
},
mounted: function() {
this.$root.loading = true;
this.getChannerBanner();
var obj = this.$root.copyParams({ channelUserId: "", itemCode: "sbfu" }, "getProductListByTypeOneCode", "/action/tmOrder/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
this.$root.loading = false;
console.log(d, "cccccccccccccccccc");
if (d.status == 0) {
this.dataList = d.data;
this.dataList.map((item, index) => {
console.log(item.productDesc);
item.productDesc = JSON.parse(item.productDesc);
});
}
});
var swiper = new Swiper('.swiper-container', {
slidesPerView: 3,
spaceBetween: 0,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
centeredSlides: false,
});
this.$nextTick(() => {
this.getChannerBanner();
var obj = this.$root.copyParams({ channelUserId: "", itemCode: "sbfu" }, "getProductListByTypeOneCode", "/action/tmOrder/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
this.$root.loading = false;
console.log(d, "cccccccccccccccccc");
if (d.status == 0) {
this.dataList = d.data;
this.dataList.map((item, index) => {
console.log(item.productDesc);
item.productDesc = JSON.parse(item.productDesc);
});
}
});
var swiper = new Swiper('.swiper-container', {
slidesPerView: 3,
spaceBetween: 0,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
centeredSlides: false,
});
})
this.$forceUpdate();
},
created: function() {
......
......@@ -102,7 +102,7 @@
if (this.$route.query.reqUrl != "") {
this.reqUrl = this.$route.query.reqUrl;
};
this.$root.isLogin = true;
this.$root.isLogin = false;
},
created: function() {
......
......@@ -104,7 +104,7 @@
}
},
mounted: function() {
this.$root.isLogin = true;
this.$root.isLogin = false;
},
created: function() {
console.log(this.pfooterinfo);
......
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