修改appdown

This commit is contained in:
rain
2026-06-12 16:30:13 +08:00
parent cfc64c69e5
commit 056a064748
2 changed files with 227 additions and 801 deletions
+100 -269
View File
@@ -3,244 +3,96 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title id="page-title">彩先知 - APP下载</title>
<script src="../public/css/layui/layui.js"></script>
<title>彩先知 - APP下载</title>
<script src="../config.js"></script>
<script src="../utils/ApiClient.js"></script>
<script src="../utils/DateUtil.js"></script>
<script src="../utils/CommonUtil.js"></script>
<script src="../public/js/qrcode.min.js"></script>
<script src="../public/css/layui/layui.js"></script>
<link rel="stylesheet" href="../public/css/layui/css/layui.css" />
<link rel="stylesheet" href="../public/css/public.css" />
<link rel="stylesheet" href="../public/css/appdown.css" />
</head>
<body>
<!-- Header -->
<nav class="topbar" id="navbar">
<div class="topbar__inner">
<a href="index.html" class="topbar__brand">
<img
src="../images/home-logo.png"
alt="彩先知"
class="topbar__logo"
/>
</a>
<div class="topbar__nav" id="navLotteryItems">
<a href="index.html" class="topbar__nav-link">首页</a>
</div>
<div class="topbar__user">
<div id="notLoggedInBox" class="topbar__guest">
<a href="login.html" class="topbar__btn topbar__btn--ghost">登录</a>
<a href="reg.html" class="topbar__btn topbar__btn--primary"
>免费注册</a
<div class="app-download-container">
<div class="app-icon-container">
<img src="../images/home-logo.png" alt="彩先知图标" class="app-icon" />
</div>
<div class="app-basic-info">
<h1 class="app-name" id="appName">彩先知</h1>
<p class="app-version" id="appVersion">版本: 1.0.0</p>
<div class="divider"></div>
</div>
<div class="app-intro">
<h2 class="section-title">应用介绍</h2>
<p class="intro-text" id="appIntro">
彩先知为您提供开奖数据、预测分析和文章资讯,随时查看移动端内容。
</p>
</div>
<div class="download-section">
<h2 class="section-title">立即下载</h2>
<a href="/" class="download-btn-wrap" id="targetLink">
<button class="download-btn" type="button">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1024 1024"
class="download-icon"
aria-hidden="true"
>
</div>
<div id="loggedInBox" class="topbar__logged" style="display: none">
<a href="usercenter.html" class="topbar__profile">
<img
id="userAvatar"
src="../public/img/userimg.png"
alt=""
class="topbar__avatar"
/>
<div class="topbar__meta">
<span id="userName" class="topbar__uname">用户</span>
<span id="userLevel" class="topbar__ubadge">会员</span>
</div>
</a>
<button class="topbar__btn topbar__btn--logout" onclick="logout()">
退出登录
</button>
</div>
</div>
<path
fill="currentColor"
d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"
></path>
</svg>
<span class="btn-text">下载APK</span>
</button>
</a>
</div>
</nav>
</div>
<!-- Main Content -->
<main class="page-main">
<!-- Hero with QR -->
<div class="download-hero">
<div class="hero-text">
<h1>下载彩先知<span>APP</span></h1>
<p>随时随地查看预测分析,不错过任何精彩推荐</p>
<p>扫码下载,畅享移动端体验</p>
</div>
<div class="hero-qr">
<div class="hero-qr-box">
<img id="downloadQrImg" src="" alt="下载二维码" />
<div class="modal" id="wechatModal">
<div class="modal-content">
<div class="modal-content-box">
<div class="modal-content-img-box">
<img src="../public/img/jt.png" alt="" class="modal-content-img" />
</div>
<div class="hero-qr-label">扫描二维码下载APP</div>
</div>
</div>
<!-- Download Buttons -->
<div class="download-cards">
<div class="dl-card">
<div class="dl-card-icon android">
<i class="layui-icon layui-icon-android"></i>
</div>
<h3>Android 下载</h3>
<p>支持 Android 5.0 及以上系统<br />安装包大小约 15MB</p>
<a href="#" class="dl-btn android-btn" id="androidBtn"
>Android 下载</a
>
</div>
<div class="dl-card">
<div class="dl-card-icon ios">
<i class="layui-icon layui-icon-ios"></i>
</div>
<h3>iOS 下载</h3>
<p>支持 iOS 12.0 及以上系统<br />App Store 搜索"彩先知"</p>
<a href="#" class="dl-btn ios-btn" id="iosBtn">iOS 下载</a>
</div>
</div>
<!-- Features -->
<div class="features-section">
<div class="features-title">APP特色功能</div>
<div class="features-grid">
<div class="feature-item">
<div class="feature-icon">
<i class="layui-icon layui-icon-notice"></i>
</div>
<div class="feature-name">实时推送</div>
<div class="feature-desc">开奖结果即时通知</div>
</div>
<div class="feature-item">
<div class="feature-icon">
<i class="layui-icon layui-icon-chart"></i>
</div>
<div class="feature-name">走势分析</div>
<div class="feature-desc">专业走势图表工具</div>
</div>
<div class="feature-item">
<div class="feature-icon">
<i class="layui-icon layui-icon-star"></i>
</div>
<div class="feature-name">专家预测</div>
<div class="feature-desc">权威专家精准推荐</div>
</div>
<div class="feature-item">
<div class="feature-icon">
<i class="layui-icon layui-icon-group"></i>
</div>
<div class="feature-name">社区交流</div>
<div class="feature-desc">彩民互动交流平台</div>
<div class="modal-content-text">
请点击右上角菜单,选择在浏览器打开
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="site-footer">
<div class="site-footer__inner">
<img
src="../images/home-logo.png"
alt="彩先知"
class="site-footer__logo"
/>
<p id="copyright-info">彩先知以开奖数据、免费文章、资讯推荐为核心</p>
<div class="site-footer__meta">
<a
id="beian"
href="https://beian.miit.gov.cn/"
target="_blank"
style="font-size: 12px; color: rgba(255, 255, 255, 0.5)"
>工信部备案号</a
>
<span id="additional-info">本站仅供数据分析参考</span>
</div>
</div>
</footer>
<button
class="gotop"
id="backTop"
type="button"
onclick="window.scrollTo({ top: 0, behavior: 'smooth' })"
>
</button>
</div>
<script>
layui.use(["layer", "jquery"], function () {
var layer = layui.layer;
layui.use(["jquery"], function () {
var $ = layui.$;
// Load page config
CommonUtil.loadPageConfig({ ads: false, links: false });
// Check login state for topbar
checkLogin();
renderNav();
function checkLogin() {
var token = CommonUtil.getToken();
if (token) {
$("#notLoggedInBox").hide();
$("#loggedInBox").css("display", "flex");
CommonUtil.getCurrentUserDetail(
function (data) {
if (data) {
$("#userName").text(data.nickName || "用户");
$("#userLevel").text(data.isExpert === "1" ? "专家" : "会员");
if (data.avatar) {
$("#userAvatar").attr("src", data.avatar);
}
}
},
function () {
$("#notLoggedInBox").show();
$("#loggedInBox").hide();
},
);
}
}
function renderNav() {
ApiClient.post("/api/web/menu/getFormatList", {}).then(
function (res) {
if (res.code !== 0 || !res.data) return;
var $nav = $("#navLotteryItems");
$nav.find(".topbar__nav-link").not(":first").remove();
$.each(res.data, function (i, item) {
$nav.append(
'<a href="cai.html?id=' +
item.suoxie +
'" class="topbar__nav-link">' +
item.name +
"</a>",
);
});
},
);
}
$(window).on("scroll", function () {
$(window).scrollTop() > 320
? $("#backTop").addClass("is-visible")
: $("#backTop").removeClass("is-visible");
});
var downloadUrl = window.location.origin;
CommonUtil.generateQRCode(downloadUrl, "downloadQrImg", {
width: 180,
height: 180,
colorDark: "#102b6a",
colorLight: "#ffffff",
});
var DEFAULT_DOWNLOAD_INFO = {
appName: "彩先知",
version: "1.0.0",
intro: "随时随地查看预测分析,不错过任何精彩推荐",
downloadUrl: downloadUrl,
intro:
"彩先知为您提供开奖数据、预测分析和文章资讯,随时查看移动端内容。",
downloadUrl: window.location.origin || "/",
};
var DOWNLOAD_INFO_ENDPOINT = "/api/web/app/getDownloadInfo";
var $targetLink = $("#targetLink");
var $wechatModal = $("#wechatModal");
var $appName = $("#appName");
var $appVersion = $("#appVersion");
var $appIntro = $("#appIntro");
function isWeChatBrowser() {
var ua = navigator.userAgent.toLowerCase();
return ua.indexOf("micromessenger") !== -1;
}
function normalizeDownloadInfo(response) {
var data = response && (response.data || response.result || response);
if (!data || typeof data !== "object") return DEFAULT_DOWNLOAD_INFO;
return {
appName: data.appName || data.name || DEFAULT_DOWNLOAD_INFO.appName,
version: data.version || data.versionName || DEFAULT_DOWNLOAD_INFO.version,
version:
data.version || data.versionName || DEFAULT_DOWNLOAD_INFO.version,
intro:
data.intro ||
data.description ||
@@ -252,73 +104,52 @@
data.androidUrl ||
data.url ||
DEFAULT_DOWNLOAD_INFO.downloadUrl,
iosUrl: data.iosUrl || data.iphoneUrl || data.appStoreUrl || "",
};
}
function applyDownloadInfo(info) {
var nextInfo = $.extend({}, DEFAULT_DOWNLOAD_INFO, info || {});
if (nextInfo.appName) {
$(".hero-text h1").html("下载" + CommonUtil.escapeHtml(nextInfo.appName) + "<span>APP</span>");
}
if (nextInfo.intro) {
$(".hero-text p").first().text(nextInfo.intro);
}
if (nextInfo.downloadUrl) {
$("#androidBtn").attr("href", nextInfo.downloadUrl);
CommonUtil.generateQRCode(nextInfo.downloadUrl, "downloadQrImg", {
width: 180,
height: 180,
colorDark: "#102b6a",
colorLight: "#ffffff",
});
}
if (nextInfo.iosUrl) $("#iosBtn").attr("href", nextInfo.iosUrl);
var nextInfo = Object.assign({}, DEFAULT_DOWNLOAD_INFO, info || {});
$appName.text(nextInfo.appName);
$appVersion.text("版本: " + nextInfo.version);
$appIntro.text(nextInfo.intro);
$targetLink.attr("href", nextInfo.downloadUrl);
}
function loadDownloadInfo() {
return ApiClient.post(ApiClient.API.appDownloadInfo, {}, { publicRequest: true })
.then(function (response) {
if (ApiClient.isSuccess(response) || response.data || response.result) {
applyDownloadInfo(normalizeDownloadInfo(response));
}
})
.catch(function () {});
}
var config = window.CURRENT_CONFIG || {};
var baseUrl = config.API_BASE_URL || "";
var tenantId = config.TENANT_ID || "936208";
if (!baseUrl || !window.fetch) return;
// Load download links from page config
loadDownloadInfo();
ApiClient.post("/api/web/index", {})
.then(function (result) {
if (result.data && result.data.webConfigs) {
var configs = result.data.webConfigs;
configs.forEach(function (item) {
if (item.type === "android_download_url") {
$("#androidBtn").attr("href", item.content);
} else if (item.type === "ios_download_url") {
$("#iosBtn").attr("href", item.content);
} else if (item.type === "app_download_url") {
CommonUtil.generateQRCode(item.content, "downloadQrImg", {
width: 180,
height: 180,
colorDark: "#102b6a",
colorLight: "#ffffff",
});
}
});
}
fetch(baseUrl.replace(/\/$/, "") + DOWNLOAD_INFO_ENDPOINT, {
method: "POST",
headers: {
"Content-Type": "application/json",
tenantId: tenantId,
},
body: "{}",
})
.catch(function () {});
// Default fallback - generate QR for current origin
if (!$("#downloadQrImg").attr("src")) {
CommonUtil.generateQRCode(window.location.origin, "downloadQrImg", {
width: 180,
height: 180,
colorDark: "#102b6a",
colorLight: "#ffffff",
});
.then(function (response) {
if (!response.ok) throw new Error("HTTP " + response.status);
return response.json();
})
.then(function (response) {
applyDownloadInfo(normalizeDownloadInfo(response));
})
.catch(function (error) {
console.warn("加载APP下载配置失败,使用默认下载地址", error);
});
}
applyDownloadInfo(DEFAULT_DOWNLOAD_INFO);
loadDownloadInfo();
$targetLink.on("click", function (e) {
if (isWeChatBrowser()) {
e.preventDefault();
$wechatModal.css("display", "flex");
}
});
});
</script>
</body>
+127 -532
View File
@@ -1,584 +1,179 @@
/* ============================================================
appdown.css - App download page (appdown.html)
Uses CSS variables from public.css
============================================================ */
body {
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
sans-serif;
min-height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
background: #f7f8fa;
}
/* ============================
DOWNLOAD HERO - Main banner
============================ */
.download-hero {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--purple) 100%);
padding: 60px 40px;
border-radius: 20px;
margin-bottom: 32px;
.app-download-container {
max-width: 400px;
margin: 20px auto;
padding: 30px 20px 100px;
background: #ffffff;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
color: var(--white);
position: relative;
overflow: hidden;
flex-direction: column;
}
.download-hero::before {
content: '';
position: absolute;
top: -120px;
right: -100px;
width: 350px;
height: 350px;
border-radius: 50%;
background: rgba(253, 185, 51, 0.08);
}
.download-hero::after {
content: '';
position: absolute;
bottom: -80px;
left: -60px;
width: 240px;
height: 240px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.04);
}
/* ============================
HERO CONTENT - Text & buttons
============================ */
.download-hero-content {
position: relative;
z-index: 1;
flex: 1;
}
.download-hero-title {
font-size: 36px;
font-weight: 800;
line-height: 1.3;
margin: 0 0 12px;
color: var(--white);
}
.download-hero-title span {
color: var(--gold);
}
.download-hero-desc {
font-size: 16px;
color: rgba(255, 255, 255, 0.75);
line-height: 1.8;
margin: 0 0 24px;
}
.download-hero-btns {
.app-icon-container {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.download-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 32px;
border-radius: 28px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.3s;
text-decoration: none;
position: relative;
overflow: hidden;
}
.download-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
transition: left 0.5s;
}
.download-btn:hover::before {
left: 100%;
}
.download-btn i,
.download-btn .btn-icon {
font-size: 20px;
}
.download-btn:hover {
transform: translateY(-2px);
}
.download-btn:active {
transform: translateY(0);
}
.download-btn-ios {
background: var(--white);
color: var(--primary);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.download-btn-ios:hover {
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
background: var(--white);
}
.download-btn-android {
background: linear-gradient(135deg, var(--green), #1e8449);
color: var(--white);
box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
}
.download-btn-android:hover {
box-shadow: 0 6px 24px rgba(39, 174, 96, 0.4);
}
/* ============================
PHONE MOCKUP
============================ */
.download-phone-mockup {
position: relative;
z-index: 1;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
.download-phone-mockup .phone-frame {
width: 260px;
height: 520px;
background: rgba(255, 255, 255, 0.1);
border-radius: 36px;
border: 3px solid rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
position: relative;
backdrop-filter: blur(8px);
}
.download-phone-mockup .phone-screen {
width: 230px;
height: 490px;
background: rgba(255, 255, 255, 0.08);
border-radius: 28px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.download-phone-mockup .phone-screen img {
max-width: 100%;
max-height: 100%;
.app-icon {
width: 210px;
max-width: 80%;
max-height: 80px;
object-fit: contain;
}
.download-phone-mockup .phone-notch {
position: absolute;
top: 12px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 6px;
background: rgba(255, 255, 255, 0.3);
border-radius: 3px;
}
/* QR Code in hero */
.download-hero .hero-qr {
position: relative;
z-index: 1;
flex-shrink: 0;
}
.hero-qr-box {
background: var(--white);
border-radius: 16px;
padding: 16px;
.app-basic-info {
text-align: center;
margin-bottom: 35px;
}
.hero-qr-box img {
width: 180px;
height: 180px;
display: block;
margin: 0 auto;
}
.hero-qr-label {
font-size: 13px;
color: var(--primary);
font-weight: 600;
margin-top: 8px;
}
/* ============================
DOWNLOAD FEATURES
============================ */
.download-features {
background: var(--white);
border-radius: 16px;
padding: 40px;
box-shadow: var(--shadow-sm);
margin-bottom: 32px;
}
.download-features .features-title {
.app-name {
font-size: 22px;
font-weight: 700;
color: var(--primary);
text-align: center;
margin: 0 0 32px;
color: #333333;
margin: 0 0 8px;
}
.feature-item {
text-align: center;
padding: 20px;
border-radius: var(--radius-lg);
transition: all 0.3s;
}
.feature-item:hover {
background: var(--bg-light);
transform: translateY(-4px);
}
.feature-icon {
width: 56px;
height: 56px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 12px;
font-size: 26px;
color: var(--white);
background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.feature-title {
font-size: 16px;
font-weight: 700;
color: var(--primary);
margin-bottom: 4px;
}
.feature-desc {
font-size: 13px;
color: var(--text-muted);
line-height: 1.6;
}
/* Features grid layout */
.features-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
/* ============================
DOWNLOAD CARDS
============================ */
.download-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
margin-bottom: 32px;
}
.download-card {
background: var(--white);
border-radius: 16px;
padding: 32px;
text-align: center;
box-shadow: var(--shadow-sm);
transition: transform 0.3s, box-shadow 0.3s;
}
.download-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
}
.download-card-icon {
width: 64px;
height: 64px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
margin: 0 auto 16px;
color: var(--white);
}
.download-card-icon.android {
background: linear-gradient(135deg, #3ddc84, #2fa866);
}
.download-card-icon.ios {
background: linear-gradient(135deg, #007aff, #005ecb);
}
.download-card-title {
font-size: 20px;
font-weight: 700;
color: var(--primary);
margin-bottom: 6px;
}
.download-card-desc {
.app-version {
font-size: 14px;
color: var(--text-muted);
margin-bottom: 20px;
line-height: 1.5;
color: #666666;
margin: 0;
}
/* Card download buttons */
.dl-btn {
display: inline-block;
padding: 12px 40px;
border-radius: 24px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.3s;
text-decoration: none;
}
.dl-btn.android-btn {
background: linear-gradient(135deg, #3ddc84, #2fa866);
color: var(--white);
}
.dl-btn.android-btn:hover {
box-shadow: 0 4px 16px rgba(61, 220, 132, 0.4);
transform: translateY(-2px);
}
.dl-btn.ios-btn {
background: linear-gradient(135deg, #007aff, #005ecb);
color: var(--white);
}
.dl-btn.ios-btn:hover {
box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
transform: translateY(-2px);
}
/* ============================
PAGE HEADER / NAV (shared)
============================ */
.page-header {
width: 1400px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 0;
}
.page-header .logo-wrap {
display: flex;
align-items: center;
gap: 12px;
}
.page-header .logo-wrap img {
height: 44px;
}
.page-header .logo-text {
font-size: 26px;
font-weight: 700;
color: var(--primary);
}
.page-header .logo-text span {
color: var(--orange);
}
.page-header .header-right {
display: flex;
align-items: center;
gap: 16px;
}
.page-header .header-right a {
font-size: 14px;
color: var(--primary);
font-weight: 500;
transition: color 0.2s;
text-decoration: none;
}
.page-header .header-right a:hover {
color: var(--orange);
}
.page-nav {
.divider {
width: 100%;
background: var(--primary);
display: flex;
justify-content: center;
height: 1px;
background: #eeeeee;
margin: 16px auto 0;
}
.page-nav-inner {
width: 1400px;
.app-intro {
margin-bottom: 30px;
}
.section-title {
font-size: 24px;
font-weight: 700;
color: #333333;
margin: 0 0 12px;
}
.intro-text {
font-size: 14px;
color: #666666;
line-height: 1.5;
margin: 0;
}
.download-section {
text-align: center;
}
.download-btn-wrap {
display: inline-block;
text-decoration: none;
margin-top: 30px;
}
.download-btn {
display: flex;
align-items: center;
justify-content: center;
width: 170px;
height: 50px;
}
.page-nav-inner a {
width: 140px;
display: flex;
font-size: 16px;
justify-content: center;
line-height: 50px;
text-align: center;
color: var(--white);
background: rgb(0, 164, 250);
color: #ffffff;
border: none;
border-radius: 7px;
font-size: 18px;
cursor: pointer;
transition: background 0.3s;
text-decoration: none;
transition: all 0.3s ease;
}
.page-nav-inner a:hover {
background: rgba(253, 185, 51, 0.2);
.download-btn:hover {
background: rgb(0, 164, 250);
transform: translateY(-2px);
}
.page-nav-inner a.active {
background: rgba(253, 185, 51, 0.3);
.download-icon {
width: 20px;
height: 20px;
margin-right: 8px;
fill: #ffffff;
}
.page-main {
width: 1400px;
margin: 20px auto;
.btn-text {
margin: 0;
}
/* ============================
RESPONSIVE STYLES
============================ */
@media (max-width: 1024px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 100;
}
@media (max-width: 768px) {
.page-header,
.page-nav-inner,
.page-main {
width: 100%;
padding: 0 16px;
}
.modal-content {
width: 100%;
display: flex;
justify-content: flex-end;
}
.download-hero {
flex-direction: column;
text-align: center;
padding: 40px 24px;
}
.modal-content-box {
width: 100%;
display: flex;
align-items: flex-end;
flex-direction: column;
}
.download-hero-title {
font-size: 26px;
}
.modal-content-img-box {
margin-right: 30px;
}
.download-hero-desc {
font-size: 14px;
}
.modal-content-img {
width: 178px;
}
.download-hero-btns {
justify-content: center;
}
.download-phone-mockup .phone-frame {
width: 200px;
height: 400px;
}
.download-phone-mockup .phone-screen {
width: 174px;
height: 372px;
}
.download-cards {
grid-template-columns: 1fr;
}
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
.download-features {
padding: 24px;
}
.page-nav-inner a {
width: auto;
padding: 0 14px;
font-size: 14px;
}
.modal-content-text {
margin-right: 68px;
margin-top: 7px;
font-size: 14px;
color: #ffffff;
}
@media (max-width: 480px) {
.download-hero {
padding: 28px 16px;
border-radius: var(--radius-lg);
body {
padding: 12px;
}
.download-hero-title {
.app-download-container {
margin: 12px auto;
padding: 26px 18px 88px;
}
.section-title {
font-size: 22px;
}
.download-hero-btns {
flex-direction: column;
width: 100%;
.modal-content-text {
max-width: 220px;
margin-right: 28px;
text-align: right;
line-height: 1.5;
}
.download-btn {
width: 100%;
justify-content: center;
}
.download-phone-mockup {
display: none;
}
.download-cards {
gap: 16px;
}
.download-card {
padding: 24px 16px;
}
.features-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.download-features {
padding: 20px;
}
.page-header .logo-text {
font-size: 20px;
}
.page-nav-inner a {
font-size: 12px;
padding: 0 8px;
}
}
}