new
All checks were successful
构建并部署 / build-and-deploy (push) Successful in 1h13m18s

This commit is contained in:
jeremygan2021
2026-02-13 21:55:48 +08:00
parent 4cdcafa01c
commit da2ded71ad
2 changed files with 28 additions and 9 deletions

View File

@@ -58,10 +58,25 @@ const HeroSection = ({ isActive }) => {
boxShadow: "0 10px 30px rgba(0, 245, 212, 0.3)"
}}
whileTap={{ scale: 0.95 }}
onClick={(e) => {
e.stopPropagation();
window.open('https://market.quant-speed.com', '_blank');
}}
>
<span className="btn-text">了解更多</span>
<div className="btn-glow"></div>
<div className="btn-arrow"></div>
<img
src="/logo.svg"
alt="logo"
style={{
height: '20px',
marginRight: '8px',
filter: 'brightness(0) invert(1)',
position: 'relative',
zIndex: 2
}}
/>
<span className="btn-text" style={{ position: 'relative', zIndex: 2 }}>量迹商城</span>
<div className="btn-glow" style={{ pointerEvents: 'none' }}></div>
<div className="btn-arrow" style={{ position: 'relative', zIndex: 2 }}></div>
</motion.button>
</motion.div>

View File

@@ -245,13 +245,15 @@ const ProductSection = ({ isActive }) => {
boxShadow: "0 10px 30px rgba(0, 245, 212, 0.3)"
}}
whileTap={{ scale: 0.95 }}
onClick={() => {
onClick={(e) => {
e.stopPropagation();
const urls = {
v3: 'https://market.quant-speed.com/product/2',
mini: 'https://market.quant-speed.com/product/1',
v2: 'https://market.quant-speed.com/product/3'
};
window.location.href = urls[modelKey] || 'https://market.quant-speed.com';
const targetUrl = urls[modelKey] || 'https://market.quant-speed.com';
window.open(targetUrl, '_blank');
}}
>
<img
@@ -260,12 +262,14 @@ const ProductSection = ({ isActive }) => {
style={{
height: '20px',
marginRight: '8px',
filter: 'brightness(0) invert(1)'
filter: 'brightness(0) invert(1)',
position: 'relative',
zIndex: 2
}}
/>
<span className="btn-text">量迹商城</span>
<div className="btn-glow"></div>
<div className="btn-arrow"></div>
<span className="btn-text" style={{ position: 'relative', zIndex: 2 }}>量迹商城</span>
<div className="btn-glow" style={{ pointerEvents: 'none' }}></div>
<div className="btn-arrow" style={{ position: 'relative', zIndex: 2 }}></div>
</motion.button>
</motion.div>