官网地址:http://layer.layui.com/hello.html

引入代码

<script src="jQuery的路径"></script> <!-- 你必须先引入jQuery1.8或以上版本 -->
  <script src="layer.js的路径"></script>

1.loading

// 开始加载
var index = parent.layer.load(0, {shade: false}); //0代表加载的风格,支持0-2
// 关闭加载
layer.close(index)

 

相关文章:

  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-03-02
  • 2023-04-04
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-12-12
  • 2021-07-30
  • 2021-07-28
  • 2021-09-17
  • 2021-07-02
  • 2021-09-14
相关资源
相似解决方案