引导页

This commit is contained in:
zhouyanli
2026-04-18 17:34:01 +08:00
parent 08794aa023
commit be154fcc1b

View File

@@ -14,6 +14,7 @@
<swiper-item> <swiper-item>
<view class="guide-item"> <view class="guide-item">
<image class="guide-img" src="/static/引导1.png" ></image> <image class="guide-img" src="/static/引导1.png" ></image>
<view style="height: 200rpx;width: 100%;"></view>
<view class="guide-title">便捷服务</view> <view class="guide-title">便捷服务</view>
<view class="guide-subtitle">报修缴费预约</view> <view class="guide-subtitle">报修缴费预约</view>
</view> </view>
@@ -83,7 +84,7 @@ const handleBtnClick = () => {
uni.setStorageSync('hasShowGuide', true); uni.setStorageSync('hasShowGuide', true);
// 2. 跳转首页 // 2. 跳转首页
uni.navigateTo({ uni.navigateTo({
url:"/pages/login/pwd-login" url:"/pages/loginSub/pwd-login"
}) })
// uni.switchTab({ // uni.switchTab({
// url: '/pages/index/index' // url: '/pages/index/index'
@@ -97,7 +98,8 @@ const handleBtnClick = () => {
.guide-page { .guide-page {
width: 100%; width: 100%;
height: 100vh; height: 100vh;
background-color: #f8f9ff; /* background-color: #f8f9ff; */
background: linear-gradient(to bottom, #E2F0FF, #F6FAFF);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@@ -125,7 +127,7 @@ const handleBtnClick = () => {
justify-content: center; justify-content: center;
} }
/* 引导插画 */
.guide-img { .guide-img {
width: 100%; width: 100%;
height: 100%; height: 100%;