Blame view

public/js/product/outlet-will-start.page.js 566 Bytes
runner authored
1 2 3 4
/**
 * Created by runner on 16/6/14.
 */
var $ = require('yoho-jquery'),
runner authored
5 6
    tip = require('../plugin/tip'),
    iscroll = require('./outlet/nav');
runner authored
7
biao authored
8
require('../common');
biao authored
9
require('./outlet/set-backurl');
runner authored
10
runner authored
11 12 13 14 15 16 17
// 导航滚动
if ($('#index_nav').length > 0) {
    iscroll({
        el: '#index_nav'
    }).goto($('#index_nav').find('.active').index());
}
runner authored
18 19
if ($('.back-ground-white').length < 1) {
    $('.empty').show();
runner authored
20 21
}
biao authored
22
$('.back-ground-white').on('click', function() {
runner authored
23
    tip.show('活动即将开始,敬请期待!');
runner authored
24 25
    return false;
});
runner authored
26 27

$('.cd-medium').show();