|
@@ -1,68 +0,0 @@
|
|
|
-<template>
|
|
|
- <div id="kjzxList">
|
|
|
- <el-row>
|
|
|
- <el-col :span="24" class="kjzx">
|
|
|
- <el-col :span="24" class="list" v-for="(item, index) in list" :key="index" @click.native="detailBtn(item)">
|
|
|
- <el-col :span="24" class="name textOver">
|
|
|
- {{ item.title }}
|
|
|
- </el-col>
|
|
|
- <el-col :span="24" class="other">
|
|
|
- <span class="textOver">信息来源:{{ item.orgin || '暂无' }}</span>
|
|
|
- <span class="textOver">发布时间:{{ item.publish_time || '暂无' }}</span>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- <el-backtop :bottom="50" :right="10"> </el-backtop>
|
|
|
- </el-row>
|
|
|
- </div>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
-import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
-export default {
|
|
|
- metaInfo() {
|
|
|
- return { title: this.$route.meta.title };
|
|
|
- },
|
|
|
- name: 'kjzxList',
|
|
|
- props: {
|
|
|
- list: { type: Array },
|
|
|
- },
|
|
|
- components: {},
|
|
|
- data: function() {
|
|
|
- return {};
|
|
|
- },
|
|
|
- created() {},
|
|
|
- methods: {},
|
|
|
- computed: {
|
|
|
- ...mapState(['user']),
|
|
|
- },
|
|
|
-};
|
|
|
-</script>
|
|
|
-
|
|
|
-<style lang="less" scoped>
|
|
|
-.kjzx {
|
|
|
- padding: 0 10px;
|
|
|
- .list {
|
|
|
- border-bottom: 1px dashed #ccc;
|
|
|
- padding: 10px 0;
|
|
|
- .name {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
- .company {
|
|
|
- font-size: 16px;
|
|
|
- color: #666;
|
|
|
- padding: 5px 0 0 0;
|
|
|
- }
|
|
|
- .other {
|
|
|
- font-size: 16px;
|
|
|
- color: #666;
|
|
|
- padding: 5px 0 0 0;
|
|
|
- span {
|
|
|
- display: inline-block;
|
|
|
- width: 50%;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-</style>
|