隐私政策、私有化部署使用新标签页打开;删除接受cookies页面、二维码扫码页面;删除日志底部定义的线

This commit is contained in:
gwok 2023-07-26 21:00:04 +08:00
parent 5d52cb823f
commit e87e69fa1d
21 changed files with 53 additions and 354 deletions

View File

@ -124,9 +124,7 @@
.logs-t-768{
display: none;
}
.filings{
border-top: 1px solid var(--border-color);
}
.log-a{
display: block;
width: 100%;

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -169,7 +169,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank" >Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -349,7 +349,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001624 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>

View File

@ -1,121 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DooTask</title>
<meta name="google" value="notranslate">
<meta name="description" content="Lightweight open source online project task management tool to help teams efficiently advance their projects and make work easier.">
<meta name="keywords" content="China DooTask Task management Lightweight Hitosea Teamwork">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../img/favicon.ico">
<link rel="stylesheet" href="../css/common.css">
<link rel="stylesheet" href="../css/distribution.css">
</head>
<body>
<main class="distrbution">
<img class="bg_fpic1" src="../img/bg_fpic1.svg" alt="广西海豚有海信息科技公司,HITOSEA,海豚有海,广西海豚有海">
<img class="bg_fpic2" src="../img/bg_fpic2.svg" alt="广西海豚有海信息科技公司,HITOSEA,海豚有海,广西海豚有海">
<section>
<div class="content">
<div class="layout" id="target">
<img class="icon1" src="../img/logo_y.svg" alt="DooTask">
<div class="qr_code">
<i id="qrcode" class="qrcode_box"></i>
</div>
<div class="name">
<img class="icon2" src="../img/android_y.svg" alt="安卓,abdroid">
<i class="">DooTask</i>
</div>
<div class="scan">
<i class="scan-txt" style="margin-bottom: 4px;">Scan the QR code to download</i>
<span class="scan-txt" style="margin-bottom: 18px;">
Or type in this URL using your mobile browser:
<i class="scan-txt-b">http://dootask.com/</i>
</span>
</div>
<div class="line-con">
<i class="line1"></i>
<i class="line2">App cannot be downloaded from within WeChat/QQ</i>
</div>
<div class="info-btn">
<button class="info-dow" onclick="dowHandle()">Download & Install</button>
<i class="info-tip">Android devices only</i>
</div>
<div class="info">
<span class="info-t">
<i>v0.27.46 - </i>
<i>64.86 MB</i>
</span>
<span class="info-b">2023-06-19Update</span>
</div>
</div>
<div class="operat-tips">
<div class="operat-con">
<i class="lower_triangle"></i>
<div class="group_num">
<p>Please click on the top right corner</p>
<p>Select "Open in browser"</p>
</div>
</div>
</div>
</div>
</section>
</main>
</body>
<script src="//cdn.bootcdn.net/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
<script>
const dowBtnDom = document.querySelector('.info-dow')
const line1Dom = document.querySelector('.line1')
const line2Dom = document.querySelector('.line2')
const tipDom = document.querySelector('.info-tip')
const infoDom = document.querySelector('.info')
const operatDom = document.querySelector('.operat-tips')
const ua = window.navigator.userAgent.toLowerCase();
const isWechat = /micromessenger/.test(ua);
const isAndroid = /android/.test(ua);
let timer;
if(!isAndroid){
dowBtnDom.style.display = 'none'
infoDom.style.display = 'none'
tipDom.style.display = 'inline-block'
}else{
if(isWechat){
// 在微信中,显示下载按钮
dowBtnDom.style.display = 'block'
tipDom.style.display = 'none'
}else{
// 不在微信中,直接下载 app
window.location.href = "https://www.dootask.com/uploads/android/DooTask-v0.27.46-android.apk";
}
}
const dowHandle = ()=>{
if(isWechat){
operatDom.style.display = 'block'
line2Dom.style.display = 'block'
line1Dom.style.display = 'none'
dowBtnDom.style.display = 'none'
infoDom.style.display = 'none'
}else{
dowBtnDom.style.color = '#b3e19d'
dowBtnDom.style.backgroundColor = '#f0f9eb'
dowBtnDom.style.borderColor = '#e1f3d8'
dowBtnDom.disabled = true;
timer = setTimeout(()=>{
dowBtnDom.style.color = '#fff'
dowBtnDom.style.backgroundColor = '#8BCF70'
dowBtnDom.style.borderColor = 'transparent'
dowBtnDom.disabled = false;
clearTimeout(timer)
},5000)
}
window.location.href = "https://www.dootask.com/uploads/android/DooTask-v0.27.46-android.apk";
}
/* 生成网页二维码二维码 */
if(window.location.host !== ''){
const url = window.location.href;
const matchResult = url.match(/^(.*?)(?=\/site)/);
const result = matchResult[1];
new QRCode(document.getElementById('qrcode'), `${result}/site/en/distribute.html`); // 测试
}
</script>
</html>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -179,7 +179,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -298,7 +298,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>

View File

@ -80,7 +80,7 @@
>
<a
class="txt-4001418 txt-sub"
href="../en/privacy.html"
href="../en/privacy.html" target="_blank"
>Privacy Policy</a
>
</li>
@ -422,7 +422,7 @@
<li class="drawer-item" onclick="changeMenu()">
<a
class="txt-4001620 txt"
href="../en/privacy.html"
href="../en/privacy.html" target="_blank"
>Privacy Policy</a
>
</li>
@ -2281,7 +2281,7 @@
<li class="footer-ol-item mb-16">
<a
class="txt-4001624 txt"
href="../en/privacy.html"
href="../en/privacy.html" target="_blank"
>Privacy Policy</a
>
</li>

View File

@ -14,12 +14,6 @@
</head>
<body>
<div id="layout">
<!-- 同意cookie弹框 -->
<div id="cookieConsent">
<p>We use cookies (including third-party cookies) for security, technical, analytical and marketing purposes in order to enable our website to serve you properly, to improve security and to operate more efficiently in order to provide you with a better website experience. By continuing to browse this website, you are consenting to the use of cookies; for more information on how we use cookies, please see our <a href="../en/privacy.html" id="cookie_a">《Privacy Policy》</a></p>
<button id="agreeButton" class="btn btn-primary" >agree</button>
</div>
<!-- 页头区域 -->
<header class="head">
<div class="nav">
@ -48,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -117,7 +111,7 @@
<button class="btn btn-primary mr-20">Get Started</button>
</a>
</span>
<a href="https://github.com/kuaifan/dootask/tree/pro" >
<a href="https://github.com/kuaifan/dootask/tree/pro" target="_blank">
<button class="btn btn-default" >Self Hosting</button>
</a>
</div>
@ -159,7 +153,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -488,7 +482,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001624 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -528,28 +522,6 @@
</body>
<script src="../js/common.js"></script>
<script>
// cookie弹框
document.addEventListener('DOMContentLoaded', function() {
console.log("aaa");
let cookieConsent = document.getElementById('cookieConsent');
let agreeButton = document.getElementById('agreeButton');
// 检查localStorage中的同意状态
let hasConsented = sessionStorage.getItem('cookieConsent');
if (!hasConsented) {
cookieConsent.style.display = 'block';
}
agreeButton.addEventListener('click', handleAgreeButtonClick);
function hideCookieConsent() {
cookieConsent.style.display = 'none';
}
function handleAgreeButtonClick() {
// 存储同意状态到localStorage
sessionStorage.setItem('cookieConsent', 'true');
hideCookieConsent();
}
});
/* 功能卡片切换函数 */
const tabs = document.querySelector('.card-ul');
const funImg = document.querySelector('#home_pic2');

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -135,7 +135,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -249,7 +249,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001624 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>

View File

@ -56,7 +56,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -248,7 +248,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -731,7 +731,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001624 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>

View File

@ -9,7 +9,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../img/favicon.ico">
<link rel="stylesheet" href="../css/privacy.css">
<link rel="stylesheet" href="../css/common.css">
</head>
<body>
<style>
@ -37,4 +36,4 @@
});
</script>
</body>
</html>
</html>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -425,7 +425,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -594,7 +594,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001624 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../en/help.html">Help Center</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001418 txt-sub" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API document</a>
@ -140,7 +140,7 @@
<a class="txt-4001620 txt" href="../en/help.html">Help Center</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001620 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API document</a>
@ -301,7 +301,7 @@
<a class="txt-4001624 txt" href="../en/help.html">Help Center</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../en/privacy.html">Privacy Policy</a>
<a class="txt-4001624 txt" href="../en/privacy.html" target="_blank">Privacy Policy</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API document</a>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -169,7 +169,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -347,7 +347,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>

