From aa8d1aa8fbd88260c557d93ce6015717e512f6c1 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Tue, 24 Nov 2020 09:03:03 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20:package:=20=E7=A7=BB=E9=99=A4=20better?= =?UTF-8?q?-scroll=20=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/menu/modules/demo-plugins.js | 9 -- src/router/modules/plugins.js | 2 - src/views/demo/plugins/better-scroll/base.vue | 63 ----------- src/views/demo/plugins/better-scroll/to.vue | 107 ------------------ 4 files changed, 181 deletions(-) delete mode 100644 src/views/demo/plugins/better-scroll/base.vue delete mode 100644 src/views/demo/plugins/better-scroll/to.vue diff --git a/src/menu/modules/demo-plugins.js b/src/menu/modules/demo-plugins.js index b18f8d3a3..1cb550dbe 100644 --- a/src/menu/modules/demo-plugins.js +++ b/src/menu/modules/demo-plugins.js @@ -22,15 +22,6 @@ export default { { path: '/demo/plugins/export/txt', title: '文本' } ] }, - { - path: '/demo/plugins/better-scroll', - title: '滚动扩展', - icon: 'crosshairs', - children: [ - { path: '/demo/plugins/better-scroll/base', title: '基础用法' }, - { path: '/demo/plugins/better-scroll/to', title: '滚动定位' } - ] - }, { path: '/demo/plugins/clipboard-polyfill', title: '剪贴板访问', icon: 'clipboard' }, { path: '/demo/plugins/day', title: '日期计算', icon: 'clock-o' }, { path: '/demo/plugins/js-cookie', title: 'Cookie 读写', icon: 'asterisk' } diff --git a/src/router/modules/plugins.js b/src/router/modules/plugins.js index 2ebc7eae7..302506e42 100644 --- a/src/router/modules/plugins.js +++ b/src/router/modules/plugins.js @@ -12,8 +12,6 @@ export default { redirect: { name: 'demo-plugins-index' }, component: layoutHeaderAside, children: [ - { path: 'better-scroll/base', name: 'demo-plugins-better-scroll-base', component: _import('demo/plugins/better-scroll/base.vue'), meta: { ...meta, title: '滚动插件基础' } }, - { path: 'better-scroll/to', name: 'demo-plugins-better-scroll-to', component: _import('demo/plugins/better-scroll/to.vue'), meta: { ...meta, title: '滚动定位' } }, { path: 'clipboard-polyfill', name: 'demo-plugins-clipboard-polyfill', component: _import('demo/plugins/clipboard-polyfill'), meta: { ...meta, title: '剪贴板访问' } }, { path: 'day', name: 'demo-plugins-day', component: _import('demo/plugins/day'), meta: { ...meta, title: '日期计算' } }, { path: 'export/table', name: 'demo-plugins-export-table', component: _import('demo/plugins/export/table.vue'), meta: { ...meta, title: '导出表格' } }, diff --git a/src/views/demo/plugins/better-scroll/base.vue b/src/views/demo/plugins/better-scroll/base.vue deleted file mode 100644 index 1124d31a6..000000000 --- a/src/views/demo/plugins/better-scroll/base.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - 基础用法 - - - n : {{n}} - - - - - - - - diff --git a/src/views/demo/plugins/better-scroll/to.vue b/src/views/demo/plugins/better-scroll/to.vue deleted file mode 100644 index aa8ff803d..000000000 --- a/src/views/demo/plugins/better-scroll/to.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - 滚动定位 - - - - - n : {{n}} - - - - - - 滚动时间 ms - - - - - 滚动到100像素位置 - 滚动到300像素位置 - - - - - 向下滚动50像素 - 向上滚动50像素 - - - - - 滚动到第四个 - 滚动到第十四个 - 滚动到第二十四个 - - - - - - - - - - -
滚动时间 ms