提交 d641dcab authored 作者: matian's avatar matian

style:样式调整

上级 7be16eab
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
@forward 'element-plus/theme-chalk/src/common/var.scss' with ( @forward 'element-plus/theme-chalk/src/common/var.scss' with (
$colors: ( $colors: (
'primary': ( 'primary': (
'base': #3276fc 'base': #aa1941
) )
) )
); );
......
...@@ -22,8 +22,8 @@ defineProps<{ title?: string }>() ...@@ -22,8 +22,8 @@ defineProps<{ title?: string }>()
.app-card { .app-card {
background: #fff; background: #fff;
box-shadow: 0 1px 6px 0 rgb(228 232 235 / 20%); box-shadow: 0 1px 6px 0 rgb(228 232 235 / 20%);
border-radius: 8px; border-radius: 6px;
padding: 32px; padding: 40px;
} }
.app-card + .app-card { .app-card + .app-card {
margin-top: 20px; margin-top: 20px;
...@@ -33,8 +33,14 @@ defineProps<{ title?: string }>() ...@@ -33,8 +33,14 @@ defineProps<{ title?: string }>()
} }
.app-card-hd__title { .app-card-hd__title {
flex: 1; flex: 1;
padding-left: 5px;
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 500;
margin-bottom: 16px; line-height: 1;
margin-bottom: 24px;
border-left: 4px solid #aa1941;
}
.app-card-bd {
padding: 10px;
} }
</style> </style>
...@@ -103,4 +103,9 @@ const defaultActive = computed(() => { ...@@ -103,4 +103,9 @@ const defaultActive = computed(() => {
border-radius: 8px; border-radius: 8px;
} }
} }
.el-menu-item {
&.is-active {
color: #aa1941;
}
}
</style> </style>
...@@ -62,7 +62,7 @@ const logout = async () => { ...@@ -62,7 +62,7 @@ const logout = async () => {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 64px; height: 64px;
background-color: #3276fc; background-color: #aa1941;
color: #fff; color: #fff;
.logo { .logo {
width: 120px; width: 120px;
......
...@@ -68,11 +68,11 @@ const detailList = reactive({ ...@@ -68,11 +68,11 @@ const detailList = reactive({
</AppCard> </AppCard>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
:deep(.el-descriptions__title) { // :deep(.el-descriptions__title) {
font-size: 18px; // font-size: 18px;
font-weight: 500; // font-weight: 500;
color: #333333; // color: #333333;
} // }
:deep(.el-descriptions__label) { :deep(.el-descriptions__label) {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
......
...@@ -26,20 +26,20 @@ const detailList = reactive({ ...@@ -26,20 +26,20 @@ const detailList = reactive({
<template> <template>
<AppCard title="公司详情"> <AppCard title="公司详情">
<el-descriptions :column="2" border> <el-descriptions :column="2">
<el-descriptions-item label="公司名称:">{{ detailList.name }}</el-descriptions-item> <el-descriptions-item label="公司名称:">{{ detailList.name }}</el-descriptions-item>
<el-descriptions-item label="企业邮箱:">{{ detailList.email }}</el-descriptions-item> <el-descriptions-item label="企业邮箱:" align="left">{{ detailList.email }}</el-descriptions-item>
<el-descriptions-item label="社会统一信用代码:">{{ detailList.code }}</el-descriptions-item> <el-descriptions-item label="社会统一信用代码:">{{ detailList.code }}</el-descriptions-item>
<el-descriptions-item label="公司运营性质:"> <el-descriptions-item label="公司运营性质:" align="left">
{{ detailList.nature }} {{ detailList.nature }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="营业执照附件:"> <el-descriptions-item label="营业执照附件:">
<el-image :src="detailList.business_licence" style="width: 300px"></el-image> <el-image :src="detailList.business_licence" style="width: 300px"></el-image>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="公司Logo:"> <el-descriptions-item label="公司Logo:" class="logo_class">
<el-image :src="detailList.logo" style="width: 300px"></el-image> <el-image :src="detailList.logo" style="width: 300px"></el-image>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="公司介绍:" :span="2"> <el-descriptions-item label="公司介绍:" :span="1">
<div class="project_intro"> <div class="project_intro">
{{ detailList.desc }} {{ detailList.desc }}
</div> </div>
......
...@@ -51,7 +51,7 @@ const detailList = reactive({ ...@@ -51,7 +51,7 @@ const detailList = reactive({
<style lang="scss" scoped> <style lang="scss" scoped>
.project_intro { .project_intro {
padding: 27px 25px 30px 27px; padding: 27px 25px 30px 27px;
background: rgba(248, 248, 248, 0.39); background: #f8f8f8;
opacity: 1; opacity: 1;
border-radius: 20px; border-radius: 20px;
margin-top: 16px; margin-top: 16px;
......
...@@ -37,7 +37,7 @@ const detailList = reactive({ ...@@ -37,7 +37,7 @@ const detailList = reactive({
<template> <template>
<AppCard title="项目详情"> <AppCard title="项目详情">
<el-descriptions :column="4" direction="vertical"> <el-descriptions :column="4">
<el-descriptions-item> <el-descriptions-item>
<el-image :src="detailList.logo" style="width: 100px" /> <el-image :src="detailList.logo" style="width: 100px" />
</el-descriptions-item> </el-descriptions-item>
...@@ -76,7 +76,7 @@ const detailList = reactive({ ...@@ -76,7 +76,7 @@ const detailList = reactive({
</el-row> </el-row>
</AppCard> </AppCard>
</template> </template>
<style lang="scss"> <style lang="scss" scoped>
.project_intro_title { .project_intro_title {
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
...@@ -85,8 +85,7 @@ const detailList = reactive({ ...@@ -85,8 +85,7 @@ const detailList = reactive({
} }
.project_intro_desc { .project_intro_desc {
padding: 27px 25px 30px 27px; padding: 27px 25px 30px 27px;
background: #f8f8f8;
background: rgba(248, 248, 248, 0.39);
opacity: 1; opacity: 1;
border-radius: 20px; border-radius: 20px;
margin-top: 16px; margin-top: 16px;
...@@ -126,12 +125,12 @@ const detailList = reactive({ ...@@ -126,12 +125,12 @@ const detailList = reactive({
} }
} }
} }
:deep(.is-vertical-label) { :deep(.el-descriptions__label) {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #666; color: #666;
} }
:deep(.is-vertical-content) { :deep(.el-descriptions__content) {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论