diff --git a/example/pages/action-sheet/index.js b/example/pages/action-sheet/index.js index b788adf5..68c271d1 100644 --- a/example/pages/action-sheet/index.js +++ b/example/pages/action-sheet/index.js @@ -7,24 +7,13 @@ Page({ show3: false, show4: false, action1: [ - { - name: '选项' - }, - { - name: '选项' - }, - { - name: '选项', - subname: '描述信息' - } + { name: '选项' }, + { name: '选项' }, + { name: '选项', subname: '描述信息' } ], action2: [ - { - name: '选项' - }, - { - loading: true - }, + { name: '选项', color: '#07c160' }, + { loading: true }, { name: '禁用选项', disabled: true } ] }, @@ -49,5 +38,5 @@ Page({ toggleActionSheet4() { this.toggle('show4'); - }, + } }); diff --git a/example/pages/action-sheet/index.wxml b/example/pages/action-sheet/index.wxml index de753c95..57da2e91 100644 --- a/example/pages/action-sheet/index.wxml +++ b/example/pages/action-sheet/index.wxml @@ -1,5 +1,5 @@ - 弹出菜单 + 弹出菜单 - 弹出菜单 + 弹出菜单 - 弹出菜单 + 弹出菜单 - 弹出菜单 + 弹出菜单