@dcloudio/uni-app-x 0.7.119 → 0.7.120

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.
@@ -1,6 +1,72 @@
1
1
  /**
2
2
  * 设置页面滚动错误码
3
3
  * - 4: 框架内部异常
4
+ * @uniPlatform {
5
+ * "app": {
6
+ * "android": {
7
+ * "osVer": "5.0",
8
+ * "uniVer": "√",
9
+ * "unixVer": "3.91"
10
+ * },
11
+ * "ios": {
12
+ * "osVer": "12.0",
13
+ * "uniVer": "√",
14
+ * "unixVer": "4.11"
15
+ * },
16
+ * "harmony": {
17
+ * "osVer": "3.0",
18
+ * "uniVer": "4.23",
19
+ * "unixVer": "4.61",
20
+ * "unixVaporVer": "5.00"
21
+ * }
22
+ * },
23
+ * "mp": {
24
+ * "weixin": {
25
+ * "hostVer": "√",
26
+ * "uniVer": "√",
27
+ * "unixVer": "4.41"
28
+ * },
29
+ * "alipay": {
30
+ * "hostVer": "√",
31
+ * "uniVer": "√",
32
+ * "unixVer": "x"
33
+ * },
34
+ * "baidu": {
35
+ * "hostVer": "√",
36
+ * "uniVer": "√",
37
+ * "unixVer": "x"
38
+ * },
39
+ * "toutiao": {
40
+ * "hostVer": "√",
41
+ * "uniVer": "√",
42
+ * "unixVer": "x"
43
+ * },
44
+ * "lark": {
45
+ * "hostVer": "√",
46
+ * "uniVer": "√",
47
+ * "unixVer": "x"
48
+ * },
49
+ * "qq": {
50
+ * "hostVer": "√",
51
+ * "uniVer": "√",
52
+ * "unixVer": "x"
53
+ * },
54
+ * "kuaishou": {
55
+ * "hostVer": "√",
56
+ * "uniVer": "√",
57
+ * "unixVer": "x"
58
+ * },
59
+ * "jd": {
60
+ * "hostVer": "√",
61
+ * "uniVer": "√",
62
+ * "unixVer": "x"
63
+ * }
64
+ * },
65
+ * "web": {
66
+ * "uniVer": "√",
67
+ * "unixVer": "4.0"
68
+ * }
69
+ * }
4
70
  */
5
71
  export type PageScrollToErrorCode = 4
