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

修改企业信息介绍样式

上级 f8364580
...@@ -68,9 +68,11 @@ const handleStatus = (row: any) => { ...@@ -68,9 +68,11 @@ const handleStatus = (row: any) => {
id: row.id, id: row.id,
status: row.status status: row.status
} }
getCompanyStatus(params).then(() => { if (row.id !== undefined) {
appList.value.refetch() getCompanyStatus(params).then(() => {
}) appList.value.refetch()
})
}
} }
</script> </script>
...@@ -93,7 +95,7 @@ const handleStatus = (row: any) => { ...@@ -93,7 +95,7 @@ const handleStatus = (row: any) => {
</template> </template>
<template #table-operate="{ row }"> <template #table-operate="{ row }">
<el-space> <el-space>
<router-link :to="`/company/view?id=${row.id}&status=${row.audit_status}`" target="_blank"> <router-link :to="`/company/view?id=${row.id}&status=${row.audit_status}`">
<el-link type="primary">{{ row.audit_status !== 3 ? '查看' : '审核' }}</el-link> <el-link type="primary">{{ row.audit_status !== 3 ? '查看' : '审核' }}</el-link>
</router-link> </router-link>
</el-space> </el-space>
......
...@@ -55,7 +55,7 @@ onMounted(() => { ...@@ -55,7 +55,7 @@ onMounted(() => {
<el-descriptions-item label="公司Logo:" class="logo_class" width="200px"> <el-descriptions-item label="公司Logo:" class="logo_class" width="200px">
<el-image :src="detailList?.logo" style="width: 150px"></el-image> <el-image :src="detailList?.logo" style="width: 150px"></el-image>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="公司介绍:" :span="1" width="150px"> <el-descriptions-item label="公司介绍:" :span="1">
<div class="project_intro" v-html="detailList?.desc"></div> <div class="project_intro" v-html="detailList?.desc"></div>
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
...@@ -85,4 +85,11 @@ onMounted(() => { ...@@ -85,4 +85,11 @@ onMounted(() => {
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
:deep(.project_intro) {
p {
img {
width: 100%;
}
}
}
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论