Authored by 徐炜

Merge branch 'release/1.0'

@@ -5,6 +5,6 @@ @@ -5,6 +5,6 @@
5 <div class="tips"> 5 <div class="tips">
6 <span class="tip">哎呀,您访问的页面走丢了...</span> 6 <span class="tip">哎呀,您访问的页面走丢了...</span>
7 <span class="tips-english">404 File Not Found, Sorry</span> 7 <span class="tips-english">404 File Not Found, Sorry</span>
8 - <span class="home">回到首页</span> 8 + <span class="home">返回</span>
9 </div> 9 </div>
10 </div> 10 </div>
@@ -5,6 +5,6 @@ @@ -5,6 +5,6 @@
5 <div class="tips"> 5 <div class="tips">
6 <span class="tip">哎呀,程序出错了...</span> 6 <span class="tip">哎呀,程序出错了...</span>
7 <span class="tips-english">500- Server Internal Error</span> 7 <span class="tips-english">500- Server Internal Error</span>
8 - <span class="home">回到首页</span> 8 + <span class="home">返回</span>
9 </div> 9 </div>
10 </div> 10 </div>
@@ -12,7 +12,6 @@ yoho.ready(() => { @@ -12,7 +12,6 @@ yoho.ready(() => {
12 yoho.showLoading(false); 12 yoho.showLoading(false);
13 13
14 $('.home').on('click', () => { 14 $('.home').on('click', () => {
15 - interceptClick.intercept('/');  
16 yoho.goBack(); 15 yoho.goBack();
17 }); 16 });
18 }); 17 });
@@ -33,7 +33,7 @@ const getImgUrl = function(src, width = 300, height = 300, mode = 2) { @@ -33,7 +33,7 @@ const getImgUrl = function(src, width = 300, height = 300, mode = 2) {
33 }; 33 };
34 34
35 return dict[$0]; 35 return dict[$0];
36 - }).replace('http:', '') : ''; 36 + }).replace('http:', '') + '/interlace/1' : '';
37 }; 37 };
38 38
39 // 退换货 申请 成功, 打开 modal 39 // 退换货 申请 成功, 打开 modal
@@ -89,4 +89,4 @@ module.exports = { @@ -89,4 +89,4 @@ module.exports = {
89 getImgUrl, 89 getImgUrl,
90 applySuccuss, 90 applySuccuss,
91 visibilitychange 91 visibilitychange
92 -}; 92 +};
@@ -109,6 +109,7 @@ @@ -109,6 +109,7 @@
109 109
110 .go-back-btn { 110 .go-back-btn {
111 &:hover { 111 &:hover {
  112 + background: #ccc;
112 opacity: 0.5; 113 opacity: 0.5;
113 } 114 }
114 } 115 }
1 <template> 1 <template>
2 - <div class="goods-box" v-infinite-scroll="fetch()" infinite-scroll-disable="disableFetch" infinite-scroll-distance="1200"> 2 + <div class="goods-box" v-infinite-scroll="fetch()" infinite-scroll-disable="disableFetch" infinite-scroll-distance="0">
3 <ul class="cardlist card-large clearfix"> 3 <ul class="cardlist card-large clearfix">
4 <li class="card" v-for="item in data"> 4 <li class="card" v-for="item in data">
5 <div class="card-pic"> 5 <div class="card-pic">
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 </div> 16 </div>
17 </li> 17 </li>
18 </ul> 18 </ul>
19 - <p class="cardlist--loading text-center" v-show="state === 1">正在加载...</p> 19 + <p class="cardlist--loading text-center" v-show="state === 1">loading...</p>
20 <!--<p class="cardlist--end text-center" v-show="state === 0 ">--End--</p>--> 20 <!--<p class="cardlist--end text-center" v-show="state === 0 ">--End--</p>-->
21 21
22 <div class="empty-tip" v-show="state === -1"> 22 <div class="empty-tip" v-show="state === -1">
@@ -68,6 +68,12 @@ @@ -68,6 +68,12 @@
68 padding: 0; 68 padding: 0;
69 } 69 }
70 70
  71 + .cardlist--loading {
  72 + font-size: 32px;
  73 + text-align: center;
  74 + padding: 16px 0;
  75 + }
  76 +
71 .card-large { 77 .card-large {
72 background-color: #fff; 78 background-color: #fff;
73 79
@@ -322,7 +322,7 @@ @@ -322,7 +322,7 @@
322 font-size: 34px; 322 font-size: 34px;
323 line-height: 72px; 323 line-height: 72px;
324 color: #fff; 324 color: #fff;
325 - background: $red; 325 + background: #ff081c;
326 text-align: center; 326 text-align: center;
327 border-radius: 50%; 327 border-radius: 50%;
328 transform: scale(0.5); 328 transform: scale(0.5);