View File

@ -1,122 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DooTask</title>
<meta name="google" value="notranslate">
<meta name="description" content="DooTask是一款轻量级的开源在线项目任务管理工具提供各类文档协作工具、在线思维导图、在线流程图、项目管理、任务分发、即时IM文件管理等工具。助力团队高效推进项目让工作更简单。">
<meta name="keywords" content="中国 DooTask 开源在线项目 任务管理工具 任务管理 轻量级 海豚有海 团队协作">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../img/favicon.ico">
<link rel="stylesheet" href="../css/common.css">
<link rel="stylesheet" href="../css/distribution.css">
</head>
<body>
<main class="distrbution">
<img class="bg_fpic1" src="../img/bg_fpic1.svg" alt="广西海豚有海信息科技公司,HITOSEA,海豚有海,广西海豚有海">
<img class="bg_fpic2" src="../img/bg_fpic2.svg" alt="广西海豚有海信息科技公司,HITOSEA,海豚有海,广西海豚有海">
<section>
<div class="content">
<div class="layout" id="target">
<img class="icon1" src="../img/logo_y.svg" alt="DooTask">
<div class="qr_code">
<i id="qrcode" style="width: 130px; height: 130px;display: inline-block;"></i>
</div>
<div class="name">
<img class="icon2" src="../img/android_y.svg" alt="安卓,abdroid">
<i class="">DooTask</i>
</div>
<div class="scan">
<i class="scan-txt" style="margin-bottom: 4px;">扫描二维码下载</i>
<span class="scan-txt" style="margin-bottom: 18px;">
或用手机浏览器输入这个网址:
<i class="scan-txt-b">http://dootask.com/</i>
</span>
</div>
<div class="line-con">
<i class="line1"></i>
<i class="line2">微信/QQ内无法下载应用</i>
</div>
<div class="info-btn">
<button class="info-dow" onclick="dowHandle()">下载安装</button>
<i class="info-tip">仅支持Android设备</i>
</div>
<div class="info">
<span class="info-t">
<i>v0.27.46 - </i>
<i>64.86 MB</i>
</span>
<span class="info-b">2023-06-19更新</span>
</div>
</div>
<div class="operat-tips">
<div class="operat-con">
<i class="lower_triangle"></i>
<div class="group_num">
<p>请点击右上角</p>
<p>选择“浏览器中打开”</p>
</div>
</div>
</div>
</div>
</section>
</main>
</body>
<script src="//cdn.bootcdn.net/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
<script>
// 处理分发页面的逻辑
const dowBtnDom = document.querySelector('.info-dow')
const line1Dom = document.querySelector('.line1')
const line2Dom = document.querySelector('.line2')
const tipDom = document.querySelector('.info-tip')
const infoDom = document.querySelector('.info')
const operatDom = document.querySelector('.operat-tips')
const ua = window.navigator.userAgent.toLowerCase();
const isWechat = /micromessenger/.test(ua);
const isAndroid = /android/.test(ua);
let timer;
if(!isAndroid){
dowBtnDom.style.display = 'none'
infoDom.style.display = 'none'
tipDom.style.display = 'inline-block'
}else{
if(isWechat){
// 在微信中,显示下载按钮
dowBtnDom.style.display = 'block'
tipDom.style.display = 'none'
}else{
// 不在微信中,直接下载 app
window.location.href = "https://www.dootask.com/uploads/android/DooTask-v0.27.46-android.apk";
}
}
const dowHandle = ()=>{
if(isWechat){
operatDom.style.display = 'block'
line2Dom.style.display = 'block'
line1Dom.style.display = 'none'
dowBtnDom.style.display = 'none'
infoDom.style.display = 'none'
}else{
dowBtnDom.style.color = '#b3e19d'
dowBtnDom.style.backgroundColor = '#f0f9eb'
dowBtnDom.style.borderColor = '#e1f3d8'
dowBtnDom.disabled = true;
timer = setTimeout(()=>{
dowBtnDom.style.color = '#fff'
dowBtnDom.style.backgroundColor = '#8BCF70'
dowBtnDom.style.borderColor = 'transparent'
dowBtnDom.disabled = false;
clearTimeout(timer)
},5000)
}
window.location.href = "https://www.dootask.com/uploads/android/DooTask-v0.27.46-android.apk";
}
/* 生成分发页面的二维码 */
if(window.location.host !== ''){
const url = window.location.href;
const matchResult = url.match(/^(.*?)(?=\/site)/);
const result = matchResult[1];
new QRCode(document.getElementById('qrcode'), `${result}/site/zh/distribute.html`); // 测试
}
</script>
</html>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -179,7 +179,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -296,7 +296,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -217,7 +217,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -702,7 +702,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">

