H5登录之后跳转修改
This commit is contained in:
@@ -75,29 +75,11 @@
|
|||||||
<view class="loading-spinner" v-else></view>
|
<view class="loading-spinner" v-else></view>
|
||||||
</view>
|
</view>
|
||||||
</button>
|
</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>
|
||||||
|
|
||||||
<!-- 底部信息 -->
|
<!-- 底部信息 -->
|
||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="footer-text">© 2024 社保就业服务平台</view>
|
<view class="footer-text">新疆喀什智慧就业平台</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -211,11 +193,11 @@ const handleLogin = async () => {
|
|||||||
title: '登录成功',
|
title: '登录成功',
|
||||||
icon: 'success'
|
icon: 'success'
|
||||||
})
|
})
|
||||||
|
window.location.assign('http://222.80.110.161:11111/mechine-dual-vue/login')
|
||||||
// 跳转到首页
|
// // 跳转到首页
|
||||||
uni.reLaunch({
|
// uni.reLaunch({
|
||||||
url: '/pages/index/index'
|
// url: '/pages/index/index'
|
||||||
})
|
// })
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '登录失败',
|
title: '登录失败',
|
||||||
|
|||||||
Reference in New Issue
Block a user