Showing
3 changed files
with
4 additions
and
50 deletions
@@ -67,52 +67,6 @@ | @@ -67,52 +67,6 @@ | ||
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </li> | 69 | </li> |
70 | - <li data-id="{{id}}"> | ||
71 | - <div class="star-avatar"> | ||
72 | - {{#if isSwiper}} | ||
73 | - <div class="article-avatar-swiper"> | ||
74 | - <ul class="clearfix swiper-wrapper"> | ||
75 | - {{#each tags}} | ||
76 | - <li class="swiper-slide"> | ||
77 | - <a href="{{avatarUrl}}"> | ||
78 | - <div data-avatar="{{image cover 100 100}}" class="rank-avatar" ></div> | ||
79 | - <p class="name">{{tagName}}</p> | ||
80 | - </a> | ||
81 | - </li> | ||
82 | - {{/each}} | ||
83 | - </ul> | ||
84 | - </div> | ||
85 | - {{else}} | ||
86 | - {{# tags}} | ||
87 | - <a href="{{avatarUrl}}"> | ||
88 | - <div data-avatar="{{image cover 100 100}}" class="rank-avatar" ></div> | ||
89 | - <p class="name">{{tagName}}</p> | ||
90 | - </a> | ||
91 | - {{/ tags}} | ||
92 | - {{/if}} | ||
93 | - </div> | ||
94 | - <div class="star-article"> | ||
95 | - <i class="article-arrow"></i> | ||
96 | - <a href="{{url}}"><h2 class="article-title">{{title}}</h2></a> | ||
97 | - <div class="artice-cont"> | ||
98 | - <a href="{{url}}"><p>{{articeTxt}}</p></a> | ||
99 | - <div class="artice-imgs-area"> | ||
100 | - <img src="{{image src 266 266}}" /> | ||
101 | - | ||
102 | - {{!-- <ul class="artice-imgs"> | ||
103 | - {{#each articeImg}} | ||
104 | - <li><img src="{{image . 640 640}}" /></li> | ||
105 | - {{/each}} | ||
106 | - </ul> --}} | ||
107 | - | ||
108 | - </div> | ||
109 | - </div> | ||
110 | - <div class="artice-o"> | ||
111 | - <span class="time"><i class="iconfont time-ico"></i>{{publishTime}}</span> | ||
112 | - <span class="see"><i class="iconfont see-ico"></i>{{viewsNum}}</span> | ||
113 | - </div> | ||
114 | - </div> | ||
115 | - </li> | ||
116 | {{/each}} | 70 | {{/each}} |
117 | </ul> | 71 | </ul> |
118 | </div> | 72 | </div> |
@@ -13,8 +13,8 @@ module.exports = { | @@ -13,8 +13,8 @@ module.exports = { | ||
13 | port: 6001, | 13 | port: 6001, |
14 | siteUrl: '//m.yohobuy.com', | 14 | siteUrl: '//m.yohobuy.com', |
15 | domains: { | 15 | domains: { |
16 | - api: 'http://testapi.yoho.cn:28078/', | ||
17 | - service: 'http://testservice.yoho.cn:28077/' | 16 | + api: 'http://devapi.yoho.cn:58078/', |
17 | + service: 'http://devservice.yoho.cn:58077/' | ||
18 | }, | 18 | }, |
19 | useOneapm: false, | 19 | useOneapm: false, |
20 | useCache: false, | 20 | useCache: false, |
@@ -76,7 +76,7 @@ function setIndexAction() { | @@ -76,7 +76,7 @@ function setIndexAction() { | ||
76 | 76 | ||
77 | // 下拉刷新,上拉加载 | 77 | // 下拉刷新,上拉加载 |
78 | starIScroll = new PullRefresh('.star-wrap', { | 78 | starIScroll = new PullRefresh('.star-wrap', { |
79 | - height: $(window).height() - commonHeaderTop - avatarHeight - parseInt(infoTop) * 2, | 79 | + height: $(window).height() - commonHeaderTop - avatarHeight - parseInt(infoTop, 10) * 2, |
80 | pullDown: function() { | 80 | pullDown: function() { |
81 | if (!stopLoading) { | 81 | if (!stopLoading) { |
82 | stopLoading = true; | 82 | stopLoading = true; |
@@ -128,7 +128,7 @@ function setIndexAction() { | @@ -128,7 +128,7 @@ function setIndexAction() { | ||
128 | starIScroll.iScroll.on('scrollEnd', function() { | 128 | starIScroll.iScroll.on('scrollEnd', function() { |
129 | // 上滑 | 129 | // 上滑 |
130 | if (this.directionY === 1) { | 130 | if (this.directionY === 1) { |
131 | - $headTab.slideUp(1000); | 131 | + $headTab.slideUp(600); |
132 | } | 132 | } |
133 | 133 | ||
134 | $loadingTip.slideUp(); | 134 | $loadingTip.slideUp(); |
-
Please register or login to post a comment