View File

@ -14,11 +14,6 @@
</head>
<body>
<div id="layout">
<!-- 同意cookie弹框 -->
<div id="cookieConsent">
<p>为使我们的网站可以正常向您提供服务、提高安全性并更高效地运作以给您带来更好的网站使用体验我们将使用Cookie包括第三方Cookie以作为安全、技术、分析与营销之用。继续浏览本网站即表示您同意使用cookie。更多有关我们如何使用 Cookie的信息请参阅我们的 <a href="../zh/privacy.html" id="cookie_a">《隐私政策》</a></p>
<button id="agreeButton" class="btn btn-primary" >同意</button>
</div>
<!-- 页头区域 -->
<header class="head">
<div class="nav">
@ -47,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -115,7 +110,7 @@
<button class="btn btn-primary mr-20">开始使用</button>
</a>
</span>
<a href="https://github.com/kuaifan/dootask/tree/pro" >
<a href="https://github.com/kuaifan/dootask/tree/pro" target="_blank" >
<button class="btn btn-default" >私有化部署</button>
</a>
</div>
@ -157,7 +152,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -486,7 +481,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -526,27 +521,6 @@
</body>
<script src="../js/common.js"></script>
<script>
// cookie弹框
document.addEventListener('DOMContentLoaded', function() {
console.log("aaa");
let cookieConsent = document.getElementById('cookieConsent');
let agreeButton = document.getElementById('agreeButton');
// 检查localStorage中的同意状态
let hasConsented = sessionStorage.getItem('cookieConsent');
if (!hasConsented) {
cookieConsent.style.display = 'block';
}
agreeButton.addEventListener('click', handleAgreeButtonClick);
function hideCookieConsent() {
cookieConsent.style.display = 'none';
}
function handleAgreeButtonClick() {
// 存储同意状态到localStorage
sessionStorage.setItem('cookieConsent', 'true');
hideCookieConsent();
}
});
/* 功能卡片切换函数 */
const tabs = document.querySelector('.card-ul');
const funImg = document.querySelector('#home_pic2');

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -135,7 +135,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -249,7 +249,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>

