hn-hlw-app/components/user-header.vue
2026-07-27 11:26:39 +08:00

20 lines
462 B
Vue
Raw Permalink 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 v-if="userInfo.userName" class="user-header">
就诊人{{ userInfo.userName }} {{ idCardInfo.sex }} {{ idCardInfo.age ? `${idCardInfo.age}` : '' }}
</view>
</template>
<script setup>
import useUser from '@/hooks/useUser';
const { userInfo, idCardInfo } = useUser();
</script>
<style lang="scss" scoped>
.user-header {
padding: 24rpx 30rpx;
background: white;
font-size: 32rpx;
font-weight: bold;
color: #333;
}
</style>