H5登录之后跳转修改

This commit is contained in:
francis_fh
2025-11-27 17:07:04 +08:00
parent 690c0fd6db
commit dea4726e50

View File

@@ -75,29 +75,11 @@
<view class="loading-spinner" v-else></view>
</view>
</button>
<!-- 其他登录方式 -->
<view class="other-login">
<view class="divider">
<view class="divider-line"></view>
<view class="divider-text">其他登录方式</view>
<view class="divider-line"></view>
</view>
<view class="login-options">
<view class="login-option" @click="goToIdCardLogin">
<view class="option-icon">
<uni-icons type="idcard" size="36" color="#4778EC"></uni-icons>
</view>
<view class="option-text">社保卡登录</view>
</view>
</view>
</view>
</view>
<!-- 底部信息 -->
<view class="footer">
<view class="footer-text">© 2024 社保就业服务平台</view>
<view class="footer-text">新疆喀什智慧就业平台</view>
</view>
</view>
</template>
@@ -211,11 +193,11 @@ const handleLogin = async () => {
title: '登录成功',
icon: 'success'
})
// 跳转到首页
uni.reLaunch({
url: '/pages/index/index'
})
window.location.assign('http://222.80.110.161:11111/mechine-dual-vue/login')
// // 跳转到首页
// uni.reLaunch({
// url: '/pages/index/index'
// })
} else {
uni.showToast({
title: '登录失败',