From 20eec62fde11c415c5161c4a553732709d3e28cd Mon Sep 17 00:00:00 2001 From: spylecym <1262965753@qq.com> Date: Thu, 22 Aug 2024 11:30:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=91=E9=A1=B5=E5=8F=B3=E4=B8=8B?= =?UTF-8?q?=E8=A7=92=E5=AF=BC=E8=88=AA=E6=94=B9=E4=B8=BA=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BB=A5=E5=8F=8A=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=8B=A8=E6=89=93=E7=94=B5=E8=AF=9D=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E6=8B=A8=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/site/css/side_nav.css | 6 ++--- public/site/en/about.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/download.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/help.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/index.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/log.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/price.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/product.html | 41 ++++++++++++++++++++++++++++++++ public/site/en/sideNav.html | 13 +++++----- public/site/en/solutions.html | 41 ++++++++++++++++++++++++++++++++ public/site/js/common.js | 19 ++++++++++++++- public/site/js/googleAnalyze1.js | 6 ----- public/site/js/googleAnalyze2.js | 6 ----- public/site/zh/about.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/download.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/help.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/index.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/log.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/price.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/product.html | 41 ++++++++++++++++++++++++++++++++ public/site/zh/sideNav.html | 12 +++++----- public/site/zh/solutions.html | 41 ++++++++++++++++++++++++++++++++ 22 files changed, 689 insertions(+), 29 deletions(-) delete mode 100644 public/site/js/googleAnalyze1.js delete mode 100644 public/site/js/googleAnalyze2.js diff --git a/public/site/css/side_nav.css b/public/site/css/side_nav.css index 324916190..6ab3a9811 100644 --- a/public/site/css/side_nav.css +++ b/public/site/css/side_nav.css @@ -135,8 +135,6 @@ .side_nav .side_toolbars .side_toolbar_item:hover,.side_nav .side_to_top .side_to_top_wrapper:hover{ background-color: var(--bg-hover-color); } -.side_nav .side_toolbars .side_toolbar_item_whtasapp:hover .toolbar_tooltip_qq, -.side_nav .side_toolbars .side_toolbar_item_phone:hover .toolbar_tooltip_phone, -.side_nav .side_toolbars .side_toolbar_item_qrcode:hover .toolbar_tooltip_qrcode{ - display: block; +#toolbar_tooltip_phone,#toolbar_tooltip_whtasapp,#toolbar_tooltip_qrcode{ + display: none; } \ No newline at end of file diff --git a/public/site/en/about.html b/public/site/en/about.html index ca33aedd9..3584c6f8b 100644 --- a/public/site/en/about.html +++ b/public/site/en/about.html @@ -548,6 +548,47 @@ if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/download.html b/public/site/en/download.html index 639c20748..e25e365f1 100644 --- a/public/site/en/download.html +++ b/public/site/en/download.html @@ -514,6 +514,47 @@ document.addEventListener('DOMContentLoaded', function() { if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/help.html b/public/site/en/help.html index cf1312c86..7bb0527f4 100644 --- a/public/site/en/help.html +++ b/public/site/en/help.html @@ -2513,6 +2513,47 @@ if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/index.html b/public/site/en/index.html index dcb65f4f2..95a4f6b2a 100644 --- a/public/site/en/index.html +++ b/public/site/en/index.html @@ -776,6 +776,47 @@ const arcs = document.querySelector('.home_arc'); if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/log.html b/public/site/en/log.html index b20338199..7d31f2e78 100644 --- a/public/site/en/log.html +++ b/public/site/en/log.html @@ -558,6 +558,47 @@ document.addEventListener('DOMContentLoaded', function() { if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/price.html b/public/site/en/price.html index f0dc19828..f08852272 100644 --- a/public/site/en/price.html +++ b/public/site/en/price.html @@ -1339,6 +1339,47 @@ if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/product.html b/public/site/en/product.html index 427990a7d..8ce20b211 100644 --- a/public/site/en/product.html +++ b/public/site/en/product.html @@ -749,6 +749,47 @@ if (document.documentElement.scrollTop > 20) { back_top_button.style.display = 'block'; // 显示回到顶部按钮 } + let toolbarPhone = document.getElementById("side_toolbar_item_phone"); + let tooltipPhone = document.getElementById("toolbar_tooltip_phone"); + let toolbarWhtasapp = document.getElementById("side_toolbar_item_whtasapp"); + let tooltipWhtasapp = document.getElementById("toolbar_tooltip_whtasapp"); + let toolbarQrcode = document.getElementById("side_toolbar_item_qrcode"); + let tooltipQrcode = document.getElementById("toolbar_tooltip_qrcode"); + + function toggleTooltip(dom) { + if (dom.style.display === "block") { + dom.style.display = "none"; + } else { + dom.style.display = "block"; + } + } + if(toolbarPhone){ + toolbarPhone.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipPhone) + tooltipWhtasapp.style.display = "none"; + tooltipQrcode.style.display = "none"; + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + window.location.href = 'tel:0771-3164099'; + } + }); + } + if(toolbarWhtasapp){ + toolbarWhtasapp.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipWhtasapp) + tooltipPhone.style.display = "none"; + tooltipQrcode.style.display = "none"; + }); + } + if(toolbarQrcode){ + toolbarQrcode.addEventListener("click", ()=>{ + event.stopPropagation(); + toggleTooltip(tooltipQrcode) + tooltipPhone.style.display = "none"; + tooltipWhtasapp.style.display = "none"; + }); + } }); }); diff --git a/public/site/en/sideNav.html b/public/site/en/sideNav.html index da61ee338..b3f05121a 100644 --- a/public/site/en/sideNav.html +++ b/public/site/en/sideNav.html @@ -10,22 +10,23 @@ +