弹框提醒
2016-11-03 16:11 sihao560 阅读(128) 评论(0) 编辑 收藏 举报<button id="alert_alertBtn"
type="button" style="display:none"
class="am-btn am-btn-primary"
data-am-modal="{target: '#my-alert'}">
Alert
</button>
<div class="am-modal am-modal-alert" tabindex="-1" id="my-alert">
<div class="am-modal-dialog am-round-alert">
<div class="am-modal-hd">提示</div>
<div class="am-modal-bd" id="alert_alertMessage">
</div>
<div class="am-modal-footer">
<span class="am-modal-btn">确定</span>
</div>
</div>
</div>
<style>
.am-round-alert{
border-radius: 10px;
}
</style>
<script>
function wxAlert(message){
$("#alert_alertMessage").html(message);
$("#alert_alertBtn").click();
}
</script>