From a6abfa968354673c9d463f3896e375e77a378334 Mon Sep 17 00:00:00 2001 From: wupengFEX Date: Thu, 23 Nov 2017 19:56:24 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mip-nav-slidedown/README.md | 141 +++++++ src/mip-nav-slidedown/mip-nav-slidedown.js | 162 ++++++++ src/mip-nav-slidedown/mip-nav-slidedown.less | 231 +++++++++++ src/mip-nav-slidedown/package.json | 14 + src/mip-nav-slidedown/setting/example.preset | 5 + src/mip-stats-tianrun/README.md | 26 ++ src/mip-stats-tianrun/mip-stats-tianrun.js | 31 ++ src/mip-stats-tianrun/package.json | 13 + src/mip-vd-tabs/README.md | 151 ++++++++ src/mip-vd-tabs/mip-vd-tabs.js | 387 +++++++++++++++++++ src/mip-vd-tabs/mip-vd-tabs.less | 233 +++++++++++ src/mip-vd-tabs/package.json | 13 + src/mip-vd-tabs/tab.js | 257 ++++++++++++ 13 files changed, 1664 insertions(+) create mode 100644 src/mip-nav-slidedown/README.md create mode 100644 src/mip-nav-slidedown/mip-nav-slidedown.js create mode 100644 src/mip-nav-slidedown/mip-nav-slidedown.less create mode 100644 src/mip-nav-slidedown/package.json create mode 100644 src/mip-nav-slidedown/setting/example.preset create mode 100644 src/mip-stats-tianrun/README.md create mode 100755 src/mip-stats-tianrun/mip-stats-tianrun.js create mode 100644 src/mip-stats-tianrun/package.json create mode 100644 src/mip-vd-tabs/README.md create mode 100644 src/mip-vd-tabs/mip-vd-tabs.js create mode 100644 src/mip-vd-tabs/mip-vd-tabs.less create mode 100644 src/mip-vd-tabs/package.json create mode 100644 src/mip-vd-tabs/tab.js diff --git a/src/mip-nav-slidedown/README.md b/src/mip-nav-slidedown/README.md new file mode 100644 index 000000000..e9a6ca33c --- /dev/null +++ b/src/mip-nav-slidedown/README.md @@ -0,0 +1,141 @@ +# mip-nav-slidedown 菜单 + +响应式菜单,在mip官网有引用。 + +标题|内容 +----|---- +类型|通用 +支持布局|responsive,fixed-height,fill,container,fixed +所需脚本|https://mipcache.bdstatic.com/static/v1/mip-nav-slidedown/mip-nav-slidedown.js + +## 示例 +### 基本使用 +```html +
+ + + +
+``` + +### 导航菜单个数多 +导航菜单个数较多时,菜单展开可以上下滚动 +```html +
+ + + +
+``` + +### 增加二级菜单 +直接添加`