From c6793e5475b607e83cbb55b7d0ddfb9b81bd7774 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 25 Aug 2022 04:09:06 +0800 Subject: [PATCH] 日志内容详情页多媒体适配 markdown 内图片增加viewer相应 --- src/components/group/boxRight.vue | 128 ++++++++++-------------------------------- 1 files changed, 32 insertions(+), 96 deletions(-) diff --git a/src/components/group/boxRight.vue b/src/components/group/boxRight.vue index bc15b90..ce012e7 100644 --- a/src/components/group/boxRight.vue +++ b/src/components/group/boxRight.vue @@ -1,66 +1,50 @@ <template> <div class="blog-right-side fadeInRight"> <div class="blog-cell "> + <box4 v-bind="vo4"></box4> + </div> + <!-- <div class="blog-cell "> <box4 v-bind="vo1"></box4> </div> <div class="blog-cell "> <box4 v-bind="vo2"></box4> - </div> - <div class="blog-cell "> + </div> --> + <!-- <div class="blog-cell "> <box4 v-bind="vo3"></box4> <div class="blog-right-side-exchange"> </div> - </div> - <div class="blog-cell "> - <box4 v-bind="vo4"></box4> - </div> + </div> --> </div> </template> <script> import box4 from "../mini/box4-minibox.vue" + + import { + statistics + } from '../../api/blogStatistics.js' + export default { components: { box4, }, + beforeMount() { + statistics({}).then((res) => { + this.vo4 = res.data; + return res; + }) + }, data() { return { - vo1: { - title: "最近热读", - list: [{ - name: "Baby Song- 陈奕迅 ", - }, { - name: "Baby Song- 陈奕迅 超超超超超超超超超超超超超超长的标题", - }, { - name: "Baby Song- 陈奕迅 超超超超超超超长的标题", - }, { - name: "Baby Song- 陈奕迅 超超超超超超超超超超超超超超长的标题", - }, { - name: "Baby Song- 陈奕迅 ", - }] - }, - vo2: { - title: "最多点赞", - list: [{ - name: "Baby Song- 陈奕迅 ", - }, { - name: "Baby Song- 陈奕迅 超 超超超超超超长的标题", - }, { - name: "Baby Song- 陈奕迅 超超超超 标题", - }, { - name: "Baby Song- 陈奕迅 超超 标题", - }, { - name: "Baby Song ", - }] - }, vo3: { + "link": "/link", title: "友情链接", - isShowRemark:true, + isShowRemark: true, list: [{ name: "https://gofor.live", }, { - name: "blog.inleft.com", + name: "http://blog.inleft.com", }, { name: "https://blog.ahzoo.cn/", }, { @@ -68,70 +52,22 @@ }, { name: "https://musenxi.com/", }, { - name: "alenc.cn", + name: "http://alenc.cn", }, { - name: "howshow.tech", - }, { - name: "b.inleft.com", - }, { - name: "Baby Song- 陈奕迅 超超超超 标题", - }, { - name: "Baby Song- 陈奕迅 超超 标题", - }, { - name: "Baby Song ", - }, { - name: "inleft.com", - }, { - name: "b.inleft.com", - }, { - name: "Baby Song- 陈奕迅 超超超超 标题", - }, { - name: "Baby Song- 陈奕迅 超超 标题", - }, { - name: "Baby Song ", - }, { - name: "inleft.com", - }, { - name: "b.inleft.com", - }, { - name: "Baby Song- 陈奕迅 超超超超 标题", - }, { - name: "Baby Song- 陈奕迅 超超 标题", - }, { - name: "Baby Song ", - }, { - name: "inleft.com", - }, { - name: "b.inleft.com", - }, { - name: "Baby Song- 陈奕迅 超超超超 标题", - }, { - name: "Baby Song- 陈奕迅 超超 标题", - }, { - name: "Baby Song ", - }, { - name: "inleft.com", - }, { - name: "b.inleft.com", - }, { - name: "Baby Song- 陈奕迅 超超超超 标题", - }, { - name: "Baby Song- 陈奕迅 超超 标题", - }, { - name: "Baby Song ", + name: "http://howshow.tech", }] }, vo4: { - title: "统计信息", - list: [{ - name: "已稳定运行:101天", - }, { - name: "上次更新:2020-05-27", - }, { - name: "累计访问:10000次", - }, { - name: "累计访客:1001名", - }] + // title: "统计信息", + // list: [{ + // name: "已稳定运行:101天", + // }, { + // name: "上次更新:2020-05-27", + // }, { + // name: "累计访问:10000次", + // }, { + // name: "累计访客:1001名", + // }] } } } -- Gitblit v1.9.1