From 2795bef55b825acd0065d991e835c5f616ec4724 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 05 Aug 2022 18:25:35 +0800 Subject: [PATCH] mini消息盒子 --- src/components/group/boxRight.vue | 120 ++++++++++++++---------------------------------------------- 1 files changed, 28 insertions(+), 92 deletions(-) diff --git a/src/components/group/boxRight.vue b/src/components/group/boxRight.vue index e6bbe27..ce012e7 100644 --- a/src/components/group/boxRight.vue +++ b/src/components/group/boxRight.vue @@ -9,58 +9,42 @@ <div class="blog-cell "> <box4 v-bind="vo2"></box4> </div> --> - <div class="blog-cell "> + <!-- <div class="blog-cell "> <box4 v-bind="vo3"></box4> <div class="blog-right-side-exchange"> </div> - </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