diff --git a/pages.json b/pages.json
index af875e51ae7191635f92e8a99954f136a72d1312..0aaff01ebddaec16e2d871c55381f7553e30e8ab 100644
--- a/pages.json
+++ b/pages.json
@@ -164,6 +164,12 @@
"navigationBarTitleText": "redirectPage"
}
},
+ {
+ "path": "pages/component/general-event/general-event",
+ "style": {
+ "navigationBarTitleText": "general-event"
+ }
+ },
{
"path": "pages/tabBar/API",
"style": {
@@ -729,7 +735,8 @@
"navigationBarTitleText": "日历",
"enablePullDownRefresh": false
}
- }, {
+ },
+ {
"path": "pages/template/custom-refresher/custom-refresher",
"style": {
"navigationBarTitleText": "自定义下拉刷新",
@@ -742,13 +749,15 @@
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
- }, {
+ },
+ {
"path": "pages/template/half-screen/half-screen",
"style": {
"navigationBarTitleText": "半屏弹窗",
"enablePullDownRefresh": false
}
- }, {
+ },
+ {
"path": "pages/template/long-list/long-list",
"style": {
"navigationBarTitleText": "复杂长列表",
diff --git a/pages/component/general-event/general-event.uvue b/pages/component/general-event/general-event.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..41d5df127f734766745b91270c7d8ff010f4c72d
--- /dev/null
+++ b/pages/component/general-event/general-event.uvue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
+ click Event:
+ x: {{ clickEvent!.x }}, y: {{ clickEvent!.y }}
+
+
+ touchStart Event:
+ touches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+ changedTouches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+
+
+ touchMove Event:
+ touches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+ changedTouches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+
+
+ touchEnd Event:
+ touches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+ changedTouches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index a805cb5311ee5a540f8f7519bd26806a76b31230..69335209b338dacde937ffd534d240e167d41513 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -272,8 +272,8 @@ export default {
},
{
name: '通用事件',
- url: 'general-event',
- enable: false,
+ url: '/pages/component/general-event/general-event',
+ enable: true,
},
] as Page[],
},