Blame view

code/finance_web/src/components/main.vue 630 Bytes
a  
谢明辉 committed
1
<template>
a  
谢明辉 committed
2 3 4 5 6 7
  <transition name="logo-fade">
    <div style="align:center" v-show="show">
      <span style="font-size:100px;margin-top:15%;margin-bottom:0;margin-left:auto;margin-right:auto;background-color:black;color:white;width:622px;display:block">合同管理系统</span>
      <img src="../assets/logo.png" alt="">
    </div>
  </transition>
a  
谢明辉 committed
8 9
</template>
<script>
a  
谢明辉 committed
10 11 12 13 14 15 16 17
  export default {
    data() {
      return {
        show: false
      };
    },
    mounted() {
      this.show = true;
a  
谢明辉 committed
18
    }
a  
谢明辉 committed
19
  };
a  
谢明辉 committed
20 21 22 23 24 25 26 27 28 29
</script>

<style scoped>
.logo-fade-enter-active {
  transition: all 3.5s ease;
}
.logo-fade-enter {
  opacity: 0;
}
</style>