From 10572998aa54d61c45df3e334eb01e44a15df729 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 10 Aug 2022 18:35:59 +0800 Subject: [PATCH] 常量提取,优化视频模块布局 --- src/components/mini/tagTime.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/mini/tagTime.vue b/src/components/mini/tagTime.vue index e1f669e..70c0931 100644 --- a/src/components/mini/tagTime.vue +++ b/src/components/mini/tagTime.vue @@ -45,13 +45,19 @@ created() { this.year = this.$route.query.year; this.month = this.$route.query.month; + archiveGroup({ + year: this.year, + month: this.month + }).then((res) => { + this.list = res.data; + }) }, watch: { '$route'(to, from) { if ("tagTime" === to.name) { this.year = this.$route.query.year; this.month = this.$route.query.month; - this.$message.info('loading',0.3); + this.$message.info('loading', 0.3); archiveGroup({ year: this.year, month: this.month @@ -66,11 +72,13 @@ <style lang="less"> + .ant-timeline-item-content { + a { color: #555; } - + span { line-height: 30px; } -- Gitblit v1.9.1