js/confirmTrans.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
js/confirmTrans.js
New file @@ -0,0 +1,20 @@ function explainCount(txt) { layer.open({ type: 1, title: false,//不显示标题栏 closeBtn: false, area: '400px;', shade: 0.8, id: 'LAY_layuipro',//设定一个id,防止重复弹出 btn: ['已知晓'], btnAlign: 'c', moveType: 1,//拖拽模式,0或者1 content: '<div style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;">' +txt + '</div>', success: function(layero) { var btn = layero.find('.layui-layer-btn'); btn.find('.layui-layer-btn0').attr({ target: '_blank' }); } }); }