From c3d1d735e8e74784d2acb7015fd644cfee86ac20 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 10 Oct 2025 08:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E4=BF=AE=E9=A1=B5=E9=9D=A2=E5=B8=83?= =?UTF-8?q?=E5=B1=80-=E5=A4=84=E7=90=86=E6=A0=B7=E5=BC=8F=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E5=AF=BC=E8=87=B4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/sharedSolutions/bike.vue | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/app/pages/sharedSolutions/bike.vue b/app/pages/sharedSolutions/bike.vue index 236c5b1..23d9d58 100644 --- a/app/pages/sharedSolutions/bike.vue +++ b/app/pages/sharedSolutions/bike.vue @@ -117,7 +117,7 @@ function initBanner() { const $picplayer = $('#picplayer'); const $piccontent = $('#piccontent'); - + if ($picplayer.length === 0 || $piccontent.length === 0) { console.error('轮播图容器未找到'); return; @@ -134,7 +134,7 @@ function initBanner() { // 设置按钮点击事件 pics.forEach((pic, index) => { $(`#picbtn${index}`).data('index', index); - $(`#picbtn${index}`).off('click').on('click', function() { + $(`#picbtn${index}`).off('click').on('click', function () { setSelectedItem(index); }); }); @@ -145,15 +145,15 @@ function initBanner() { function setSelectedItem(index) { selectedIndex = index; clearInterval(playID); - + // 隐藏当前图片 $piccontent.find('img').fadeOut('fast'); - + // 显示选中图片 $(`#picitem${index}`).fadeIn('slow'); - + // 更新按钮状态 - $('#picbtns .caption').each(function(i) { + $('#picbtns .caption').each(function (i) { if (i === index) { $(this).find('span').css('backgroundColor', '#485766'); } else { @@ -193,7 +193,7 @@ function initBanner() {
-

我们的解决方案

+

我们的解决方案

通过APP+单车+智能锁实现GPS定位实时找车、扫码快速开锁用车、预约用车、实时计费等功能。