Authored by runner

no activity update

... ... @@ -56,8 +56,8 @@ exports.activityList = (req, res) => {
});
let categoryId = req.query.category_id;
let type = req.query.type || 2;
let template = parseInt(type) === 2 ? 'outlet/will-end' : 'outlet/will-start';
let page = parseInt(type) === 2 ? 'outlet-will-end' : 'outlet-will-start';
let template = parseInt(type, 10) === 2 ? 'outlet/will-end' : 'outlet/will-start';
let page = parseInt(type, 10) === 2 ? 'outlet-will-end' : 'outlet-will-start';
if (!categoryId) {
throw new Error('No parent_id for OUTLET channel page!');
... ...
... ... @@ -3,7 +3,7 @@
<img class="back-image" src="{{image coverUrl 640 300}}">
<div class="center-square">
<div class="title">{{title}}</div>
<div class="num"><span class="discountNum">{{discountNum}}</span> {{discountText}}</div>
<div class="num"><span class="discount-num">{{discountNum}}</span> {{discountText}}</div>
{{>product/outlet/countdown}}
</div>
</a>
... ...
... ... @@ -12,7 +12,7 @@ require('../common');
if ($el.length > 0) {
$el.each(function() {
Countdown.Countdown({
new Countdown.Countdown({
el: $(this)
});
});
... ...
... ... @@ -12,7 +12,7 @@ require('../common');
if ($el.length > 0) {
$el.each(function() {
Countdown.Countdown({
new Countdown.Countdown({
el: $(this)
});
});
... ...
... ... @@ -58,7 +58,7 @@
font-size: 25px;
color: #ff0705;
.discountNum {
.discount-num {
font-size: 40px;
}
}
... ...