170 lines
3.7 KiB
HTML
170 lines
3.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>应用名称 - 下载</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f4f4f4;
|
|
}
|
|
|
|
.container {
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.content {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
top: 28%;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
p {
|
|
color: #666;
|
|
text-align: center;
|
|
}
|
|
|
|
.download-link {
|
|
display: block;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
a{
|
|
text-decoration: none;
|
|
}
|
|
.btn {
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 5px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.btn-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.btn-android {
|
|
color: #ee2c37;
|
|
border: 1px solid #ee2c37;
|
|
background-color: #fff;
|
|
}
|
|
.btn-ios{
|
|
color: #fff;
|
|
border: 1px solid #fff;
|
|
background-color: #5895e8;
|
|
}
|
|
.btn-text{
|
|
margin-left: 10px;
|
|
}
|
|
.btn-title{
|
|
font-size: 16px;
|
|
}
|
|
.btn-subtitle{
|
|
font-size: 12px;
|
|
}
|
|
|
|
.download-link a:hover {
|
|
background-color: #5895e8;
|
|
}
|
|
|
|
.wechat-warning {
|
|
display: none;
|
|
color: red;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.logo {
|
|
width: 90px;
|
|
height: 90px;
|
|
margin: 0 auto;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.download-wrap {
|
|
padding: 0 30px;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.w-full {
|
|
width: 100%;
|
|
}
|
|
|
|
.h-full {
|
|
height: 100%;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="content">
|
|
<div class="logo">
|
|
<img src="" alt="" srcset="">
|
|
</div>
|
|
<h1>托管门店助手</h1>
|
|
<div class="download-wrap">
|
|
<a href="链接到你的应用下载地址">
|
|
<div class="btn btn-android">
|
|
<div class="btn-icon">
|
|
<img class="w-full h-full" src="./android-fill.svg" alt="" srcset="">
|
|
</div>
|
|
<div class="btn-text">
|
|
<div class="btn-title">Android.Harmony 版本</div>
|
|
<div class="btn-subtitle">直接下载安装包</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
<br/>
|
|
<a href="链接到你的应用下载地址">
|
|
<div class="btn btn-ios">
|
|
<div class="btn-icon">
|
|
<img class="w-full h-full" src="./IOS.svg" alt="" srcset="">
|
|
</div>
|
|
<div class="btn-text">
|
|
<div class="btn-title">iPhone 版本</div>
|
|
<div class="btn-subtitle">下载安装</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<!-- <p class="wechat-warning" id="wechatWarning">请使用浏览器打开链接以下载应用。</p> -->
|
|
</div>
|
|
|
|
<script>
|
|
// 检测是否在微信中打开,并显示相应提示
|
|
// var userAgent = navigator.userAgent.toLowerCase();
|
|
// if (userAgent.indexOf('micromessenger') !== -1) {
|
|
// document.getElementById('downloadButton').style.display = 'none';
|
|
// document.getElementById('wechatWarning').style.display = 'block';
|
|
// }
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|