<div id="suspend-home" class="suspend-home hide"> <a href="{{@root.indexUrl}}"> <span class="iconfont"></span> </a> </div> <script type="text/javascript"> var isWechat = /micromessenger/i.test(navigator.userAgent || ''); if (isWechat) document.getElementById('suspend-home').classList.remove('hide'); </script>