mirror of
https://github.com/iczer/vue-antd-admin.git
synced 2025-04-06 03:57:44 +08:00
fix: workplace style problem #12
This commit is contained in:
parent
fc7e5b6904
commit
a0a031b6f1
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<page-layout :avatar="currUser.avatar">
|
<page-layout :avatar="currUser.avatar">
|
||||||
<div slot="headerContent" class="content">
|
<div slot="headerContent">
|
||||||
<div class="title">{{currUser.timefix}},{{currUser.name}},{{currUser.welcome}}</div>
|
<div class="title">{{currUser.timefix}},{{currUser.name}},{{currUser.welcome}}</div>
|
||||||
<div>{{currUser.position}}</div>
|
<div>{{currUser.position}}</div>
|
||||||
</div>
|
</div>
|
||||||
@ -170,20 +170,7 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less">
|
||||||
.content {
|
|
||||||
position: relative;
|
|
||||||
top: 4px;
|
|
||||||
flex: 1 1 auto;
|
|
||||||
color: rgba(0, 0, 0, 0.45);
|
|
||||||
line-height: 22px;
|
|
||||||
.title {
|
|
||||||
font-size: 20px;
|
|
||||||
line-height: 28px;
|
|
||||||
font-weight: 500;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.project-list {
|
.project-list {
|
||||||
.card-title {
|
.card-title {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
@ -221,14 +208,12 @@ export default {
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
:global {
|
|
||||||
.ant-card-meta-description {
|
.ant-card-meta-description {
|
||||||
color: rgba(0, 0, 0, 0.45);
|
color: rgba(0, 0, 0, 0.45);
|
||||||
height: 44px;
|
height: 44px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.item-group{
|
.item-group{
|
||||||
padding: 20px 0 8px 24px;
|
padding: 20px 0 8px 24px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user