From d5e8d77bbce2f4d7dfcbbdcd162d7aae2041f565 Mon Sep 17 00:00:00 2001
From: yang <1441163367@qq.com>
Date: 星期二, 25 十月 2022 17:54:46 +0800
Subject: [PATCH] first
---
src/page/index/logo.vue | 70 -----------------------------------
1 files changed, 0 insertions(+), 70 deletions(-)
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index 5fa886d..e69de29 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -1,70 +0,0 @@
-<template>
- <div class="avue-logo">
- <transition name="fade">
- <span v-if="keyCollapse" key="0" class="avue-logo_subtitle" @click="goIndex">
- {{website.subtitle}}
- </span>
- </transition>
- <transition-group name="fade">
- <span v-if="!keyCollapse" key="1" class="avue-logo_title" @click="goIndex">
- {{ website.title }}
- </span>
- </transition-group>
- </div>
-</template>
-
-<script>
-import { mapGetters } from 'vuex'
-export default {
- name: 'Logo',
- computed: {
- ...mapGetters(['website', 'keyCollapse'])
- },
- methods: {
- goIndex: function () {
- window.location.href = '/'
- }
- }
-}
-</script>
-
-<style lang="scss">
-.fade-leave-active {
- transition: opacity 0.2s;
-}
-.fade-enter-active {
- transition: opacity 2.5s;
-}
-.fade-enter,
-.fade-leave-to {
- opacity: 0;
-}
-.avue-logo {
- position: fixed;
- top: 0;
- left: 0;
- width: 240px;
- height: 64px;
- line-height: 64px;
- background-color: #FFFFFF;
- font-size: 20px;
- overflow: hidden;
- box-sizing: border-box;
- //box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
- color: rgba(0, 0, 0, 0.8);
- z-index: 1024;
- &_title {
- display: block;
- text-align: center;
- font-weight: 300;
- font-size: 16px;
- }
- &_subtitle {
- display: block;
- text-align: center;
- font-size: 18px;
- font-weight: bold;
- color: #fff;
- }
-}
-</style>
--
Gitblit v1.9.1