View File

@ -56,7 +56,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -249,7 +249,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -732,7 +732,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank" >隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>

View File

@ -9,7 +9,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../img/favicon.ico">
<link rel="stylesheet" href="../css/privacy.css">
<link rel="stylesheet" href="../css/common.css">
</head>
<body>
<style>
@ -37,4 +36,4 @@
});
</script>
</body>
</html>
</html>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -425,7 +425,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -596,7 +596,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>

View File

@ -42,7 +42,7 @@
<a class="txt-4001418 txt-sub" href="../zh/help.html">帮助中心</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001418 txt-sub" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="submenu-pop-item" onclick="changeMenu()">
<a class="txt-4001418 txt-sub" href="../../docs/index.html" target="_blank">API 文档</a>
@ -140,7 +140,7 @@
<a class="txt-4001620 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001620 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="drawer-item" onclick="changeMenu()">
<a class="txt-4001620 txt" href="../../docs/index.html" target="_blank">API 文档</a>
@ -302,7 +302,7 @@
<a class="txt-4001624 txt" href="../zh/help.html">帮助中心</a>
</li>
<li class="footer-ol-item mb-16">
<a class="txt-4001624 txt" href="../zh/privacy.html">隐私政策</a>
<a class="txt-4001624 txt" href="../zh/privacy.html" target="_blank">隐私政策</a>
</li>
<li class="footer-ol-item">
<a class="txt-4001624 txt" href="../../docs/index.html" target="_blank">API 文档</a>