Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
feat(广告): (#454) 资讯详情页广告位
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Jul 13, 2018
1 parent a8a9fe0 commit 6ead189
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/page/news/NewsDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
</router-link>
</div>
</div>

<!-- 资讯详情页广告位 -->
<detail-ad type="news"/>

<div class="m-box-model m-art-comments">
<ul class="m-box m-aln-center m-art-comments-tabs">
<li>{{ commentCount | formatNum }}条评论</li>
Expand Down Expand Up @@ -141,6 +145,7 @@ import bus from "@/bus.js";
import { mapState } from "vuex";
import ArticleCard from "@/page/article/ArticleCard.vue";
import CommentItem from "@/page/article/ArticleComment.vue";
import DetailAd from "@/components/advertisement/DetailAd.vue";
import wechatShare from "@/util/wechatShare.js";
import md from "@/util/markdown.js";
import { limit } from "@/api/api.js";
Expand All @@ -152,7 +157,8 @@ export default {
name: "NewsDetail",
components: {
ArticleCard,
CommentItem
CommentItem,
DetailAd
},
data() {
return {
Expand Down

0 comments on commit 6ead189

Please sign in to comment.