1.0.1 • Published 6 years ago

vue_loadurl v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

vue_loadurl

本插件基于vue的手势跳转,拖动到底部跳转下个路由

Install

npm i vue_loadurl --save

参数说明: 1. toLink: 跳转下一个路由的name 2. fixed: true/false 是否吸符在底部 默认为false

Code Example (ES6)

<template>
    <div>
    <load-url toLink="appPart2" fixed="false">
      <div class="box">
      <h2>App接入推荐入口</h2>
      ...
    </div>
    </load-url>
    </div>
</template>
import LoadUrl from 'vue_loadurl';

    export default {
      components : {
      LoadUrl
    },
      data () {
        return {
        }
      },
      methods : {
      },
    }

效果

点击查看效果

Contributions

Your contributions and suggestions are welcome 😄😄😄💐💐💐.