6-07 3,785 views
引入CSS JS
//css
<link rel="stylesheet" href="https://cdn.bootcss.com/noty/3.1.4/noty.min.css">
//js
<script src="https://cdn.bootcss.com/noty/3.1.4/noty.min.js"></script>
使用方法
$(function(){
new Noty({
text: 'success',
layout:'center',
theme : 'relax',
type:'success',
timeout:'1500',
modal:true
}).show();
更多使用方法 请查看 官方 https://ned.im/noty/[/danger]