|
@@ -29,7 +29,9 @@
|
|
|
<!-- item.ext.title -->
|
|
|
<el-col :span="24" class="title textOver">{{ getProp(item, 'title') }}</el-col>
|
|
|
<!-- item.txt.txt -->
|
|
|
- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col>
|
|
|
+ <!-- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col> -->
|
|
|
+ <el-col :span="24" class="brief">{{ getContent(getProp(item, 'brief')) }}</el-col>
|
|
|
+
|
|
|
<!-- item.ext.release_date -->
|
|
|
<el-col :span="24" class="date">{{ getProp(item, 'date') }}</el-col>
|
|
|
</el-col>
|
|
@@ -54,7 +56,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="18" class="mess">
|
|
|
<el-col :span="24" class="title textOver">{{ getProp(item, 'title') }}</el-col>
|
|
|
- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col>
|
|
|
+ <!-- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col> -->
|
|
|
+ <el-col :span="24" class="brief">{{ getContent(getProp(item, 'brief')) }}</el-col>
|
|
|
<el-col :span="24" class="date">{{ getProp(item, 'date') }}</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -78,7 +81,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="18" class="mess">
|
|
|
<el-col :span="24" class="title textOver">{{ getProp(item, 'title') }}</el-col>
|
|
|
- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col>
|
|
|
+ <!-- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col> -->
|
|
|
+ <el-col :span="24" class="brief">{{ getContent(getProp(item, 'brief')) }}</el-col>
|
|
|
<el-col :span="24" class="date">{{ getProp(item, 'date') }}</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -102,7 +106,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="18" class="mess">
|
|
|
<el-col :span="24" class="title textOver">{{ getProp(item, 'title') }}</el-col>
|
|
|
- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col>
|
|
|
+ <!-- <el-col :span="24" class="brief" v-html="getProp(item, 'brief')"></el-col> -->
|
|
|
+ <el-col :span="24" class="brief">{{ getContent(getProp(item, 'brief')) }}</el-col>
|
|
|
<el-col :span="24" class="date">{{ getProp(item, 'date') }}</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -124,7 +129,7 @@ import { index } from '@/api/api'
|
|
|
import dividerIndex from '../../components/windows/dividerIndex.vue'
|
|
|
import { get } from 'lodash-es'
|
|
|
import { tf } from '@/utils/timeFormat'
|
|
|
-
|
|
|
+import getContent from '@/utils/getContent'
|
|
|
const leftUrl = ref('news1.png')
|
|
|
|
|
|
const activeName = ref('first')
|
|
@@ -161,7 +166,6 @@ const zcfgList: any = ref([])
|
|
|
const zbcgList: any = ref([])
|
|
|
/**集团要闻 */
|
|
|
const jtxwList: any = ref([])
|
|
|
-
|
|
|
/* 选项卡切换,换数据 */
|
|
|
const handleClick = (tab: TabsPaneContext, event: Event) => {
|
|
|
console.log(tab, event)
|