diff --git a/pages.json b/pages.json
index 508a72b79b762e28aa5d68a0a0d33af49e7a3e39..803ee62ddf58c27eaf2c7da1a38c63df051e00cf 100644
--- a/pages.json
+++ b/pages.json
@@ -422,12 +422,19 @@
"enablePullDownRefresh": false
}
},
- // #ifdef APP-ANDROID
+ // #ifdef WEB
{
"path" : "pages/component/canvas/canvas",
"style" :
{
- "navigationBarTitleText" : ""
+ "navigationBarTitleText" : "canvas"
+ }
+ },
+ {
+ "path" : "pages/component/canvas/ball",
+ "style" :
+ {
+ "navigationBarTitleText" : "ball"
}
},
// #endif
diff --git a/pages/component/canvas/ball.uvue b/pages/component/canvas/ball.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..79dc53a92a91bd8e2556438ef33d20102ccc146c
--- /dev/null
+++ b/pages/component/canvas/ball.uvue
@@ -0,0 +1,184 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/component/canvas/canvas.uvue b/pages/component/canvas/canvas.uvue
index 08700a0250548c65af7d5e1c2777118a23110a98..34e44e9de9cc8c5b52952d2a854f4821fac20eb9 100644
--- a/pages/component/canvas/canvas.uvue
+++ b/pages/component/canvas/canvas.uvue
@@ -1,162 +1,922 @@
-
-
-
-
-
-
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 1cbd19462414bc5b2d005ac091d8a8a207a1b49c..08ec7b593360620cbfba2fa29267137b05c224a0 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -194,13 +194,18 @@
] as Page[]
},
// #endif
- // #ifdef APP-ANDROID
+ // #ifdef WEB
{
id: 'canvas',
name: '画布',
pages: [
{
- name: 'canvas'
+ name: 'canvas',
+ url: '/pages/component/canvas/canvas',
+ },
+ {
+ name: 'ball',
+ url: '/pages/component/canvas/ball',
}
] as Page[]
},