@dcloudio/uni-app-x 0.7.39 → 0.7.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +168 -22
  3. package/types/app.d.ts +178 -174
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/DOMRect.d.ts +430 -10
  6. package/types/native/DrawableContext.d.ts +1137 -45
  7. package/types/native/IUniElement.d.ts +1875 -93
  8. package/types/native/UniNativePage.d.ts +94 -0
  9. package/types/native/UniResizeObserver.d.ts +215 -5
  10. package/types/native/UniSafeArea.d.ts +185 -0
  11. package/types/native/UniVideoElement.d.ts +432 -0
  12. package/types/native/global.d.ts +7 -0
  13. package/types/native/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +12 -8
  15. package/types/uni/uts-plugin-api/global.d.ts +62 -61
  16. package/types/uni/uts-plugin-api/index.d.ts +62 -61
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  23. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
  30. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
  32. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
  33. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  35. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
  38. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
  39. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
  40. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
  41. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
  42. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
  43. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
  44. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
  45. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
  46. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  47. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
  50. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  51. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
  52. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
  53. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  54. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  55. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
  56. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
  57. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
  58. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
  59. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  60. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  61. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
  62. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
  63. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
  64. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
  65. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  66. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
  67. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
  70. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
  71. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
  72. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
  73. package/types/uni/uts-plugin-biz/global.d.ts +6 -5
  74. package/types/uni/uts-plugin-biz/index.d.ts +6 -5
  75. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
  76. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
  79. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
  80. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
  81. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
  85. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
  87. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  90. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
  91. package/types/uni/uts-plugin-extend/global.d.ts +0 -4
  92. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  94. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
  95. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  96. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  98. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  99. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  100. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  101. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  103. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  104. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.39",
3
+ "version": "0.7.41",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -8,14 +8,15 @@
8
8
  "license": "Apache-2.0",
9
9
  "type": "module",
10
10
  "scripts": {
11
+ "build:wx:api": "node ./scripts/build-wx.js",
11
12
  "build:types:core": "node ./scripts/build-types.js -t core",
12
- "build:types:plugin:api": "node ./scripts/build-types.js -t uts-plugin-api",
13
- "build:types:plugin:component": "node ./scripts/build-types.js -t uts-plugin-component",
14
- "build:types:plugin:biz": "node ./scripts/build-types.js -t uts-plugin-biz",
15
- "build:types:plugin": "npm run build:types:plugin:api && npm run build:types:plugin:component && npm run build:types:plugin:biz",
13
+ "build:types:plugin:api": "node ./scripts/build-types.js -t uts-plugin-api --incremental",
14
+ "build:types:plugin:component": "node ./scripts/build-types.js -t uts-plugin-component --incremental",
15
+ "build:types:plugin:biz": "node ./scripts/build-types.js -t uts-plugin-biz --incremental",
16
+ "build:types:plugin": "npm run build:types:plugin:api && npm run build:types:plugin:component && npm run build:types:plugin:biz",
16
17
  "build:types:meta": "node ./scripts/build-meta.js",
17
18
  "build:types:native": "node ./scripts/build-native.js",
18
- "build:types": "npm run build:types:native && npm run build:types:plugin"
19
+ "build:types": "npm run build:types:native && npm run build:types:plugin && npm run build:wx:api"
19
20
  },
20
21
  "devDependencies": {
21
22
  "delete": "^1.1.0",
@@ -23,6 +24,7 @@
23
24
  "fs-extra": "^11.1.1",
24
25
  "glob": "^10.3.3",
25
26
  "minimist": "^1.2.8",
26
- "ts-morph": "^19.0.0"
27
+ "miniprogram-api-typings": "^4.0.2",
28
+ "ts-morph": "^23.0.0"
27
29
  }
28
30
  }