6
72
  export interface PageScrollToFail extends IUniError {
@@ -17,99 +83,143 @@ export type PageScrollToCompleteCallback = (
17
83
  ) => void
18
84
  export type PageScrollToOptions = {
19
85
  /**
20
- * 滚动到页面的目标位置
21
- * @uniPlatform {
22
- * "mp": {
23
- * "weixin": {
24
- * "hostVer": "",
25
- * "uniVer": "√",
26
- * "unixVer": "4.41"
27
- * },
28
- * "alipay": {
29
- * "hostVer": "-",
30
- * "uniVer": "-",
31
- * "unixVer": "-"
32
- * },
33
- * "baidu": {
34
- * "hostVer": "-",
35
- * "uniVer": "-",
36
- * "unixVer": "-"
37
- * },
38
- * "toutiao": {
39
- * "hostVer": "-",
40
- * "uniVer": "-",
41
- * "unixVer": "-"
42
- * },
43
- * "lark": {
44
- * "hostVer": "-",
45
- * "uniVer": "-",
46
- * "unixVer": "-"
47
- * },
48
- * "qq": {
49
- * "hostVer": "-",
50
- * "uniVer": "-",
51
- * "unixVer": "-"
52
- * },
53
- * "kuaishou": {
54
- * "hostVer": "-",
55
- * "uniVer": "-",
56
- * "unixVer": "-"
57
- * },
58
- * "jd": {
59
- * "hostVer": "-",
60
- * "uniVer": "-",
61
- * "unixVer": "-"
62
- * }
63
- * }
64
- * }
86
+ * 滚动到页面的目标位置(单位px)
87
+ * @uniPlatform {
88
+ * "app": {
89
+ * "android": {
90
+ * "osVer": "5.0",
91
+ * "uniVer": "√",
92
+ * "unixVer": "3.91"
93
+ * },
94
+ * "ios": {
95
+ * "osVer": "12.0",
96
+ * "uniVer": "",
97
+ * "unixVer": "4.11"
98
+ * },
99
+ * "harmony": {
100
+ * "osVer": "3.0",
101
+ * "uniVer": "4.23",
102
+ * "unixVer": "4.61",
103
+ * "unixVaporVer": "5.00"
104
+ * }
105
+ * },
106
+ * "mp": {
107
+ * "weixin": {
108
+ * "hostVer": "√",
109
+ * "uniVer": "√",
110
+ * "unixVer": "4.41"
111
+ * },
112
+ * "alipay": {
113
+ * "hostVer": "√",
114
+ * "uniVer": "√",
115
+ * "unixVer": "x"
116
+ * },
117
+ * "baidu": {
118
+ * "hostVer": "√",
119
+ * "uniVer": "√",
120
+ * "unixVer": "x"
121
+ * },
122
+ * "toutiao": {
123
+ * "hostVer": "√",
124
+ * "uniVer": "√",
125
+ * "unixVer": "x"
126
+ * },
127
+ * "lark": {
128
+ * "hostVer": "√",
129
+ * "uniVer": "√",
130
+ * "unixVer": "x"
131
+ * },
132
+ * "qq": {
133
+ * "hostVer": "√",
134
+ * "uniVer": "√",
135
+ * "unixVer": "x"
136
+ * },
137
+ * "kuaishou": {
138
+ * "hostVer": "√",
139
+ * "uniVer": "√",
140
+ * "unixVer": "x"
141
+ * },
142
+ * "jd": {
143
+ * "hostVer": "√",
144
+ * "uniVer": "√",
145
+ * "unixVer": "x"
146
+ * }
147
+ * },
148
+ * "web": {
149
+ * "uniVer": "√",
150
+ * "unixVer": "4.0"
151
+ * }
152
+ * }
65
153
  */
66
154
  scrollTop?: number | null
67
155
  /**
68
- * 选择器
69
- * @uniPlatform {
70
- * "mp": {
71
- * "weixin": {
72
- * "hostVer": "",
73
- * "uniVer": "√",
74
- * "unixVer": "4.41"
75
- * },
76
- * "alipay": {
77
- * "hostVer": "-",
78
- * "uniVer": "-",
79
- * "unixVer": "-"
80
- * },
81
- * "baidu": {
82
- * "hostVer": "-",
83
- * "uniVer": "-",
84
- * "unixVer": "-"
85
- * },
86
- * "toutiao": {
87
- * "hostVer": "-",
88
- * "uniVer": "-",
89
- * "unixVer": "-"
90
- * },
91
- * "lark": {
92
- * "hostVer": "-",
93
- * "uniVer": "-",
94
- * "unixVer": "-"
95
- * },
96
- * "qq": {
97
- * "hostVer": "-",
98
- * "uniVer": "-",
99
- * "unixVer": "-"
100
- * },
101
- * "kuaishou": {
102
- * "hostVer": "-",
103
- * "uniVer": "-",
104
- * "unixVer": "-"
105
- * },
106
- * "jd": {
107
- * "hostVer": "-",
108
- * "uniVer": "-",
109
- * "unixVer": "-"
110
- * }
111
- * }
112
- * }
156
+ * 元素选择器,用于指定要滚动到的元素位置
157
+ * @uniPlatform {
158
+ * "app": {
159
+ * "android": {
160
+ * "osVer": "5.0",
161
+ * "uniVer": "√",
162
+ * "unixVer": "3.91"
163
+ * },
164
+ * "ios": {
165
+ * "osVer": "12.0",
166
+ * "uniVer": "",
167
+ * "unixVer": "4.11"
168
+ * },
169
+ * "harmony": {
170
+ * "osVer": "3.0",
171
+ * "uniVer": "4.23",
172
+ * "unixVer": "4.61",
173
+ * "unixVaporVer": "5.00"
174
+ * }
175
+ * },
176
+ * "mp": {
177
+ * "weixin": {
178
+ * "hostVer": "√",
179
+ * "uniVer": "√",
180
+ * "unixVer": "4.41"
181
+ * },
182
+ * "alipay": {
183
+ * "hostVer": "√",
184
+ * "uniVer": "√",
185
+ * "unixVer": "x"
186
+ * },
187
+ * "baidu": {
188
+ * "hostVer": "√",
189
+ * "uniVer": "√",
190
+ * "unixVer": "x"
191
+ * },
192
+ * "toutiao": {
193
+ * "hostVer": "√",
194
+ * "uniVer": "√",
195
+ * "unixVer": "x"
196
+ * },
197
+ * "lark": {
198
+ * "hostVer": "√",
199
+ * "uniVer": "√",
200
+ * "unixVer": "x"
201
+ * },
202
+ * "qq": {
203
+ * "hostVer": "√",
204
+ * "uniVer": "√",
205
+ * "unixVer": "x"
206
+ * },
207
+ * "kuaishou": {
208
+ * "hostVer": "√",
209
+ * "uniVer": "√",
210
+ * "unixVer": "x"
211
+ * },
212
+ * "jd": {
213
+ * "hostVer": "√",
214
+ * "uniVer": "√",
215
+ * "unixVer": "x"
216
+ * }
217
+ * },
218
+ * "web": {
219
+ * "uniVer": "√",
220
+ * "unixVer": "4.0"
221
+ * }
222
+ * }
113
223
  */
114
224
  selector?: string | null
115
225
  /**
@@ -148,195 +258,283 @@ export type PageScrollToOptions = {
148
258
  */
149
259
  offsetTop?: number | null
150
260
  /**
151
- * 滚动动画的时长
152
- * @uniPlatform {
153
- * "mp": {
154
- * "weixin": {
155
- * "hostVer": "",
156
- * "uniVer": "√",
157
- * "unixVer": "4.41"
158
- * },
159
- * "alipay": {
160
- * "hostVer": "-",
161
- * "uniVer": "-",
162
- * "unixVer": "-"
163
- * },
164
- * "baidu": {
165
- * "hostVer": "-",
166
- * "uniVer": "-",
167
- * "unixVer": "-"
168
- * },
169
- * "toutiao": {
170
- * "hostVer": "-",
171
- * "uniVer": "-",
172
- * "unixVer": "-"
173
- * },
174
- * "lark": {
175
- * "hostVer": "-",
176
- * "uniVer": "-",
177
- * "unixVer": "-"
178
- * },
179
- * "qq": {
180
- * "hostVer": "-",
181
- * "uniVer": "-",
182
- * "unixVer": "-"
183
- * },
184
- * "kuaishou": {
185
- * "hostVer": "-",
186
- * "uniVer": "-",
187
- * "unixVer": "-"
188
- * },
189
- * "jd": {
190
- * "hostVer": "-",
191
- * "uniVer": "-",
192
- * "unixVer": "-"
193
- * }
194
- * }
195
- * }
261
+ * 滚动动画的时长,默认300,单位 ms
262
+ * @uniPlatform {
263
+ * "app": {
264
+ * "android": {
265
+ * "osVer": "5.0",
266
+ * "uniVer": "√",
267
+ * "unixVer": "x"
268
+ * },
269
+ * "ios": {
270
+ * "osVer": "12.0",
271
+ * "uniVer": "",
272
+ * "unixVer": "x"
273
+ * },
274
+ * "harmony": {
275
+ * "osVer": "3.0",
276
+ * "uniVer": "4.23",
277
+ * "unixVer": "x",
278
+ * "unixVaporVer": "x"
279
+ * }
280
+ * },
281
+ * "mp": {
282
+ * "weixin": {
283
+ * "hostVer": "√",
284
+ * "uniVer": "√",
285
+ * "unixVer": "4.41"
286
+ * },
287
+ * "alipay": {
288
+ * "hostVer": "√",
289
+ * "uniVer": "√",
290
+ * "unixVer": "x"
291
+ * },
292
+ * "baidu": {
293
+ * "hostVer": "√",
294
+ * "uniVer": "√",
295
+ * "unixVer": "x"
296
+ * },
297
+ * "toutiao": {
298
+ * "hostVer": "√",
299
+ * "uniVer": "√",
300
+ * "unixVer": "x"
301
+ * },
302
+ * "lark": {
303
+ * "hostVer": "√",
304
+ * "uniVer": "√",
305
+ * "unixVer": "x"
306
+ * },
307
+ * "qq": {
308
+ * "hostVer": "√",
309
+ * "uniVer": "√",
310
+ * "unixVer": "x"
311
+ * },
312
+ * "kuaishou": {
313
+ * "hostVer": "√",
314
+ * "uniVer": "√",
315
+ * "unixVer": "x"
316
+ * },
317
+ * "jd": {
318
+ * "hostVer": "√",
319
+ * "uniVer": "√",
320
+ * "unixVer": "x"
321
+ * }
322
+ * },
323
+ * "web": {
324
+ * "uniVer": "√",
325
+ * "unixVer": "4.0"
326
+ * }
327
+ * }
196
328
  */
197
329
  duration?: number | null
198
330
  /**
199
- * 接口调用成功的回调函数
200
- * @uniPlatform {
201
- * "mp": {
202
- * "weixin": {
203
- * "hostVer": "",
204
- * "uniVer": "√",
205
- * "unixVer": "4.41"
206
- * },
207
- * "alipay": {
208
- * "hostVer": "-",
209
- * "uniVer": "-",
210
- * "unixVer": "-"
211
- * },
212
- * "baidu": {
213
- * "hostVer": "-",
214
- * "uniVer": "-",
215
- * "unixVer": "-"
216
- * },
217
- * "toutiao": {
218
- * "hostVer": "-",
219
- * "uniVer": "-",
220
- * "unixVer": "-"
221
- * },
222
- * "lark": {
223
- * "hostVer": "-",
224
- * "uniVer": "-",
225
- * "unixVer": "-"
226
- * },
227
- * "qq": {
228
- * "hostVer": "-",
229
- * "uniVer": "-",
230
- * "unixVer": "-"
231
- * },
232
- * "kuaishou": {
233
- * "hostVer": "-",
234
- * "uniVer": "-",
235
- * "unixVer": "-"
236
- * },
237
- * "jd": {
238
- * "hostVer": "-",
239
- * "uniVer": "-",
240
- * "unixVer": "-"
241
- * }
242
- * }
243
- * }
331
+ * 接口调用成功的回调函数
332
+ * @uniPlatform {
333
+ * "app": {
334
+ * "android": {
335
+ * "osVer": "5.0",
336
+ * "uniVer": "√",
337
+ * "unixVer": "3.91"
338
+ * },
339
+ * "ios": {
340
+ * "osVer": "12.0",
341
+ * "uniVer": "",
342
+ * "unixVer": "4.11"
343
+ * },
344
+ * "harmony": {
345
+ * "osVer": "3.0",
346
+ * "uniVer": "4.23",
347
+ * "unixVer": "4.61",
348
+ * "unixVaporVer": "5.00"
349
+ * }
350
+ * },
351
+ * "mp": {
352
+ * "weixin": {
353
+ * "hostVer": "√",
354
+ * "uniVer": "√",
355
+ * "unixVer": "4.41"
356
+ * },
357
+ * "alipay": {
358
+ * "hostVer": "√",
359
+ * "uniVer": "√",
360
+ * "unixVer": "x"
361
+ * },
362
+ * "baidu": {
363
+ * "hostVer": "√",
364
+ * "uniVer": "√",
365
+ * "unixVer": "x"
366
+ * },
367
+ * "toutiao": {
368
+ * "hostVer": "√",
369
+ * "uniVer": "√",
370
+ * "unixVer": "x"
371
+ * },
372
+ * "lark": {
373
+ * "hostVer": "√",
374
+ * "uniVer": "√",
375
+ * "unixVer": "x"
376
+ * },
377
+ * "qq": {
378
+ * "hostVer": "√",
379
+ * "uniVer": "√",
380
+ * "unixVer": "x"
381
+ * },
382
+ * "kuaishou": {
383
+ * "hostVer": "√",
384
+ * "uniVer": "√",
385
+ * "unixVer": "x"
386
+ * },
387
+ * "jd": {
388
+ * "hostVer": "√",
389
+ * "uniVer": "√",
390
+ * "unixVer": "x"
391
+ * }
392
+ * },
393
+ * "web": {
394
+ * "uniVer": "√",
395
+ * "unixVer": "4.0"
396
+ * }
397
+ * }
244
398
  */
245
399
  success?: PageScrollToSuccessCallback | null
246
400
  /**
247
- * 接口调用失败的回调函数
248
- * @uniPlatform {
249
- * "mp": {
250
- * "weixin": {
251
- * "hostVer": "",
252
- * "uniVer": "√",
253
- * "unixVer": "4.41"
254
- * },
255
- * "alipay": {
256
- * "hostVer": "-",
257
- * "uniVer": "-",
258
- * "unixVer": "-"
259
- * },
260
- * "baidu": {
261
- * "hostVer": "-",
262
- * "uniVer": "-",
263
- * "unixVer": "-"
264
- * },
265
- * "toutiao": {
266
- * "hostVer": "-",
267
- * "uniVer": "-",
268
- * "unixVer": "-"
269
- * },
270
- * "lark": {
271
- * "hostVer": "-",
272
- * "uniVer": "-",
273
- * "unixVer": "-"
274
- * },
275
- * "qq": {
276
- * "hostVer": "-",
277
- * "uniVer": "-",
278
- * "unixVer": "-"
279
- * },
280
- * "kuaishou": {
281
- * "hostVer": "-",
282
- * "uniVer": "-",
283
- * "unixVer": "-"
284
- * },
285
- * "jd": {
286
- * "hostVer": "-",
287
- * "uniVer": "-",
288
- * "unixVer": "-"
289
- * }
290
- * }
291
- * }
401
+ * 接口调用失败的回调函数
402
+ * @uniPlatform {
403
+ * "app": {
404
+ * "android": {
405
+ * "osVer": "5.0",
406
+ * "uniVer": "√",
407
+ * "unixVer": "3.91"
408
+ * },
409
+ * "ios": {
410
+ * "osVer": "12.0",
411
+ * "uniVer": "",
412
+ * "unixVer": "4.11"
413
+ * },
414
+ * "harmony": {
415
+ * "osVer": "3.0",
416
+ * "uniVer": "4.23",
417
+ * "unixVer": "4.61",
418
+ * "unixVaporVer": "5.00"
419
+ * }
420
+ * },
421
+ * "mp": {
422
+ * "weixin": {
423
+ * "hostVer": "√",
424
+ * "uniVer": "√",
425
+ * "unixVer": "4.41"
426
+ * },
427
+ * "alipay": {
428
+ * "hostVer": "√",
429
+ * "uniVer": "√",
430
+ * "unixVer": "x"
431
+ * },
432
+ * "baidu": {
433
+ * "hostVer": "√",
434
+ * "uniVer": "√",
435
+ * "unixVer": "x"
436
+ * },
437
+ * "toutiao": {
438
+ * "hostVer": "√",
439
+ * "uniVer": "√",
440
+ * "unixVer": "x"
441
+ * },
442
+ * "lark": {
443
+ * "hostVer": "√",
444
+ * "uniVer": "√",
445
+ * "unixVer": "x"
446
+ * },
447
+ * "qq": {
448
+ * "hostVer": "√",
449
+ * "uniVer": "√",
450
+ * "unixVer": "x"
451
+ * },
452
+ * "kuaishou": {
453
+ * "hostVer": "√",
454
+ * "uniVer": "√",
455
+ * "unixVer": "x"
456
+ * },
457
+ * "jd": {
458
+ * "hostVer": "√",
459
+ * "uniVer": "√",
460
+ * "unixVer": "x"
461
+ * }
462
+ * },
463
+ * "web": {
464
+ * "uniVer": "√",
465
+ * "unixVer": "4.0"
466
+ * }
467
+ * }
292
468
  */
293
469
  fail?: PageScrollToFailCallback | null
294
470
  /**
295
- * 接口调用结束的回调函数(调用成功、失败都会执行)
296
- * @uniPlatform {
297
- * "mp": {
298
- * "weixin": {
299
- * "hostVer": "",
300
- * "uniVer": "√",
301
- * "unixVer": "4.41"
302
- * },
303
- * "alipay": {
304
- * "hostVer": "-",
305
- * "uniVer": "-",
306
- * "unixVer": "-"
307
- * },
308
- * "baidu": {
309
- * "hostVer": "-",
310
- * "uniVer": "-",
311
- * "unixVer": "-"
312
- * },
313
- * "toutiao": {
314
- * "hostVer": "-",
315
- * "uniVer": "-",
316
- * "unixVer": "-"
317
- * },
318
- * "lark": {
319
- * "hostVer": "-",
320
- * "uniVer": "-",
321
- * "unixVer": "-"
322
- * },
323
- * "qq": {
324
- * "hostVer": "-",
325
- * "uniVer": "-",
326
- * "unixVer": "-"
327
- * },
328
- * "kuaishou": {
329
- * "hostVer": "-",
330
- * "uniVer": "-",
331
- * "unixVer": "-"
332
- * },
333
- * "jd": {
334
- * "hostVer": "-",
335
- * "uniVer": "-",
336
- * "unixVer": "-"
337
- * }
338
- * }
339
- * }
471
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
472
+ * @uniPlatform {
473
+ * "app": {
474
+ * "android": {
475
+ * "osVer": "5.0",
476
+ * "uniVer": "√",
477
+ * "unixVer": "3.91"
478
+ * },
479
+ * "ios": {
480
+ * "osVer": "12.0",
481
+ * "uniVer": "",
482
+ * "unixVer": "4.11"
483
+ * },
484
+ * "harmony": {
485
+ * "osVer": "3.0",
486
+ * "uniVer": "4.23",
487
+ * "unixVer": "4.61",
488
+ * "unixVaporVer": "5.00"
489
+ * }
490
+ * },
491
+ * "mp": {
492
+ * "weixin": {
493
+ * "hostVer": "√",
494
+ * "uniVer": "√",
495
+ * "unixVer": "4.41"
496
+ * },
497
+ * "alipay": {
498
+ * "hostVer": "√",
499
+ * "uniVer": "√",
500
+ * "unixVer": "x"
501
+ * },
502
+ * "baidu": {
503
+ * "hostVer": "√",
504
+ * "uniVer": "√",
505
+ * "unixVer": "x"
506
+ * },
507
+ * "toutiao": {
508
+ * "hostVer": "√",
509
+ * "uniVer": "√",
510
+ * "unixVer": "x"
511
+ * },
512
+ * "lark": {
513
+ * "hostVer": "√",
514
+ * "uniVer": "√",
515
+ * "unixVer": "x"
516
+ * },
517
+ * "qq": {
518
+ * "hostVer": "√",
519
+ * "uniVer": "√",
520
+ * "unixVer": "x"
521
+ * },
522
+ * "kuaishou": {
523
+ * "hostVer": "√",
524
+ * "uniVer": "√",
525
+ * "unixVer": "x"
526
+ * },
527
+ * "jd": {
528
+ * "hostVer": "√",
529
+ * "uniVer": "√",
530
+ * "unixVer": "x"
531
+ * }
532
+ * },
533
+ * "web": {
534
+ * "uniVer": "√",
535
+ * "unixVer": "4.0"
536
+ * }
537
+ * }
340
538
  */
341
539
  complete?: PageScrollToCompleteCallback | null
342
540
  }
@@ -348,73 +546,72 @@ export interface Uni {
348
546
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/scroll.html#pagescrollto
349
547
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
350
548
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
351
- * @uniPlatform {
352
- * "app": {
353
- * "android": {
354
- * "osVer": "5.0",
355
- * "uniVer": "√",
356
- * "unixVer": "3.91"
357
- * },
358
- * "ios": {
359
- * "osVer": "12.0",
360
- * "uniVer": "√",
361
- * "unixVer": "4.11"
362
- * },
363
- * "harmony": {
364
- * "osVer": "3.0",
365
- * "uniVer": "4.23",
366
- * "unixVer": "4.61",
367
- * "unixVaporVer": "5.0"
368
- * }
369
- * },
370
- * "mp": {
371
- * "weixin": {
372
- * "hostVer": "1.4.0",
373
- * "uniVer": "√",
374
- * "unixVer": "4.41"
375
- * },
376
- * "alipay": {
377
- * "hostVer": "√",
378
- * "uniVer": "√",
379
- * "unixVer": "x"
380
- * },
381
- * "baidu": {
382
- * "hostVer": "√",
383
- * "uniVer": "√",
384
- * "unixVer": "x"
385
- * },
386
- * "toutiao": {
387
- * "hostVer": "√",
388
- * "uniVer": "√",
389
- * "unixVer": "x"
390
- * },
391
- * "lark": {
392
- * "hostVer": "√",
393
- * "uniVer": "√",
394
- * "unixVer": "x"
395
- * },
396
- * "qq": {
397
- * "hostVer": "√",
398
- * "uniVer": "√",
399
- * "unixVer": "x"
400
- * },
401
- * "kuaishou": {
402
- * "hostVer": "√",
403
- * "uniVer": "√",
404
- * "unixVer": "x"
405
- * },
406
- * "jd": {
407
- * "hostVer": "√",
408
- * "uniVer": "√",
409
- * "unixVer": "x"
410
- * }
411
- * },
412
- * "web": {
413
- * "uniVer": "√",
414
- * "unixVer": "4.0"
415
- * }
416
- * }
417
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/wx.pageScrollTo.html
549
+ * @uniPlatform {
550
+ * "app": {
551
+ * "android": {
552
+ * "osVer": "5.0",
553
+ * "uniVer": "√",
554
+ * "unixVer": "3.91"
555
+ * },
556
+ * "ios": {
557
+ * "osVer": "12.0",
558
+ * "uniVer": "√",
559
+ * "unixVer": "4.11"
560
+ * },
561
+ * "harmony": {
562
+ * "osVer": "3.0",
563
+ * "uniVer": "4.23",
564
+ * "unixVer": "4.61",
565
+ * "unixVaporVer": "5.00"
566
+ * }
567
+ * },
568
+ * "mp": {
569
+ * "weixin": {
570
+ * "hostVer": "",
571
+ * "uniVer": "√",
572
+ * "unixVer": "4.41"
573
+ * },
574
+ * "alipay": {
575
+ * "hostVer": "√",
576
+ * "uniVer": "√",
577
+ * "unixVer": "x"
578
+ * },
579
+ * "baidu": {
580
+ * "hostVer": "√",
581
+ * "uniVer": "√",
582
+ * "unixVer": "x"
583
+ * },
584
+ * "toutiao": {
585
+ * "hostVer": "√",
586
+ * "uniVer": "√",
587
+ * "unixVer": "x"
588
+ * },
589
+ * "lark": {
590
+ * "hostVer": "√",
591
+ * "uniVer": "√",
592
+ * "unixVer": "x"
593
+ * },
594
+ * "qq": {
595
+ * "hostVer": "√",
596
+ * "uniVer": "√",
597
+ * "unixVer": "x"
598
+ * },
599
+ * "kuaishou": {
600
+ * "hostVer": "√",
601
+ * "uniVer": "√",
602
+ * "unixVer": "x"
603
+ * },
604
+ * "jd": {
605
+ * "hostVer": "√",
606
+ * "uniVer": "√",
607
+ * "unixVer": "x"
608
+ * }
609
+ * },
610
+ * "web": {
611
+ * "uniVer": "√",
612
+ * "unixVer": "4.0"
613
+ * }
614
+ * }
418
615
  */
419
616
  pageScrollTo(options: PageScrollToOptions): Promise<PageScrollToSuccess> | null
420
617
  }