From eb89c6fbc8668cf33c1c8d7ac6aa518b4682d989 Mon Sep 17 00:00:00 2001 From: Nino Date: Thu, 22 Dec 2016 15:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/dashboard/index.js | 51 ++++++++++++++++++++++++++++ example/dashboard/index.wxml | 64 ++---------------------------------- 2 files changed, 53 insertions(+), 62 deletions(-) diff --git a/example/dashboard/index.js b/example/dashboard/index.js index 99e7458d..306aeee4 100644 --- a/example/dashboard/index.js +++ b/example/dashboard/index.js @@ -2,6 +2,57 @@ var app = getApp() Page({ data: { + list: [ + { + name: 'Badge', + path: '/example/badge/index' + }, { + name: 'Button', + path: '/example/btn/index' + }, { + name: 'Cell', + path: '/example/cell/index' + }, { + name: 'Dialog', + path: '/example/dialog/index' + }, { + name: 'Form', + path: '/example/form/index' + }, { + name: 'Helper', + path: '/example/helper/index' + }, { + name: 'Icon', + path: '/example/icon/index' + }, { + name: 'Label', + path: '/example/label/index' + }, { + name: 'Loadmore', + path: '/example/loadmore/index' + }, { + name: 'Namecard', + path: '/example/namecard/index' + }, { + name: 'Panel', + path: '/example/panel/index' + }, { + name: 'Quantity', + path: '/example/quantity/index' + }, { + name: 'Steps', + path: '/example/steps/index' + }, { + name: 'Tab', + path: '/example/tab/index' + }, { + name: 'Toast', + path: '/example/toast/index' + }, { + name: 'Toptips', + path: '/example/toptips/index' + } + ] }, onLoad: function () { diff --git a/example/dashboard/index.wxml b/example/dashboard/index.wxml index 46f9de74..5891b85a 100644 --- a/example/dashboard/index.wxml +++ b/example/dashboard/index.wxml @@ -1,68 +1,8 @@ - - Button - - - - Icon - - - - Loadmore - - - - Panel - - - - Cell - - - - Badge - - - - Tab - - - - Label - - - - Helper - - - - Form - - - - Namecard - - - - Quantity - - - - Dialog - - - - Toptips - - - - Steps - - - - Toast + + {{ item.name }}