This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user