给更多页添加头部和底部并修改本地userid
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="search_page">
|
||||
<div class="content">
|
||||
<headerPage />
|
||||
<div class="content min_h_241" style="padding-top:70px">
|
||||
<div class="item" v-for="(value, key, index) in list" :key="index">
|
||||
<!-- 政策 -->
|
||||
<div>
|
||||
@ -13,13 +14,13 @@
|
||||
<el-divider></el-divider>
|
||||
<div class="item_i" v-for="(item, index2) in value" :key="index2">
|
||||
<div>
|
||||
<h4 class="pointer">
|
||||
<div class="item_title pointer">
|
||||
<router-link
|
||||
target="_blank"
|
||||
:to="{ path: '/result', query: { key, id: item.id } }"
|
||||
>{{ item.title }}</router-link
|
||||
>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="info" v-if="key == 'policy' || key == 'policyRead'">
|
||||
<div>来源:{{ item.source }}</div>
|
||||
<div>发布:{{ item.listDate }}</div>
|
||||
@ -51,12 +52,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<popup
|
||||
<footerPage />
|
||||
<!-- <popup
|
||||
:dialogVisible="dialogVisible"
|
||||
:type="type"
|
||||
:formData="formData"
|
||||
@close="dialogVisible = false"
|
||||
/>
|
||||
/> -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -69,9 +71,13 @@ import {
|
||||
getInfo3
|
||||
} from '@/api/search';
|
||||
import popup from './components/dialog';
|
||||
import footerPage from './components/footer';
|
||||
import headerPage from './components/header';
|
||||
export default {
|
||||
components: {
|
||||
popup
|
||||
popup,
|
||||
footerPage,
|
||||
headerPage
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -117,11 +123,17 @@ export default {
|
||||
border-radius: 6px;
|
||||
}
|
||||
.item_i {
|
||||
.item_title {
|
||||
font-size: 18px;
|
||||
color: #333;
|
||||
margin-bottom: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
.info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
color: #999;
|
||||
.el-tag {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user