vue
费小存
这个作者很懒,什么都没留下…
展开
-
Page.prototype-$emit()
Page.prototype function Page(){} $.extend(Page.prototype,{ init: function(){ this.bindEvents() }, bindEvents: function(){ var btn = $('#btn'); btn.click(function...原创 2018-05-28 15:21:29 · 710 阅读 · 0 评论 -
vue touch事件使用
vue touch事件使用 去哪儿网 Alphabet.vue文件 <template> <ul class="list"> <li class="item" v-for="item of letters" :key="item" :ref="item" @touc原创 2018-05-28 15:24:00 · 13069 阅读 · 1 评论 -
Vue头部60-140显示,渐隐渐现的效果
头部60-140显示,渐隐渐现的效果 <template> <div> <router-link tag="div" to="/" class="header-abs" v-show="showAbs"> <div class="iconfont h原创 2018-05-28 19:13:39 · 1239 阅读 · 0 评论 -
vue fade公用组件及使用
FadeAnimation.vue <template> <transition> <slot></slot> </transition> </template> <script> export default { name: 'FadeAnimation' } </scrip原创 2018-05-28 19:17:25 · 691 阅读 · 0 评论