zoukankan      html  css  js  c++  java
  • layui 页面加载 阴影 请求页面加载转圈页面

    var layerIndex= layer.load(1,{shade: [0.3, '#000']});
    $.post('${pageContext.request.contextPath}/leaguer/reDeductFeeByReportId', formData, function (data) {
        //判断是否发送成功
        if (data.code == 200) {
            layer.close(layerIndex);
            layer.msg("扣费成功");
            var int=self.setInterval(function(){  // 这个方法是说在延迟两秒后执行大括号里的方法
              parent.document.getElementById('my_iframe').contentWindow.location.reload(true)
                // 这个方法是刷新当前页面
            },2000);
        } else {
            layer.msg(data.message, {type: 1});
        }
    })
  • 相关阅读:
    OMNETPP: tictoc
    OMNETPP安装
    Unified SR
    SCM
    DC tunnel
    AIMD
    AQM
    MANAGER POJ1281 C语言
    Pascal Library C语言 UVALive3470
    The 3n + 1 problem C语言 UVA100
  • 原文地址:https://www.cnblogs.com/yysbolg/p/8430794.html
Copyright © 2011-2022 走看看