Authored by lijing

增加局部css,删除多余图片,修改ajax的url

... ... @@ -16,7 +16,8 @@ exports.activity = (req, res, next) => {
}).then((result) => {
res.render('raffle/activity', Object.assign(result, {
title: 'Yoho!Buy 有货',
width750: true
width750: true,
localCss: true
}));
}).catch(next);
};
... ... @@ -45,7 +46,8 @@ exports.order = (req, res, next) => {
}),
title: 'Yoho!Buy 有货',
pageFooter: true,
order: result
order: result,
localCss: true
});
}).catch(next);
};
... ... @@ -81,6 +83,7 @@ exports.enter = (req, res) => {
res.render('raffle/enter', {
module: 'activity',
page: 'raffle',
localCss: true,
uid: req.user.uid
});
}
... ...
... ... @@ -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
},
... ...
... ... @@ -3,7 +3,6 @@
@import "vip-day10/index";
@import "student";
@import "market/index";
@import "raffle/index";
@import "shop-collect/shop-collect";
@import "single-day";
@import "ali-cloud";
... ...
@import "../../home/_order.css";
.wx-act-c {
width: 100%;
overflow: hidden;
... ...