diff --git a/src/pages.json b/src/pages.json
index 7147b6b..2ad2806 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -47,7 +47,17 @@
},
{
"path": "pages/demo/clock",
- "type": "page"
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "动态时钟"
+ }
+ },
+ {
+ "path": "pages/demo/lottery",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "九宫格抽奖"
+ }
},
{
"path": "pages/login/login",
diff --git a/src/pages/demo/clock.vue b/src/pages/demo/clock.vue
index f7f0212..bd517cf 100644
--- a/src/pages/demo/clock.vue
+++ b/src/pages/demo/clock.vue
@@ -1,3 +1,9 @@
+
+{
+ style: { navigationBarTitleText: '动态时钟' },
+}
+
+
动态时钟
diff --git a/src/pages/demo/lottery.vue b/src/pages/demo/lottery.vue
new file mode 100644
index 0000000..28c49ff
--- /dev/null
+++ b/src/pages/demo/lottery.vue
@@ -0,0 +1,121 @@
+
+{
+ style: { navigationBarTitleText: '九宫格抽奖' },
+}
+
+
+
+ 九宫格抽奖
+
+
+
+ 点击抽奖
+ {{ n }}
+
+
+
+
+
+
+
+
diff --git a/uni-pages.d.ts b/uni-pages.d.ts
index 51e4c5f..1f22657 100644
--- a/uni-pages.d.ts
+++ b/uni-pages.d.ts
@@ -6,6 +6,7 @@
interface NavigateToOptions {
url: "pages/index/index" |
"pages/demo/clock" |
+ "pages/demo/lottery" |
"pages/login/login" |
"pages/my/index" |
"pages/throughout/index" |