为了账号安全,请及时绑定邮箱和手机立即绑定

请问如何在nofity的提示框中加入按钮?

请问如何在nofity的提示框中加入按钮?

慕村225694 2018-10-11 15:14:28
我这样加的,但是没有反应。。谢谢!
查看完整描述

1 回答

?
30秒到达战场

TA贡献1828条经验 获得超6个赞

template: '<div data-noify="container" class="col-xs-11 col-sm-3 alert alert-{0}" role="alert">' +

                        '<span data-notify="icon"></span> ' +

                        '<span data-notify="title">{1}</span> ' +

                        '<span data-notify="message">{2}</span>' +

                        '<div class="progress" data-notify="progressbar">' +

                        '</div>' +

                        '<br />'+

                        '<button type="button" class="btn btn-sm btn-warning confirmDel" style="margin-top:20px;">确定</button>'+

                        '<button type="button" class="btn btn-sm btn-info undelete" style="margin-top:20px; margin-left:20px;">取消</button>'+

                        '</div>'

这样设置就行

查看完整回答
反对 回复 2018-11-25
  • 1 回答
  • 0 关注
  • 427 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号