• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • public
  • js
  • cart
  • index
  • recommend-for-you.js
  • merge master
    f48eaed1
    by 陈峰
    2017-01-04 15:54:32 +0800  
    Browse Files
recommend-for-you.js 443 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/**
 * 为你优选操作
 * @author: feng.chen<feng.chen@yoho.cn>
 * @date: 2016/12/29
 */

'use strict';

let $ = require('yoho-jquery');

let recommendObj = {
    init(handle) {
        let self = this;
        self.handle = handle;
        
        if ($('.recommend-for-you').length) {
            setTimeout(() => {
                require('../recommend-for-you-cart');
            }, 0)
        }
    }
}

module.exports = recommendObj;