@@ -1,8 +1,10 @@
1
+ import { UniSafeArea, UniSafeAreaInsets } from './native/UniSafeArea'
2
+
1
3
  export interface UniPage {
2
4
  /**
3
5
  * 页面的路由地址
4
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
5
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
6
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
7
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
6
8
  * @uniPlatform {
7
9
  * "app": {
8
10
  * "android": {
@@ -38,8 +40,8 @@ export interface UniPage {
38
40
  route: string
39
41
  /**
40
42
  * 页面的路由参数信息
41
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
42
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
43
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
44
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
43
45
  * @uniPlatform {
44
46
  * "app": {
45
47
  * "android": {
@@ -75,8 +77,8 @@ export interface UniPage {
75
77
  options: UTSJSONObject
76
78
  /**
77
79
  * UniPage vue 实例对象
78
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
79
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
80
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
81
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
80
82
  * @uniPlatform {
81
83
  * "app": {
82
84
  * "android": {
@@ -112,8 +114,8 @@ export interface UniPage {
112
114
  /**
113
115
  * UniPage vue 实例对象
114
116
  * @deprecated 已废弃,仅为了向下兼容保留
115
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
116
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html
117
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
118
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
117
119
  * @uniPlatform {
118
120
  * "app": {
119
121
  * "android": {
@@ -146,9 +148,153 @@ export interface UniPage {
146
148
  * }
147
149
  */
148
150
  $vm: ComponentPublicInstance | null
151
+ /**
152
+ * UniPage 窗口宽度,单位为px
153
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
154
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
155
+ * @uniPlatform {
156
+ * "app": {
157
+ * "android": {
158
+ * "osVer": "5.0",
159
+ * "uniVer": "x",
160
+ * "unixVer": "4.51"
161
+ * },
162
+ * "ios": {
163
+ * "osVer": "x",
164
+ * "uniVer": "x",
165
+ * "unixVer": "4.51"
166
+ * },
167
+ * "harmony": {
168
+ * "osVer": "x",
169
+ * "uniVer": "x",
170
+ * "unixVer": "x"
171
+ * }
172
+ * },
173
+ * "mp": {
174
+ * "weixin": {
175
+ * "hostVer": "√",
176
+ * "uniVer": "x",
177
+ * "unixVer": "x"
178
+ * },
179
+ * },
180
+ * "web": {
181
+ * "uniVer": "x",
182
+ * "unixVer": "4.51"
183
+ * }
184
+ * }
185
+ */
186
+ innerWidth: number
187
+ /**
188
+ * UniPage 窗口高度,单位为px
189
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
190
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
191
+ * @uniPlatform {
192
+ * "app": {
193
+ * "android": {
194
+ * "osVer": "5.0",
195
+ * "uniVer": "x",
196
+ * "unixVer": "4.51"
197
+ * },
198
+ * "ios": {
199
+ * "osVer": "x",
200
+ * "uniVer": "x",
201
+ * "unixVer": "4.51"
202
+ * },
203
+ * "harmony": {
204
+ * "osVer": "x",
205
+ * "uniVer": "x",
206
+ * "unixVer": "x"
207
+ * }
208
+ * },
209
+ * "mp": {
210
+ * "weixin": {
211
+ * "hostVer": "√",
212
+ * "uniVer": "x",
213
+ * "unixVer": "x"
214
+ * },
215
+ * },
216
+ * "web": {
217
+ * "uniVer": "x",
218
+ * "unixVer": "4.51"
219
+ * }
220
+ * }
221
+ */
222
+ innerHeight: number
223
+ /**
224
+ * UniPage 安全区域在屏幕中的位置信息
225
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
226
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
227
+ * @uniPlatform {
228
+ * "app": {
229
+ * "android": {
230
+ * "osVer": "5.0",
231
+ * "uniVer": "x",
232
+ * "unixVer": "4.51"
233
+ * },
234
+ * "ios": {
235
+ * "osVer": "x",
236
+ * "uniVer": "x",
237
+ * "unixVer": "4.51"
238
+ * },
239
+ * "harmony": {
240
+ * "osVer": "x",
241
+ * "uniVer": "x",
242
+ * "unixVer": "x"
243
+ * }
244
+ * },
245
+ * "mp": {
246
+ * "weixin": {
247
+ * "hostVer": "√",
248
+ * "uniVer": "x",
249
+ * "unixVer": "x"
250
+ * },
251
+ * },
252
+ * "web": {
253
+ * "uniVer": "x",
254
+ * "unixVer": "4.51"
255
+ * }
256
+ * }
257
+ */
258
+ safeArea: UniSafeArea
259
+ /**
260
+ * UniPage 安全区域插入位置(与屏幕边界的距离)信息
261
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
262
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
263
+ * @uniPlatform {
264
+ * "app": {
265
+ * "android": {
266
+ * "osVer": "5.0",
267
+ * "uniVer": "x",
268
+ * "unixVer": "4.51"
269
+ * },
270
+ * "ios": {
271
+ * "osVer": "x",
272
+ * "uniVer": "x",
273
+ * "unixVer": "4.51"
274
+ * },
275
+ * "harmony": {
276
+ * "osVer": "x",
277
+ * "uniVer": "x",
278
+ * "unixVer": "x"
279
+ * }
280
+ * },
281
+ * "mp": {
282
+ * "weixin": {
283
+ * "hostVer": "√",
284
+ * "uniVer": "x",
285
+ * "unixVer": "x"
286
+ * },
287
+ * },
288
+ * "web": {
289
+ * "uniVer": "x",
290
+ * "unixVer": "4.51"
291
+ * }
292
+ * }
293
+ */
294
+ safeAreaInsets: UniSafeAreaInsets
149
295
  /**
150
296
  * 获取当前页面样式。详细属性配置请参考PageStyle
151
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getpagestyle
297
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle
152
298
  * @uniPlatform {
153
299
  * "app": {
154
300
  * "android": {
@@ -185,7 +331,7 @@ export interface UniPage {
185
331
  /**
186
332
  * 获取当前页面样式。详细属性配置请参考PageStyle
187
333
  * @deprecated 已废弃,仅为了向下兼容保留
188
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getpagestyle-2
334
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getpagestyle-2
189
335
  * @uniPlatform {
190
336
  * "app": {
191
337
  * "android": {
@@ -220,7 +366,7 @@ export interface UniPage {
220
366
  $getPageStyle(): UTSJSONObject
221
367
  /**
222
368
  * 设置当前页面样式。详细属性配置请参考PageStyle
223
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#setpagestyle
369
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle
224
370
  * @uniPlatform {
225
371
  * "app": {
226
372
  * "android": {
@@ -257,7 +403,7 @@ export interface UniPage {
257
403
  /**
258
404
  * 设置当前页面样式。详细属性配置请参考PageStyle
259
405
  * @deprecated 已废弃,仅为了向下兼容保留
260
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#setpagestyle-2
406
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#setpagestyle-2
261
407
  * @uniPlatform {
262
408
  * "app": {
263
409
  * "android": {
@@ -292,7 +438,7 @@ export interface UniPage {
292
438
  $setPageStyle(style: UTSJSONObject): void
293
439
  /**
294
440
  * 用于 dialogPage 获取所属父页面
295
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
441
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
296
442
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
297
443
  * @uniPlatform {
298
444
  * "app": {
@@ -329,7 +475,7 @@ export interface UniPage {
329
475
  getParentPage(): UniPage | null
330
476
  /**
331
477
  * 获取当前页面的 dialog 子页面集合
332
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
478
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
333
479
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
334
480
  * @uniPlatform {
335
481
  * "app": {
@@ -369,8 +515,8 @@ export interface UniPage {
369
515
  * 如果需要获取指定的节点类型,需要使用 as 进行类型转换。\
370
516
  * ID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。
371
517
  *
372
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getelementbyid
373
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getelementbyid
518
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
519
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getelementbyid
374
520
  * @uniPlatform {
375
521
  * "app": {
376
522
  * "android": {
@@ -406,8 +552,8 @@ export interface UniPage {
406
552
  /**
407
553
  * 返回 android 平台页面根 view
408
554
  *
409
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getandroidview
410
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getandroidview
555
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
556
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getandroidview
411
557
  * @uniPlatform {
412
558
  * "app": {
413
559
  * "android": {
@@ -443,8 +589,8 @@ export interface UniPage {
443
589
  /**
444
590
  * 返回 ios 平台页面根 view
445
591
  *
446
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getiosview
447
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#getiosview
592
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
593
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#getiosview
448
594
  * @uniPlatform {
449
595
  * "app": {
450
596
  * "android": {
@@ -481,8 +627,8 @@ export interface UniPage {
481
627
  /**
482
628
  * 返回页面 HTML Element 对象
483
629
  *
484
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#gethtmlelement
485
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-current-pages.html#gethtmlelement
630
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
631
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html#gethtmlelement
486
632
  * @uniPlatform {
487
633
  * "app": {
488
634
  * "android": {