在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML5/ 模仿 餓了嗎這個詳情頁,從右往左劃入實現(xiàn)不了,也不知道哪里錯了

模仿 餓了嗎這個詳情頁,從右往左劃入實現(xiàn)不了,也不知道哪里錯了

<template >
  <div transition="move" class="food" v-show="showFlag">    
  </div>
</template>
<script type="text/ecmascript-6">
    export default{
        data(){
            return{
                showFlag:false
            }
        },
        components:{

        },
        props:{
            food:{
                tyoe:Object
            }
        },
        methods: {
            show(){
                this.showFlag=true;
            }
        }
    }
</script>
<style lang="stylus" rel="stylesheet/stylus">
.food
    position:fixed;
    left:0;
    top:0;
    bottom:48px;
    z-index:30;
    width:100%;
    background-color :#fff;
    &.move-transition
        transition :all 0.3s linear;
        transform :translate3d(0,0,0);
    &.move-enter,&.move-leave
        transform :translate3d(100%,0,0);//表示一個從右向左的飛入動畫         
</style>
回答
編輯回答
笨笨噠

.move-transition在哪用到了

2017年2月25日 23:50
編輯回答
念初

github一堆這個項目的開源代碼 自己去搜索去對比 比較快

2017年3月10日 14:49