Giter VIP home page Giter VIP logo

Comments (4)

su-Pro avatar su-Pro commented on August 20, 2024

在路由切换后,会渲染歌手详情页这个组件。

只需要在template中用动画把模板包起来即可,同时补上css动画,伪代码逻辑如下:

<template>
  <transition appear name="slide">
    <music-list></music-list>
  </transition>
</template>
  .slide-enter-active,.slide-leave-active
    transition: all 0.3s
  .slide-enter,.slide-leave-to
    transform: translate3d(100%, 0, 0)

from vue-music-webapp.

SS-slient avatar SS-slient commented on August 20, 2024

from vue-music-webapp.

su-Pro avatar su-Pro commented on August 20, 2024

不客气呢,之后可以关注一下我的仓库,最近也在重构这个项目,希望到时候能帮助到你哈!

from vue-music-webapp.

wenjianli92 avatar wenjianli92 commented on August 20, 2024

代码拉下来。页面切换进入时没动效,离开时有动效,但我见实例http://120.79.162.149:3002/#/recommend中页面进入离开都有动效的,是怎么做的,代码能更新下吗?

from vue-music-webapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.