|
@@ -11,13 +11,14 @@
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="newsMain">
|
|
|
- <el-col class="chengguolist" :span="24" v-for="(tag, index) in newslist" :key="index" :type="tag.type"
|
|
|
- @click="$router.push({ path: '/detail', params:{id:tag.id} })">
|
|
|
- <el-col :span="20">
|
|
|
- {{tag.title}}
|
|
|
- </el-col>
|
|
|
- <el-col :span="4" style="text-align:right;">
|
|
|
- {{tag.time}}
|
|
|
+ <el-col :span="24" v-for="(tag, index) in newslist.children" :key="index" :type="tag.type" >
|
|
|
+ <el-col class="chengguolist" :span="24" v-for="(item, index) in tag.children" :key="index">
|
|
|
+ <el-col :span="20" @click="$router.push({ path: '/detail', params:{id:item.id} })">
|
|
|
+ {{item.title}}
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="text-align:right;">
|
|
|
+ {{item.publish_time}}
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|