Authored by 陈峰

Merge branch 'release/9.12' into 'gray'

Release/9.12



See merge request !372
@@ -42,7 +42,7 @@ const list = require(`${cRoot}/list`); @@ -42,7 +42,7 @@ const list = require(`${cRoot}/list`);
42 const search = require(`${cRoot}/search`); 42 const search = require(`${cRoot}/search`);
43 43
44 // 学生优惠controller 44 // 学生优惠controller
45 -const students = require(`${cRoot}/students`); 45 +// const students = require(`${cRoot}/students`);
46 46
47 // 新品到着controller 47 // 新品到着controller
48 const newArrive = require(`${cRoot}/newArrive`); 48 const newArrive = require(`${cRoot}/newArrive`);
@@ -153,13 +153,13 @@ router.post('/index/isFavoriteShop', favorite.isFavShop); // @@ -153,13 +153,13 @@ router.post('/index/isFavoriteShop', favorite.isFavShop); //
153 153
154 154
155 // 学生优惠routers 155 // 学生优惠routers
156 -router.get('/students', students.index); // students 首页  
157 -router.get('/students/schoolArea', students.schoolArea); // 学校地区  
158 -router.get('/students/schoolList', students.schoolList); // 学校地区  
159 -router.get('/students/eduLevel', students.eduLevel); // 学校地区  
160 -router.get('/students/verify', students.verify); // 身份验证  
161 -router.get('/students/userAcquireStatus', students.userAcquireStatus); // 获取优惠券领取状态  
162 -router.get('/students/list', students.list); // 获取优惠券领取状态 156 +// router.get('/students', students.index); // students 首页
  157 +// router.get('/students/schoolArea', students.schoolArea); // 学校地区
  158 +// router.get('/students/schoolList', students.schoolList); // 学校地区
  159 +// router.get('/students/eduLevel', students.eduLevel); // 学校地区
  160 +// router.get('/students/verify', students.verify); // 身份验证
  161 +// router.get('/students/userAcquireStatus', students.userAcquireStatus); // 获取优惠券领取状态
  162 +// router.get('/students/list', students.list); // 获取优惠券领取状态
163 163
164 // 新品到着改版 164 // 新品到着改版
165 router.get('/newArrive', newArrive.index); // 获取优惠券领取状态 165 router.get('/newArrive', newArrive.index); // 获取优惠券领取状态
1 { 1 {
2 "name": "yohobuy-node", 2 "name": "yohobuy-node",
3 - "version": "6.6.14", 3 + "version": "6.6.15",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {

19 KB | W: | H:

9.88 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

18.4 KB | W: | H:

8.99 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -216,20 +216,22 @@ function pickCoupon(info) { @@ -216,20 +216,22 @@ function pickCoupon(info) {
216 } 216 }
217 217
218 function couponSlide(num) { 218 function couponSlide(num) {
219 - if (!this.$btns) {  
220 - this.$btns = $couponBtn.children(); 219 + var that = this || window;
  220 +
  221 + if (!that.$btns) {
  222 + that.$btns = $couponBtn.children();
221 } 223 }
222 224
223 $couponItem.eq(0).animate({ 225 $couponItem.eq(0).animate({
224 'margin-left': -itemWidth * num 226 'margin-left': -itemWidth * num
225 }); 227 });
226 228
227 - this.$btns.removeClass('btn-end'); 229 + that.$btns.removeClass('btn-end');
228 230
229 if (!num) { 231 if (!num) {
230 - this.$btns.eq(0).addClass('btn-end'); 232 + that.$btns.eq(0).addClass('btn-end');
231 } else if (num >= $couponItem.length - 3) { 233 } else if (num >= $couponItem.length - 3) {
232 - this.$btns.eq(1).addClass('btn-end'); 234 + that.$btns.eq(1).addClass('btn-end');
233 } 235 }
234 } 236 }
235 237
@@ -271,7 +271,7 @@ @@ -271,7 +271,7 @@
271 top: 32px; 271 top: 32px;
272 margin-left: -35px; 272 margin-left: -35px;
273 width: 146px; 273 width: 146px;
274 - height: 216px; 274 + padding: 20px 0 14px;
275 background-color: #f4f4f4; 275 background-color: #f4f4f4;
276 border: none; 276 border: none;
277 z-index: 1000; 277 z-index: 1000;
@@ -281,7 +281,7 @@ @@ -281,7 +281,7 @@
281 position: relative; 281 position: relative;
282 margin: 2px auto 3px; 282 margin: 2px auto 3px;
283 width: 96px; 283 width: 96px;
284 - height: 168px; 284 + height: 96px;
285 } 285 }
286 286
287 .qr-img { 287 .qr-img {
@@ -1491,16 +1491,16 @@ @@ -1491,16 +1491,16 @@
1491 top: 260px; 1491 top: 260px;
1492 right: 20px; 1492 right: 20px;
1493 width: 117px; 1493 width: 117px;
1494 - height: 216px; 1494 + padding-top: 20px;
1495 border: none; 1495 border: none;
1496 background-color: transparent; 1496 background-color: transparent;
1497 z-index: 990; 1497 z-index: 990;
1498 display: block; 1498 display: block;
1499 1499
1500 .code-img { 1500 .code-img {
1501 - width: 117px;  
1502 - height: 192px;  
1503 - background-image: resolve("layout/qr-wenle-large.png"); 1501 + width: 116px;
  1502 + height: 116px;
  1503 + background-image: resolve("layout/cover-qr-large.png");
1504 background-repeat: no-repeat; 1504 background-repeat: no-repeat;
1505 background-size: 100% 100%; 1505 background-size: 100% 100%;
1506 } 1506 }