creditManage.js
752 Bytes
define(function( require, exports, module ) {
/*
引入包
*/
var _Pophint = require( 'pophint' );
$(function(){
//温馨提示消失事件
var clock = setTimeout( function(){
$( ".manage-hint" ).slideUp();
}, 10000 );
$( ".manage-hint .hide" ).bind( "click", function(){
clearTimeout( clock );
$(this).parent().slideUp();
} );
if ( $(".sure-operation").length > 0 ){
$( ".sure-operation" ).click( function(){
new _Pophint( this,{
operation: function(target){
//确定要执行的操作
},
content: "你确定删除吗?",
showButton:true
});
} );
}
});
});