Commit 3218f12d by 刘泽奇

123

parent 5be1ee7d

18 KB | W: | H:

6.89 KB | W: | H:

igirl-channel-web/app/front/entry/public/imgs/bwlogo.png
igirl-channel-web/app/front/entry/public/imgs/bwlogo.png
igirl-channel-web/app/front/entry/public/imgs/bwlogo.png
igirl-channel-web/app/front/entry/public/imgs/bwlogo.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -126,34 +126,34 @@ ...@@ -126,34 +126,34 @@
}, },
mounted: function() { mounted: function() {
this.$root.loading = true; this.$root.loading = true;
this.getChannerBanner(); this.getChannerBanner();
this.$root.accessTitle(); this.$root.accessTitle();
var obj = this.$root.copyParams({ channelUserId: "", itemCode: "sbfu" }, "getProductListByTypeOneCode", "/action/tmOrder/springBoard"); var obj = this.$root.copyParams({ channelUserId: "", itemCode: "sbfu" }, "getProductListByTypeOneCode", "/action/tmOrder/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => { this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
this.$root.loading = false; this.$root.loading = false;
console.log(d, "cccccccccccccccccc"); console.log(d, "cccccccccccccccccc");
if (d.status == 0) { if (d.status == 0) {
this.dataList = d.data; this.dataList = d.data;
this.dataList.map((item, index) => { this.dataList.map((item, index) => {
console.log(item.productDesc); console.log(item.productDesc);
item.productDesc = JSON.parse(item.productDesc); item.productDesc = JSON.parse(item.productDesc);
}); });
} }
}); });
var swiper = new Swiper('.swiper-container', { var swiper = new Swiper('.swiper-container', {
slidesPerView: 3, slidesPerView: 3,
spaceBetween: 0, spaceBetween: 0,
pagination: { pagination: {
el: '.swiper-pagination', el: '.swiper-pagination',
clickable: true, clickable: true,
}, },
navigation: { navigation: {
nextEl: '.swiper-button-next', nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev', prevEl: '.swiper-button-prev',
}, },
centeredSlides: false, centeredSlides: false,
}); });
}, },
created: function() { created: function() {
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
}, },
methods: { methods: {
getChannerBanner(){ getChannerBanner(){
console.log(this.$root.channelName,"ddddddddddddddddddddddddddd"); console.log(this.$root.channelName, "ddddddddddddddddddddddddddd");
switch (this.$root.channelName) { switch (this.$root.channelName) {
case 'jd': case 'jd':
this.channelBanner = "background: url(/imgs/jdcloud/jdtrademark/banner.png) center center no-repeat"; this.channelBanner = "background: url(/imgs/jdcloud/jdtrademark/banner.png) center center no-repeat";
......
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