Authored by 陈轩

FIX vipday

... ... @@ -41,7 +41,7 @@ exports.beforeIn = (req, res, next) => {
exports.index = (req, res, next) => {
res.locals.module = 'activity';
res.locals.page = 'vipday_entry';
res.locals.page = 'vipday-entry';
res.locals.width750 = true;
let cate = {
... ... @@ -79,7 +79,7 @@ exports.index = (req, res, next) => {
exports.crazyWheel = (req, res, next) => {
res.locals.module = 'activity';
res.locals.page = 'vipday_wheel';
res.locals.page = 'vipday-wheel';
res.locals.width750 = true;
if (!req.session.playwheel) {
... ... @@ -103,7 +103,7 @@ exports.crazyLuck = (req, res, next) => {
const uid = req.user.uid;
res.locals.module = 'activity';
res.locals.page = 'vipday_luck';
res.locals.page = 'vipday-luck';
res.locals.width750 = true;
co(function* () {
... ...
<div class="invite-page invite-page-bg">
<div class="invite-content-list">
<div>
<!--<img src="//cdn.yoho.cn/m-yohobuy-node/assets/img/activity/invite/title_new.png" />-->
<!--<br />-->
<img class="banner" src="{{imgSrc 'img/activity/invite/title_new.png'}}" />
<br />
<p class="fz14 intro-title">
只需1位小伙伴领取,<br/>
即得<strong class="fz17">10元现金券</strong><br/>
... ... @@ -15,7 +15,7 @@
</p>
<a href="javascript:void(0)" class="weal-btn fz16" id="send_gift">立刻发福利</a>
<h2 class="rule-tit fz15">活动细则</h2>
<ol class="rule-con">
<ol class="rule-con hide">
<li>本次活动所获现金券仅限Yoho!Buy有货商城购买商品使用,不得转借他人,不可兑换现金;</li>
<li>一个订单只可使用一张优惠券,优惠券需在有效期内使用,过期则无法使用;</li>
<li>使用优惠券支付的订单,退款结算按照实际支付金额退款,优惠券返还账户,且有效期不变;</li>
... ...
... ... @@ -187,7 +187,7 @@ gulp.task('webpack-dev-server', () => {
new WebpackDevServer(webpack(devConfig), {
contentBase: '.',
publicPath: '//localhost:5001/',
publicPath: 'http://localhost:5001/',
hot: true,
stats: {
colors: true
... ...
... ... @@ -4,7 +4,7 @@ require('plugin/modal.alert');
require('../common');
var yoho = require('js/yoho-app');
var tip = require('plugin/tip');
var Game = require('./vip_day/game');
var Game = require('./vip-day/game');
window.$ = $;
... ...
... ... @@ -3,7 +3,7 @@
require('plugin/modal.alert');
require('../common');
var yoho = require('js/yoho-app');
var Game = require('./vip_day/game');
var Game = require('./vip-day/game');
window.$ = $;
... ...
... ... @@ -10,6 +10,12 @@
font-family: "Microsoft YaHei";
color: #fff;
.banner {
width: 445px;
height: 359px;
margin-top: 50px;
}
.intro-title {
margin-top: 90px;
}
... ... @@ -19,11 +25,6 @@
text-align: center;
color: #fff;
.banner {
width: 445px;
height: 359px;
margin-top: 50px;
}
.logo {
width: 328px;
... ...