diff --git a/example/pages/notify/index.js b/example/pages/notify/index.js
index 838965b4..7413587a 100644
--- a/example/pages/notify/index.js
+++ b/example/pages/notify/index.js
@@ -8,19 +8,16 @@ Page({
showCustomColor() {
Notify({
- message: '通知内容',
- selector: '#custom-selector',
- background: '#1989fa',
- safeAreaInsetTop: true
+ message: '自定义颜色',
+ color: '#ad0000',
+ background: '#ffe1e1'
});
},
showCustomDuration() {
Notify({
duration: 1000,
- message: '通知内容',
- selector: '#custom-selector',
- safeAreaInsetTop: true
+ message: '自定义时长'
});
},
diff --git a/example/pages/notify/index.wxml b/example/pages/notify/index.wxml
index 8bb2b1cd..97144c63 100644
--- a/example/pages/notify/index.wxml
+++ b/example/pages/notify/index.wxml
@@ -10,9 +10,8 @@
- 自定义颜色
+ 自定义颜色
自定义时长
-