提交 abe105d4 authored 作者: coderBryanFu's avatar coderBryanFu

feat:更新overviewNormal组件

上级 ea3047a3
...@@ -73,7 +73,8 @@ const props = defineProps({ ...@@ -73,7 +73,8 @@ const props = defineProps({
} }
.box-down-box { .box-down-box {
height: 20px; // height: 20px;
height: fit-content;
flex: auto; flex: auto;
overflow: hidden; overflow: hidden;
} }
......
...@@ -20,10 +20,11 @@ ...@@ -20,10 +20,11 @@
</div> </div>
</box-background> </box-background>
<box-background width="712px" title="中美博弈专题"> <box-background width="712px" height="100%" title="中美博弈专题">
<template #header-icon> <template #header-icon>
<img src="@/assets/icons/subject-icon.png" /> <img src="@/assets/icons/subject-icon.png" />
</template> </template>
<el-space :size="16" direction="vertical" fill class="full-width common-padding"> <el-space :size="16" direction="vertical" fill class="full-width common-padding">
<el-space v-for="(item, index) in subjectData.slice(0, 3)" :key="index" <el-space v-for="(item, index) in subjectData.slice(0, 3)" :key="index"
@click="() => gotoNewsDetail(item.newsId)" alignment="center"> @click="() => gotoNewsDetail(item.newsId)" alignment="center">
...@@ -33,13 +34,13 @@ ...@@ -33,13 +34,13 @@
</common-text> </common-text>
<common-text class="text-bold text-hover" color="var(--text-primary-80-color)">{{ <common-text class="text-bold text-hover" color="var(--text-primary-80-color)">{{
item.newsTitle item.newsTitle
}}</common-text> }}</common-text>
</el-space> </el-space>
<el-space v-for="(item, index) in subjectData.slice(3)" :key="index" <el-space v-for="(item, index) in subjectData.slice(3)" :key="index"
@click="() => gotoNewsDetail(item.newsId)"> @click="() => gotoNewsDetail(item.newsId)">
<common-text class="text-regular text-hover" color="var(--text-primary-80-color)">{{ <common-text class="text-regular text-hover" color="var(--text-primary-80-color)">{{
"• " + item.newsTitle "• " + item.newsTitle
}}</common-text> }}</common-text>
</el-space> </el-space>
</el-space> </el-space>
</box-background> </box-background>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论