75 lines
2.1 KiB
HTML
75 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>大象之家</title>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="description" content="大象之家app下载">
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="msapplication-tap-highlight" content="no">
|
|
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
|
|
<link rel="icon" type="image/ico" href="favicon.ico">
|
|
<style>
|
|
html{
|
|
background: linear-gradient(135deg,#3cab89,#428886);
|
|
height:100%;
|
|
}
|
|
body{
|
|
padding:40px 20px;
|
|
text-align:center;
|
|
}
|
|
.tips{width:100%;
|
|
border-radius: 20px;
|
|
margin-top: 60px;
|
|
background: #fff;
|
|
height:30vh;
|
|
padding:20px;
|
|
box-sizing: border-box;
|
|
text-align:center;
|
|
color:#333;
|
|
font-size: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height:42px;
|
|
}
|
|
img{border: none;}
|
|
a{
|
|
color:#fff;
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
margin-top:20px;
|
|
width:10em;background:#428886;
|
|
}
|
|
p{color:#fff; font-size:26px;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<img src="./logo.png" width="128" height="128" />
|
|
<p class="desc">
|
|
为您打造专属店铺品牌
|
|
</p>
|
|
<div id="message" class="tips">
|
|
正在定制安装包,请稍后...
|
|
</div>
|
|
<script src="./axios.min.js"></script>
|
|
<script>
|
|
function check(){
|
|
axios.get('//file.daxiangzj.com/client/ipa_build'+window.location.search).then(function (response) {
|
|
let url = response.data?.data?.url
|
|
if(!url){
|
|
throw new Error('Please Wait...');
|
|
}
|
|
document.getElementById('message').innerHTML = '定制成功!点击下载安装应用吧~<a hr'+'ef="'+url+'">下载</a>';
|
|
// window.location.href = url;
|
|
}).catch(function () {
|
|
setTimeout(check, 1000);
|
|
});
|
|
}
|
|
check();
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|