Showing
6 changed files
with
11 additions
and
10 deletions
@@ -38,7 +38,7 @@ const _article = (param) => { | @@ -38,7 +38,7 @@ const _article = (param) => { | ||
38 | sort_id: param.type ? param.type : 1, | 38 | sort_id: param.type ? param.type : 1, |
39 | tag: param.tag ? param.tag : null, | 39 | tag: param.tag ? param.tag : null, |
40 | author_id: param.authorId ? param.authorId : null, | 40 | author_id: param.authorId ? param.authorId : null, |
41 | - limit: param.limit ? param.limit : null, | 41 | + limit: param.limit ? param.limit : null |
42 | }, { | 42 | }, { |
43 | code: 200 | 43 | code: 200 |
44 | }).then(result => { | 44 | }).then(result => { |
@@ -110,7 +110,7 @@ const _processIndexData = (dataList) => { | @@ -110,7 +110,7 @@ const _processIndexData = (dataList) => { | ||
110 | let url = `/guang/star/detail?tag=${data.tagName}&openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http://m.yohobuy.com/guang/star/detail","param":{"tag":"${data.tagName}"}}}`; // eslint-disable-line | 110 | let url = `/guang/star/detail?tag=${data.tagName}&openby:yohobuy={"action":"go.h5","params":{"id":"","share":"","shareparam":{},"islogin":"N","type":0,"updateflag":"N","url":"http://m.yohobuy.com/guang/star/detail","param":{"tag":"${data.tagName}"}}}`; // eslint-disable-line |
111 | 111 | ||
112 | formatData.starAvatar.push({ | 112 | formatData.starAvatar.push({ |
113 | - //noLazy: index < 6, | 113 | + // noLazy: index < 6, |
114 | url: url, | 114 | url: url, |
115 | cover: data.cover ? (data.cover + '?imageView2/2/w/180/h/180') : data.cover | 115 | cover: data.cover ? (data.cover + '?imageView2/2/w/180/h/180') : data.cover |
116 | }); | 116 | }); |
@@ -35,8 +35,8 @@ module.exports = { | @@ -35,8 +35,8 @@ module.exports = { | ||
35 | master: ['192.168.102.205:12111'], | 35 | master: ['192.168.102.205:12111'], |
36 | slave: ['192.168.102.205:12111'], | 36 | slave: ['192.168.102.205:12111'], |
37 | session: ['192.168.102.205:12111'], | 37 | session: ['192.168.102.205:12111'], |
38 | - retries:0, | ||
39 | - reconnect:5000, | 38 | + retries: 0, |
39 | + reconnect: 5000, | ||
40 | timeout: 1000 | 40 | timeout: 1000 |
41 | }, | 41 | }, |
42 | interfaceShunt: { | 42 | interfaceShunt: { |
@@ -88,7 +88,7 @@ if (isProduction) { | @@ -88,7 +88,7 @@ if (isProduction) { | ||
88 | master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'], | 88 | master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'], |
89 | slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'], | 89 | slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'], |
90 | session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'], | 90 | session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'], |
91 | - reconnect:5000, | 91 | + reconnect: 5000, |
92 | timeout: 1000, | 92 | timeout: 1000, |
93 | retries: 0 | 93 | retries: 0 |
94 | }, | 94 | }, |
@@ -112,7 +112,7 @@ if (isProduction) { | @@ -112,7 +112,7 @@ if (isProduction) { | ||
112 | slave: ['127.0.0.1:12112'], | 112 | slave: ['127.0.0.1:12112'], |
113 | session: ['127.0.0.1:12111'], | 113 | session: ['127.0.0.1:12111'], |
114 | timeout: 100, | 114 | timeout: 100, |
115 | - reconnect:5000, | 115 | + reconnect: 5000, |
116 | retries: 0 | 116 | retries: 0 |
117 | }, | 117 | }, |
118 | useCache: true | 118 | useCache: true |
@@ -8,7 +8,7 @@ var swiper = new Swiper('.tab .swiper-container', { | @@ -8,7 +8,7 @@ var swiper = new Swiper('.tab .swiper-container', { | ||
8 | lazyLoadingInPrevNext: true, | 8 | lazyLoadingInPrevNext: true, |
9 | paginationClickable: true, | 9 | paginationClickable: true, |
10 | loop: true, | 10 | loop: true, |
11 | - autoplay: 3000, | 11 | + autoplay: 3000 |
12 | }); | 12 | }); |
13 | 13 | ||
14 | require('lodash/commit'); | 14 | require('lodash/commit'); |
@@ -257,8 +257,9 @@ starIScroll.iScroll.on('scrollStart', function() { | @@ -257,8 +257,9 @@ starIScroll.iScroll.on('scrollStart', function() { | ||
257 | bannerSwiper && bannerSwiper.stopAutoplay(); | 257 | bannerSwiper && bannerSwiper.stopAutoplay(); |
258 | }); | 258 | }); |
259 | 259 | ||
260 | - starIScroll.iScroll.on('scroll', function() { | 260 | +starIScroll.iScroll.on('scroll', function() { |
261 | $window.trigger('scroll'); | 261 | $window.trigger('scroll'); |
262 | + | ||
262 | // var avatarOffsetT; | 263 | // var avatarOffsetT; |
263 | // | 264 | // |
264 | // if (this.directionY !== -1) { | 265 | // if (this.directionY !== -1) { |
@@ -300,7 +301,7 @@ starIScroll.iScroll.on('scrollStart', function() { | @@ -300,7 +301,7 @@ starIScroll.iScroll.on('scrollStart', function() { | ||
300 | // } else { | 301 | // } else { |
301 | // $avatarClone.hide(); | 302 | // $avatarClone.hide(); |
302 | // } | 303 | // } |
303 | - }); | 304 | +}); |
304 | 305 | ||
305 | starIScroll.iScroll.on('scrollEnd', function() { | 306 | starIScroll.iScroll.on('scrollEnd', function() { |
306 | // $loadingTip.slideUp(); | 307 | // $loadingTip.slideUp(); |
@@ -103,7 +103,7 @@ var page = { | @@ -103,7 +103,7 @@ var page = { | ||
103 | 103 | ||
104 | $.get('/passport/sms_login/token.json', { | 104 | $.get('/passport/sms_login/token.json', { |
105 | area: area, | 105 | area: area, |
106 | - mobile: mobile, | 106 | + mobile: mobile |
107 | }) | 107 | }) |
108 | .done(function(res) { | 108 | .done(function(res) { |
109 | if (res.code === 200) { | 109 | if (res.code === 200) { |
-
Please register or login to post a comment