officialAccount/pages/login/workjoin.vue

253 lines
5.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="login-container">
<image class="photo-imge" src="/static/index/workjoin/bgc.png" />
<image class="old-imge" src="/static/index/workjoin/ren.png" />
<view class="under-container" @touchstart.stop @touchmove.stop @touchend.stop>
<view class="white-card">
<image class="left-img" :src="type=== `1` ? `/static/index/workjoin/man.png` : `/static/index/workjoin/bgcren.png`" />
<view class="card-font">
<view style="font-size: 30rpx;font-weight: 600;margin: 20rpx 0 30rpx 0;">{{type=== `1` ? `机构加盟`:`员工入驻`}}</view>
<view style="color: #666666;font-size: 25rpx;">
护理院日常护理涵盖生活照料健康监测康复护理及心理关怀为老人提供贴心照护
</view>
</view>
</view>
<view class="white-ball" @click="goback">
<image class="ball-imge" src="/static/index/workjoin/x.png" />
</view>
<view class="shu-father">
<view class="shu"></view>
<view class="shu-font">{{ type==="1" ? `机构加盟审核列表` : `员工入驻审核列表` }}</view>
</view>
<view class="under-scroll">
<scroll-view scroll-y style="height: 100%;width: 100%;">
<view v-for="(item,index) in workArray" :key="index">
<view class="white-small">
<view style="width: 100%;margin-bottom: 80rpx;font-size: 25rpx;white-space: normal;word-break: keep-all;overflow-wrap: break-word;">
xx员工申请入驻xx护理机构提交时间:2025.05.01审核结果:{{item.success ? "审核成功" :"审核失败" }}</view>
<view class="button-heng">
<view class="blue-button" v-if="!item.success">
重新提交
</view>
<view class="white-button">
查看详情
</view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref
} from 'vue';
import { onLoad } from '@dcloudio/uni-app'
const type = ref(0)
// 页面加载时接收 URL 参数
onLoad((options) => {
// options.type 即为你在 URL 里传的 number
type.value = options.type || ''
})
const workArray = [{
success: true,
}, {
success: true,
},
{
success: true,
},
{
success: true,
},
{
success: false,
}
]
const goback = () => {
uni.navigateBack()
}
</script>
<style lang="scss" scoped>
.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: rgb(239, 241, 252);
position: relative;
.title {
margin-top: 70rpx;
align-items: center;
.title-imge {
width: 100rpx;
height: 105rpx;
margin-left: 100rpx;
}
.title-font {
font-size: 35rpx;
font-weight: 600;
margin-left: 105rpx;
margin-top: 10rpx;
}
}
.photo-imge {
position: absolute;
top: 0rpx;
left: 0;
width: 100%;
height: 100vh;
}
.old-imge {
position: absolute;
right: 50%;
transform: translateX(50%);
top: 0rpx;
width: 550rpx;
height: 750rpx;
}
.under-container {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: rgb(236, 238, 244);
box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
z-index: 1;
}
}
.white-card {
margin-top: 30rpx;
width: 94%;
background-color: #fff;
height: 320rpx;
border-radius: 45rpx;
display: flex;
align-items: center;
position: relative;
.left-img {
width: 150rpx;
height: 250rpx;
margin-left: 50rpx;
// margin-top: 35rpx;
}
.card-font {
margin-left: 60rpx;
// margin-top: 50rpx;
width: 380rpx;
}
}
.white-ball {
position: absolute;
right: 60rpx;
top: 60rpx;
width: 75rpx;
height: 75rpx;
border-radius: 50%;
border: 1rpx solid #b1b1b1;
display: flex;
justify-content: center;
align-items: center;
.ball-imge {
width: 30rpx;
height: 30rpx;
}
}
.shu-father {
display: flex;
margin: 30rpx 0;
width: 100%;
.shu {
background: linear-gradient(to bottom, #00C9FF, #0076FF);
margin: 0 5%;
width: 15rpx;
border-radius: 10rpx;
height: 35rpx;
margin-right: 3%;
}
.shu-font {
color: #666666;
}
}
.under-scroll {
width: 100%;
height: calc(100% - 460rpx);
.white-small {
width: 94%;
margin-left: 3%;
background-color: #fff;
border-radius: 30rpx;
padding: 30rpx;
margin-bottom: 30rpx;
font-size: 25rpx;
color: #999999;
position: relative;
}
}
.button-heng {
// width: 100%;
display: flex;
justify-content: flex-end;
position: absolute;
bottom: 30rpx;
right: 0;
.white-button {
width: 180rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, #F3F3F5, #DEE4E9);
border-radius: 30rpx;
color: black;
margin-right: 20rpx;
}
.blue-button {
width: 180rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
margin-right: 20rpx;
border-radius: 30rpx;
color: #fff;
}
}
</style>