hldy_xcx/pages/login/specialloginafther.vue

251 lines
4.6 KiB
Vue
Raw Normal View History

2025-09-26 13:30:13 +08:00
<!-- <template>
2025-07-03 17:27:42 +08:00
<view class="font-father">
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" />
<image class="title-photo" :src="`https://www.focusnu.com/media/directive/index/bluephoto.png`" />
2025-07-23 17:37:27 +08:00
<view class="small-title">尊敬的用户您的手机<text style="color: rgb(1,153,255);font-weight: 600;">{{ phone }}</text></view>
2025-09-26 13:30:13 +08:00
2025-07-03 17:27:42 +08:00
<view class="font-title">
2025-07-23 17:37:27 +08:00
已成功绑定,期待您早日加入护理单元大家庭
2025-07-03 17:27:42 +08:00
</view>
2025-09-26 13:30:13 +08:00
2025-07-03 17:27:42 +08:00
<view class="bottom-button" @click="jumpto">
我的机构
</view>
</view>
</template>
<script setup>
import {
onLoad
} from '@dcloudio/uni-app'
import {
reactive,
ref
} from 'vue';
const jumpto = () => {
2025-09-19 17:12:59 +08:00
uni.reLaunch({
2025-07-03 17:27:42 +08:00
url: `/pages/login/threeselectone`
});
}
const phone = ref("");
onLoad((options) => {
phone.value = uni.getStorageSync('tel');
})
</script>
<style lang="scss" scoped>
.font-father {
width: 100%;
min-height: 100vh;
padding: 0 100rpx;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
.font-title {
2025-07-23 17:37:27 +08:00
padding: 0 70rpx;
2025-07-03 17:27:42 +08:00
margin-top: 0rpx;
2025-07-23 17:37:27 +08:00
font-size: 28rpx;
2025-07-03 17:27:42 +08:00
display: flex;
flex-direction: column;
2025-07-23 17:37:27 +08:00
text-align: center;
line-height: 50rpx;
2025-07-03 17:27:42 +08:00
}
.bottom-button {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0rpx;
margin-top: 80rpx;
2025-07-23 17:37:27 +08:00
margin-bottom: 90rpx;
2025-07-03 17:27:42 +08:00
width: 80%;
2025-07-23 17:37:27 +08:00
height: 90rpx;
border-radius: 35rpx;
2025-07-03 17:27:42 +08:00
background: linear-gradient(to left, #00C9FF, #0076FF);
color: #fff;
2025-07-23 17:37:27 +08:00
font-size: 33rpx;
2025-07-03 17:27:42 +08:00
display: flex;
justify-content: center;
align-items: center;
z-index: 3;
}
}
.title-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
}
.small-title {
margin-bottom: 10rpx;
2025-07-23 17:37:27 +08:00
font-size: 28rpx;
2025-07-03 17:27:42 +08:00
}
.normal {
font-size: 33rpx;
margin-bottom: 20rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.title-photo {
margin-top: 300rpx;
width: 350rpx;
height: 350rpx;
z-index: 1;
}
2025-09-26 13:30:13 +08:00
</style> -->
<template>
<view class="font-father">
<view class="fixed">
2025-10-17 10:51:10 +08:00
<!-- <image v-if="!uni.getStorageSync('isstaffchange')" class="title-photo"
:src="`https://www.focusnu.com/media/directive/index/blue111.png`" /> -->
<image class="title-photo" style="width: 200rpx;height: 200rpx;"
src="https://www.focusnu.com/media/directive/index/jumpImge/bangding.png" />
2025-10-17 10:51:10 +08:00
<view style="font-size: 35rpx;font-weight: 600;margin: 30rpx 0;">
2025-09-26 13:30:13 +08:00
尊敬的用户您的手机
</view>
2025-09-26 13:30:13 +08:00
<view class="small-title">
{{ phone }}
2025-09-26 13:30:13 +08:00
</view>
<view class="normal">
2025-10-28 14:36:13 +08:00
<text v-if="!uni.getStorageSync('firstlogin')">
2025-09-26 13:30:13 +08:00
已成功绑定,期待您早日加入护理单元大家庭
</text>
2025-10-28 14:36:13 +08:00
<text v-else>
已成功绑定,欢迎加入护理单元大家庭
</text>
2025-09-26 13:30:13 +08:00
</view>
</view>
<view class="bottom-button" @click="jumpto">
我的机构
</view>
</view>
</template>
<script setup>
import {
onLoad
} from '@dcloudio/uni-app'
import {
reactive,
ref
} from 'vue';
2025-09-26 13:30:13 +08:00
const jumpto = () => {
uni.reLaunch({
2025-10-13 14:58:45 +08:00
url: `/pages/login/callback`
2025-09-26 13:30:13 +08:00
});
2025-10-28 14:36:13 +08:00
uni.setStorageSync('firstlogin', true);
2025-09-26 13:30:13 +08:00
}
2025-09-26 13:30:13 +08:00
const phone = ref("");
onLoad((options) => {
phone.value = uni.getStorageSync('tel');
2025-10-28 14:36:13 +08:00
2025-09-26 13:30:13 +08:00
})
</script>
<style lang="scss" scoped>
.font-father {
width: 100%;
min-height: 100vh;
padding: 0 30rpx;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
background-color: rgb(239, 241, 252);
2025-09-26 13:30:13 +08:00
.font-title {
margin-top: 0rpx;
margin-bottom: 30rpx;
font-weight: 600;
font-size: 30rpx;
display: flex;
flex-direction: column;
font-size: 80rpx;
}
.bottom-button {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0rpx;
margin-top: 80rpx;
margin-bottom: 90rpx;
width: 80%;
height: 90rpx;
border-radius: 35rpx;
background: linear-gradient(to bottom, #e7f4ff, #c5e5ff);
border: 2rpx solid #9AD1FF;
color: #007CFF;
2025-09-26 13:30:13 +08:00
font-size: 33rpx;
display: flex;
justify-content: center;
align-items: center;
z-index: 3;
}
}
.title-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
}
.fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 2;
padding: 0 70rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.small-title {
margin-bottom: 10rpx;
font-size: 28rpx;
}
.normal {
padding: 0 70rpx;
font-size: 28rpx;
margin-bottom: 20rpx;
display: flex;
align-items: center;
line-height: 50rpx;
text-align: center
}
.title-photo {
2025-10-17 10:51:10 +08:00
margin-top: 600rpx;
2025-09-26 13:30:13 +08:00
width: 120rpx;
height: 120rpx;
z-index: 1;
}
2025-07-03 17:27:42 +08:00
</style>