Merge branch 'release/4.6' of git.yoho.cn:fe/yohobuywap-node into release/4.6
Showing
7 changed files
with
9 additions
and
6 deletions
@@ -116,8 +116,6 @@ const getHomeActivity = (data) => { | @@ -116,8 +116,6 @@ const getHomeActivity = (data) => { | ||
116 | var params = { | 116 | var params = { |
117 | method: 'app.outlets.activityGet', | 117 | method: 'app.outlets.activityGet', |
118 | platform: 2, | 118 | platform: 2, |
119 | - sort: 2, | ||
120 | - client_type: 'h5' | ||
121 | }; | 119 | }; |
122 | 120 | ||
123 | return api.get('', sign.apiSign(_.assign(params, data))).then(res => { | 121 | return api.get('', sign.apiSign(_.assign(params, data))).then(res => { |
@@ -129,7 +127,7 @@ exports.getContent = (categoryId, channel, code) => { | @@ -129,7 +127,7 @@ exports.getContent = (categoryId, channel, code) => { | ||
129 | let floorsData = {}, | 127 | let floorsData = {}, |
130 | params = { | 128 | params = { |
131 | type: 0, | 129 | type: 0, |
132 | - id: 0 | 130 | + yh_channel: channel |
133 | }; | 131 | }; |
134 | 132 | ||
135 | const p = [getNavData(categoryId), getOutletResource(channel, code), getHomeActivity(params)]; | 133 | const p = [getNavData(categoryId), getOutletResource(channel, code), getHomeActivity(params)]; |
public/css/index.css
0 → 100644
This diff could not be displayed because it is too large.
public/css/index.css.map
0 → 100644
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 | -!function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var i=n(2),r=n(3),a=n(4),s=n(32),o=i(".cd-lite"),l=i(".outlet-category-nav a"),u=n(31),c=n(33);n(31),a(i("img.lazy")),o.length>0&&new s.Countdown({el:o}),i(".swiper-container .swiper-slide").length>1&&new r(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"}),l.on("click",function(e){var t=i(this).attr("href"),n=t.split("?")[1].split("&"),r={};i(".category a").removeClass("active"),i(this).addClass("active"),e.preventDefault(),n.forEach(function(e){var t=e.split("="),n=t[0],i=t[1];r[n]=i}),u.start({type:"category"},r)}),l.length>0&&l.eq(0).trigger("click"),i("#index_nav").length>0&&c({el:"#index_nav"})["goto"](i("#index_nav").find(".active").index()),i(".outlet-category-nav").length>0&&c({el:".outlet-category-nav"})["goto"](0),i(".back-ground-white").length>10&&(i(".more-activity").show(),i(".back-ground-white").each(function(e,t){console.log(e),e>9&&i(t).hide()})),i(".more-activity").click(function(){i(".more-activity").hide(),i(".back-ground-white").each(function(e,t){e>9&&i(t).show()})})},,function(e,t,n){var i,r;/*! | 1 | +!function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var i=n(2),r=n(3),a=n(4),s=n(32),o=i(".cd-lite"),l=i(".outlet-category-nav a"),u=n(31),c=n(33);n(31),a(i("img.lazy")),o.length>0&&new s.Countdown({el:o}),i(".swiper-container .swiper-slide").length>1&&new r(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"}),l.on("click",function(e){var t=i(this).attr("href"),n=t.split("?")[1].split("&"),r={};i(".category a").removeClass("active"),i(this).addClass("active"),e.preventDefault(),n.forEach(function(e){var t=e.split("="),n=t[0],i=t[1];r[n]=i}),u.start({type:"category"},r)}),l.length>0&&l.eq(0).trigger("click"),i("#index_nav").length>0&&c({el:"#index_nav"})["goto"](i("#index_nav").find(".active").index()),i("#list-nav").length>0&&c({el:"#list-nav"})["goto"](0),i(".back-ground-white").length>10&&(i(".more-activity").show(),i(".back-ground-white").each(function(e,t){e>9&&i(t).hide()})),i(".more-activity").click(function(){i(".more-activity").hide(),i(".back-ground-white").each(function(e,t){e>9&&i(t).show()})})},,function(e,t,n){var i,r;/*! |
2 | * jQuery JavaScript Library v2.2.4 | 2 | * jQuery JavaScript Library v2.2.4 |
3 | * http://jquery.com/ | 3 | * http://jquery.com/ |
4 | * | 4 | * |
@@ -78,8 +78,7 @@ if ($('.outlet-category-nav').length > 0) { | @@ -78,8 +78,7 @@ if ($('.outlet-category-nav').length > 0) { | ||
78 | if ($('.back-ground-white').length > 10) { | 78 | if ($('.back-ground-white').length > 10) { |
79 | $('.more-activity').show(); | 79 | $('.more-activity').show(); |
80 | $('.back-ground-white').each(function(index, e) { | 80 | $('.back-ground-white').each(function(index, e) { |
81 | - console.log(index); | ||
82 | - if (index > 9) { | 81 | + if(index > 9) { |
83 | $(e).hide(); | 82 | $(e).hide(); |
84 | } | 83 | } |
85 | }); | 84 | }); |
@@ -68,6 +68,9 @@ | @@ -68,6 +68,9 @@ | ||
68 | text-align: center; | 68 | text-align: center; |
69 | font-size: 28px; | 69 | font-size: 28px; |
70 | font-weight: bold; | 70 | font-weight: bold; |
71 | + overflow: hidden; | ||
72 | + text-overflow: ellipsis; | ||
73 | + white-space: nowrap; | ||
71 | } | 74 | } |
72 | 75 | ||
73 | .time { | 76 | .time { |
@@ -140,6 +143,9 @@ | @@ -140,6 +143,9 @@ | ||
140 | width: 200px; | 143 | width: 200px; |
141 | font-size: 28px; | 144 | font-size: 28px; |
142 | font-weight: bold; | 145 | font-weight: bold; |
146 | + overflow: hidden; | ||
147 | + text-overflow: ellipsis; | ||
148 | + white-space: nowrap; | ||
143 | } | 149 | } |
144 | 150 | ||
145 | .time { | 151 | .time { |
-
Please register or login to post a comment