src/main/webapp/views/index.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/webapp/views/index.html
@@ -169,9 +169,18 @@ let days = res.data if (days <= 30) { // 弹出一个简单的提示框 layer.alert('许可证有效期为:'+days, function(){ // 点击确认后执行的回调函数 layer.msg('请联系立库公司商务续约'); layer.alert(` <div style="font-size: 100px; text-align: center; line-height: 1.8; color: red"> 许可证有效期为:${days} </div> `, { area: ['1000px', '800px'], btn: '确定', btnAlign: 'c', // 按钮居中(默认是右对齐) yes: function(index) { layer.msg('请联系立库公司商务续约'); layer.close(index); } }); $("#licenseShow").show() $("#licenseDays").html(days)