index.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div>
  3. <h2 style="text-align:center">gin-vue-admin by 奇淼 And krank666</h2>
  4. <h2 style="text-align:center">点击动画获取联系方式</h2>
  5. <el-drawer
  6. :visible.sync="drawer"
  7. title="联系方式"
  8. >
  9. <div style="text-align:center;margin-top:30px;">
  10. <img src="http://qmplusimg.henrongyi.top/yx.jpg" width="180" />
  11. <H3>krank666微信</H3>
  12. </div>
  13. <div style="text-align:center;margin-top:30px;">
  14. <img src="http://qmplusimg.henrongyi.top/jjz.jpg" width="180" />
  15. <H3>Mr.奇淼微信</H3>
  16. </div>
  17. </el-drawer>
  18. <div @click="drawer = true">
  19. <Animition />
  20. </div>
  21. </div>
  22. </template>
  23. <script>
  24. import { mapGetters } from 'vuex'
  25. import Animition from '@/view/dashbord/component/animition.vue'
  26. export default {
  27. name: 'Dashbord',
  28. data() {
  29. return {
  30. drawer: false
  31. }
  32. },
  33. computed: {
  34. ...mapGetters('user', ['userInfo'])
  35. },
  36. components: {
  37. Animition
  38. }
  39. }
  40. </script>
  41. <style lang="scss" scoped>
  42. </style>