From cb7779098c51922d0d7f26568475d350a9f1fad0 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 29 Jul 2022 19:08:22 +0800 Subject: [PATCH] 添加马甲认证,添加小红点更新 --- src/components/group/boxRight.vue | 134 ++++++++++++-------------------------------- 1 files changed, 36 insertions(+), 98 deletions(-) diff --git a/src/components/group/boxRight.vue b/src/components/group/boxRight.vue index f7fd762..ce012e7 100644 --- a/src/components/group/boxRight.vue +++ b/src/components/group/boxRight.vue @@ -1,135 +1,73 @@ <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: "inleft.com", + name: "https://gofor.live", }, { - name: "b.inleft.com", + name: "http://blog.inleft.com", }, { - name: "Baby Song- 陈奕迅 超超超超 标题", + name: "https://blog.ahzoo.cn/", }, { - name: "Baby Song- 陈奕迅 超超 标题", + name: "https://vian.top/", }, { - name: "Baby Song ", + name: "https://musenxi.com/", }, { - name: "inleft.com", + name: "http://alenc.cn", }, { - 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