使用方式

<link rel="stylesheet" href="/components/style/loading.css" type="text/css" />
<script defer src="/components/js/loading.js" type="text/javascript"></script>
<button
  class="st_button is_plain"
  type="primary"
  size="mini"
  onclick="loading.open('loading1')"
>
  点击loading
</button>
<div id="loading1" style="height:100px;position:relative"></div>