From 85fd7fe0c0017ceff0939bae535a0bad5dab7ad8 Mon Sep 17 00:00:00 2001 From: cos2004 Date: Mon, 30 Jul 2018 19:51:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B1=95=E7=A4=BA=E9=A1=B5):=20=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E7=BB=84=E4=BB=B6=E5=B1=95=E7=A4=BA=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/navigation/drawer/index.js | 32 +++++++++++++++----- src/pages/navigation/pagination/index.js | 37 +++++++++++++++++++----- src/pages/navigation/timeline/index.js | 25 +++++++++++----- 3 files changed, 70 insertions(+), 24 deletions(-) diff --git a/src/pages/navigation/drawer/index.js b/src/pages/navigation/drawer/index.js index f503dcbd7..246323424 100644 --- a/src/pages/navigation/drawer/index.js +++ b/src/pages/navigation/drawer/index.js @@ -52,17 +52,33 @@ export default class DrawerPage extends Taro.Component { return ( - - 显示drawer(左边滑出) - {this.state.leftDrawerShow && - } + + Drawer 抽屉 + + + 左边滑出 + + + 显示drawer + {this.state.leftDrawerShow && + } + + + - - 显示drawer(右边滑出) - {this.state.rightDrawerShow && - } + + 右边滑出 + + + 显示drawer + {this.state.rightDrawerShow && + } + + + + ) } diff --git a/src/pages/navigation/pagination/index.js b/src/pages/navigation/pagination/index.js index d00c6d72a..51d92f545 100644 --- a/src/pages/navigation/pagination/index.js +++ b/src/pages/navigation/pagination/index.js @@ -26,17 +26,38 @@ export default class PaginationPage extends Taro.Component { render () { return ( - - - + {/* S Header */} + + Pagination 分页器 + {/* E Header */} + + + 文本按钮 + 页码 + + + + + + - - - + + 图标按钮 + 页码 + + + + + + - - + + 隐藏页码 + + + + + + ) diff --git a/src/pages/navigation/timeline/index.js b/src/pages/navigation/timeline/index.js index 1baf09b33..446cb9344 100644 --- a/src/pages/navigation/timeline/index.js +++ b/src/pages/navigation/timeline/index.js @@ -13,16 +13,25 @@ export default class TimelinePage extends Taro.Component { render () { return ( + + Timeline 时间轴 + - - - 刷牙洗脸 - 吃早餐 - 上班 - 睡觉 - - + + + + + + 刷牙洗脸 + 吃早餐 + 上班 + 睡觉 + + + + + ) }