...
|
...
|
@@ -41,6 +41,8 @@ var orderContent = require('activity/raffle/order-content.hbs'); |
|
|
|
|
|
require('../common');
|
|
|
|
|
|
require('activity/raffle/promotion.page.css');
|
|
|
|
|
|
// 减少计时
|
|
|
function downCount(item) {
|
|
|
var hoursItem = item.find('.hours');
|
...
|
...
|
@@ -122,7 +124,7 @@ function getOrders(option) { |
|
|
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: 'getOrders',
|
|
|
url: '/activity/raffle/getOrders',
|
|
|
data: opt,
|
|
|
success: function(data) {
|
|
|
var num;
|
...
|
...
|
@@ -204,7 +206,7 @@ orderHammer.on('tap', function(e) { |
|
|
orderCode = $cur.closest('.raffle-btn').attr('data-code');
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: 'lucky',
|
|
|
url: '/activity/raffle/lucky',
|
|
|
data: {
|
|
|
lotteryId: 1001,
|
|
|
userId: userId,
|
...
|
...
|
@@ -337,7 +339,7 @@ $(function() { |
|
|
userId = $('.dia-tip').val();
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: 'bind',
|
|
|
url: '/activity/raffle/bind',
|
|
|
data: {
|
|
|
userId: userId
|
|
|
},
|
...
|
...
|
|