Newer
Older
smartKitchenFront / public / htmlModel / resources / Other.html
liuyangyingjie on 31 Oct 2022 832 bytes feat(修改问题,添加注释): 整体提交
<html>
	<head>
		<title></title>
	</head>
	<body>
	<br />
	<div style="width:100%; text-align:center; font-family:Arial; font-size:12px;" id=other></div>
	<br />
	<div style="width:100%; text-align:center; font-family:Arial; font-size:12px;">
	    <button onclick="parent.window.close();">
		    Close
	    </button>
	</div>

	<SCRIPT src="axurerp_pagescript.js"></SCRIPT>

	<script language=javascript>
	function getQueryVariable(variable) {
      var query = window.location.hash.substring(1);
      var vars = query.split("&&&");
      for (var i=0;i<vars.length;i++) {
        var pair = vars[i].split("=");
        if (pair[0] == variable) {
          return decodeURI(pair[1]);
        }
      }
    }

	var other = document.getElementById('other');
	other.innerHTML = getQueryVariable('other');

	</script>

	</body>
</html>