Authored by 郭成尧

'mg-master'

... ... @@ -129,7 +129,7 @@ const index = (req, res) => {
res.cookie('udid', req.query.udid);
res.cookie('clientType', req.query.client_type);
res.cookie('appVersion', req.query.app_version);
res.render('installment/open-index', _.assign({
module: 'home',
page: 'installment',
... ...
... ... @@ -18,6 +18,7 @@ const cachePage = {
// 商品详情页
'/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/': 30 * MINUTE,
'/product/\\/show_([\\d]+)/': 30 * MINUTE,
// 商品详情ajax
// 逛
... ...
... ... @@ -3,8 +3,8 @@
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
//加载css
require("channel/home.page.css")
// 加载css
require('channel/home.page.css');
var $ = require('yoho-jquery'),
... ...
module.exports = function (url, opts) {
module.exports = function(url, opts) {
if (url) {
let params = opts.hash;
let urls = url.split('?');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
require("guang/index-editor.page.css")
require('guang/index-editor.page.css');
var $ = require('yoho-jquery');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
require("guang/index.page.css")
require('guang/index.page.css');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/13
*/
require("guang/info-index.page.css")
require('guang/info-index.page.css');
var $ = require('yoho-jquery'),
ellipsis = require('yoho-mlellipsis'),
... ...
... ... @@ -175,4 +175,4 @@ $disLikeBtn.bind('click', function() {
dialogText: '网络错误~'
});
});
});
\ No newline at end of file
});
... ...
... ... @@ -48,7 +48,7 @@ module.exports = {
var opt = args[args.length - 1];
var isTrue = false;
for (var i = 0; i < args.length - 1; i ++ ) {
for (var i = 0; i < args.length - 1; i++) {
if (args[i]) {
isTrue = true;
break;
... ...