|
@@ -1,4 +1,4 @@
|
|
|
-<style lang="scss">
|
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
.preview {
|
|
.preview {
|
|
|
.el-form-item {
|
|
.el-form-item {
|
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
@@ -75,11 +75,11 @@ a {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.syncitem {
|
|
.syncitem {
|
|
|
- height: 72px;
|
|
|
|
|
- line-height: 72px;
|
|
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
- border-bottom: 1px solid #ccc;
|
|
|
|
|
|
|
+ border-bottom: 1px solid #f4f4f4;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
.syncitem img {
|
|
.syncitem img {
|
|
|
margin: 10px;
|
|
margin: 10px;
|
|
@@ -88,6 +88,19 @@ a {
|
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
+.el-dialog__body {
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ background: #ececec;
|
|
|
|
|
+ p {
|
|
|
|
|
+ height: 45px;
|
|
|
|
|
+ overflow: hidden!important;
|
|
|
|
|
+ display: -webkit-box;
|
|
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
|
+ padding:10px 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|
|
|
<template>
|
|
<template>
|
|
|
<section>
|
|
<section>
|
|
@@ -149,7 +162,7 @@ a {
|
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
|
>
|
|
>
|
|
|
<el-table-column type="selection" width="55"> </el-table-column>
|
|
<el-table-column type="selection" width="55"> </el-table-column>
|
|
|
- <el-table-column prop="name" label="文章名称"> </el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="name" label="文章名称" width="380px"> </el-table-column>
|
|
|
<el-table-column prop="img" label="封面图">
|
|
<el-table-column prop="img" label="封面图">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<img :src="scope.row.img" alt="" width="120" height="80" />
|
|
<img :src="scope.row.img" alt="" width="120" height="80" />
|
|
@@ -159,7 +172,7 @@ a {
|
|
|
<el-table-column prop="journal_name" label="来源"></el-table-column>
|
|
<el-table-column prop="journal_name" label="来源"></el-table-column>
|
|
|
<el-table-column prop="publish_time" label="出版时间"></el-table-column>
|
|
<el-table-column prop="publish_time" label="出版时间"></el-table-column>
|
|
|
<el-table-column prop="ctime" label="发布时间"></el-table-column>
|
|
<el-table-column prop="ctime" label="发布时间"></el-table-column>
|
|
|
- <el-table-column prop="read_num" label="阅读量"></el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="read_num" label="阅读量" width="80"></el-table-column>
|
|
|
<el-table-column prop="zip" width="150" label="操作">
|
|
<el-table-column prop="zip" width="150" label="操作">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button class="edit" type="text" @click="edit(scope.row)"
|
|
<el-button class="edit" type="text" @click="edit(scope.row)"
|
|
@@ -182,7 +195,7 @@ a {
|
|
|
<el-dialog
|
|
<el-dialog
|
|
|
class="fu-dialog"
|
|
class="fu-dialog"
|
|
|
title="同步到微信公众号"
|
|
title="同步到微信公众号"
|
|
|
- width="375px"
|
|
|
|
|
|
|
+ width="414px"
|
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
|
:visible.sync="dialogVisible"
|
|
:visible.sync="dialogVisible"
|
|
|
>
|
|
>
|
|
@@ -194,16 +207,17 @@ a {
|
|
|
<img
|
|
<img
|
|
|
:src="multipleSelection[0].img"
|
|
:src="multipleSelection[0].img"
|
|
|
alt=""
|
|
alt=""
|
|
|
- width="310px"
|
|
|
|
|
- height="157px"
|
|
|
|
|
|
|
+ width="390px"
|
|
|
|
|
+ height="170px"
|
|
|
/>
|
|
/>
|
|
|
<p
|
|
<p
|
|
|
style="
|
|
style="
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
bottom: 20px;
|
|
bottom: 20px;
|
|
|
- left: 20px;
|
|
|
|
|
|
|
+ left: 10px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
|
|
|
+ right: 10px;
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|
|
|
{{ multipleSelection[0].name }}
|
|
{{ multipleSelection[0].name }}
|
|
@@ -212,10 +226,10 @@ a {
|
|
|
<div v-if="multipleSelection.length">
|
|
<div v-if="multipleSelection.length">
|
|
|
<div
|
|
<div
|
|
|
class="syncitem"
|
|
class="syncitem"
|
|
|
- v-for="(item, index) in multipleSelection"
|
|
|
|
|
|
|
+ v-for="(item, index) in multipleSelection.slice(1, 8)"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
>
|
|
>
|
|
|
- <p>{{ item.name.substring(0, 20) }}</p>
|
|
|
|
|
|
|
+ <p>{{ item.name.substring(0,43) }}</p>
|
|
|
<img :src="item.img" alt="" width="48px" height="48px" />
|
|
<img :src="item.img" alt="" width="48px" height="48px" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -235,7 +249,7 @@ a {
|
|
|
<script>
|
|
<script>
|
|
|
import Page from "../../components/Page";
|
|
import Page from "../../components/Page";
|
|
|
import fuEditor from "../../components/fuEditor";
|
|
import fuEditor from "../../components/fuEditor";
|
|
|
-export default {
|
|
|
|
|
|
|
+export default {
|
|
|
components: {
|
|
components: {
|
|
|
Page,
|
|
Page,
|
|
|
fuEditor,
|
|
fuEditor,
|
|
@@ -254,7 +268,7 @@ export default {
|
|
|
dialogVisible: false,
|
|
dialogVisible: false,
|
|
|
journalLogo: "",
|
|
journalLogo: "",
|
|
|
multipleSelection: [],
|
|
multipleSelection: [],
|
|
|
- journalSearch:[]
|
|
|
|
|
|
|
+ journalSearch: [],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -324,9 +338,9 @@ export default {
|
|
|
getData() {
|
|
getData() {
|
|
|
var parm = this.form;
|
|
var parm = this.form;
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
- this.$api.searchJournalList().then((res)=>{
|
|
|
|
|
- this.journalSearch = res.data.data
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ this.$api.searchJournalList().then((res) => {
|
|
|
|
|
+ this.journalSearch = res.data.data;
|
|
|
|
|
+ });
|
|
|
this.$api.getArticleList(parm).then((res) => {
|
|
this.$api.getArticleList(parm).then((res) => {
|
|
|
console.log(res);
|
|
console.log(res);
|
|
|
this.list = res.data.data.list;
|
|
this.list = res.data.data.list;
|