Explorar o código

充值卡排序

洪海涛 %!s(int64=8) %!d(string=hai) anos
pai
achega
2dd919345d

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
www/webapp/o2o/dist/js/main.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
www/webapp/o2o/dist/js/model/user.js


+ 2 - 2
www/webapp/o2o/js/model/user.js

@@ -8,7 +8,7 @@ define(['base', '$', 'native', 'api', 'order', 'config', 'address'], function (b
 		}
 		User.instance = this;
 		this.storagePrefix = 'user_';
-		this.id = ''; //57e22bb59f5160c2048b456c//57e38f1b9f5160ac048b457d
+		this.id = '57e38f1b9f5160ac048b457d'; //57e22bb59f5160c2048b456c//57e38f1b9f5160ac048b457d
 		this.lastID = this.getCache('lastID', null, '');
 		this.name = '';
 		this.avatar='';
@@ -142,7 +142,7 @@ define(['base', '$', 'native', 'api', 'order', 'config', 'address'], function (b
 				// 	return b.coupon.value - a.coupon.value;
 				// });
 				that.usable_coupons.sort(function (a, b) {
-					return a.end_time - b.end_time;
+					return  b.start_time-a.start_time ;
 				});
 				that.used_coupons.sort(function (a, b) {
 					return a.end_time - b.end_time;

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio