From f4c23d8de62e6e3f9fe0b0d068f66bfe4023ae5d Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Thu, 9 Oct 2025 15:10:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=BC=95=E5=85=A5bike?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/components/BottomNavigation.vue | 28 +-----------
app/pages/sharedSolutions/bike.vue | 69 ++++++++++++++++++++++++++++-
2 files changed, 69 insertions(+), 28 deletions(-)
diff --git a/app/components/BottomNavigation.vue b/app/components/BottomNavigation.vue
index de72bb7..8dc88ff 100644
--- a/app/components/BottomNavigation.vue
+++ b/app/components/BottomNavigation.vue
@@ -7,7 +7,7 @@
解决方案
- - 共享单车
+ - 共享单车
- 景区共享电动车
- 共享滑板车
@@ -68,30 +68,4 @@
\ No newline at end of file
diff --git a/app/pages/sharedSolutions/bike.vue b/app/pages/sharedSolutions/bike.vue
index ba11fb2..c0afb35 100644
--- a/app/pages/sharedSolutions/bike.vue
+++ b/app/pages/sharedSolutions/bike.vue
@@ -19,7 +19,74 @@ useHead({
onMounted(() => {
// 延迟加载以确保DOM完全渲染
-
+ setTimeout(() => {
+ // 设置首页巨幕高度
+ $('.index-giant').height($(window).height());
+
+ // 解决方案切换功能
+ $('.index-solut ul li').on('click', function(){
+ $(this).addClass('index-solut-li').siblings().removeClass('index-solut-li');
+ $('.solut-detail ul').eq($(this).index()).show().siblings().hide();
+ if($(this).index()==0){
+ $('#triangle-up').css({
+ 'left': '45%'
+ });
+ }
+ if($(this).index()==1){
+ $('#triangle-up').css({
+ 'left': '49.5%'
+ });
+ }
+ if($(this).index()==2){
+ $('#triangle-up').css({
+ 'left': '54.5%'
+ });
+ }
+ });
+
+ // 左侧栏动画功能
+ (function offBar(){
+ var off=true;
+ $('.left-bar-1').on('click',function(){
+ if(off){
+ $('.left-bar').animate({'right':0}, "1000");
+ off=false;
+ }else{
+ $('.left-bar').animate({'right':'-32px'}, "slow");
+ off=true;
+ }
+ });
+ })();
+
+ // 微信二维码悬停效果
+ $('.left-bar-2 a.wecate').hover(function() {
+ $('.left-bar-3').show();
+ }, function() {
+ $('.left-bar-3').hide();
+ });
+
+ // 腾讯QQ悬停效果
+ $('._tencent').hover(function() {
+ $('.left-bar-4').show();
+ }, function() {
+ $('.left-bar-4').hide();
+ });
+
+ // 电话悬停效果
+ $('._phone').hover(function() {
+ $('.left-bar-5').show();
+ }, function() {
+ $('.left-bar-5').hide();
+ });
+
+ // 锚点滚动功能
+ $(".miaodian a").click(function() {
+ $("body").animate({
+ scrollTop: 3550
+ }, 1500);
+ return false;
+ });
+ }, 100);
})