LoongPanel-Asp/web/components/UserPage/UserPageIndicator.vue

73 lines
1.3 KiB
Vue
Raw Normal View History

2024-06-22 10:54:02 +08:00
<script lang="ts" setup>
</script>
<template>
<div class="Indicator-layout">
<div class="Indicator-item">
<h4>名称</h4>
<p>- 邮箱</p>
</div>
<div class="Indicator-item">
<h4>姓名</h4>
<p>- 职务</p>
</div>
<div class="Indicator-item">
<h4>手机号</h4>
<p>- 地址</p>
</div>
<div class="Indicator-item">
<h4>上次登陆时间</h4>
<p>- 登录IP</p>
</div>
<div class="Indicator-item">
<h4>修改日期</h4>
<p>-创建日期</p>
</div>
<div class="Indicator-item">
<h4>状态</h4>
<p>-锁定</p>
</div>
</div>
</template>
<style lang="scss" scoped>
@import 'base';
.Indicator-layout {
background-color: $light-bg-color;
display: flex;
align-items: center;
padding: $padding*1.5 $padding*10 $padding*1.5 $padding*8;
gap: $gap*4;
border-radius: $radius;
2024-07-02 14:28:15 +08:00
*{
@include SC_Font;
}
.dark-mode &{
background-color: $dark-bg-color;
}
2024-06-22 10:54:02 +08:00
}
.Indicator-item {
display: flex;
flex-direction: column;
gap: $gap*.25;
flex: 1;
2024-07-02 14:28:15 +08:00
h4 {
color: $light-text-color;
}
.dark-mode &{
h4 {
color: $dark-text-color;
}
}
2024-06-22 10:54:02 +08:00
p {
color: $light-unfocused-color;
}
}
.Indicator-item:last-of-type {
flex: unset;
}
</style>