Authored by weiqingting

完善

... ... @@ -6,6 +6,7 @@
var Order = {
/*业务数据*/
Data: {
product: 0,
activity: 0,
... ... @@ -13,6 +14,7 @@ var Order = {
juan: 0,
yohocoin: 0
},
/*view 交互*/
UI: {
e: {
$pan: $('.pan'),
... ... @@ -83,10 +85,9 @@ var Order = {
/*取消关闭小窗口*/
e.$cancel.click(function() {
var p = $(this).parents('.pan');
var pan = $(this).parents('.pan');
p.find('dt').show();
p.find('dd').hide();
c.winHide(pan);
});
e.$statistics.slice(3, 5).find('a').click(function() {
... ... @@ -117,6 +118,7 @@ var Order = {
}
},
/*公共方法*/
Common: {
enterNUM: function(str1, str2) {
str1 = str1.replace(/[^\d]/g, '');
... ... @@ -152,6 +154,7 @@ var Order = {
return parseFloat(str).toFixed(2);
}
},
/*业务逻辑*/
Submit: {
e: {
$juanok: $('#juansubmit'),
... ...