datetimepicker设置时间精确到时分秒

正文开始

 var sellDateFrom = addForm.find('.sellDateFrom');
        var sellDateEnd = addForm.find('.sellDateEnd');
        $([sellDateFrom,sellDateEnd]).datetimepicker({
            language: 'zh-CN',
            bootcssVer: 3,//解决箭头不显示的版本问题
            format: 'yyyy-mm-dd h:ii',
            daysOfWeekDisabled: [],   //星期几不可选
            forceParse: true,         //是否强制转换不符合格式的字符串
            keyboardNavigation: false, //是否显示箭头导航
            weekStart: 0,
            autoclose: 1,
            todayHighlight: false,
            startView: 'month',
            minView:'hour',
            maxView:'month',
        });

正文结束

js 正则替换返回值做回调函数 jq 设置背景图片 css background-image: url