@dcloudio/uni-app-x 0.7.38 → 0.7.39

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 +1 -1
  2. package/types/UniPage.d.ts +4 -0
  3. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  4. package/types/native/IUniElement.d.ts +105 -44
  5. package/types/native/global.d.ts +14 -8
  6. package/types/page.d.ts +45 -3
  7. package/types/uni/env/index.d.ts +81 -81
  8. package/types/uni/uni-map-tencent-map.d.ts +7 -7
  9. package/types/uni/uts-plugin-api/global.d.ts +0 -2
  10. package/types/uni/uts-plugin-api/index.d.ts +0 -2
  11. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
  12. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
  13. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -331
  14. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
  15. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +628 -628
  16. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -153
  17. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  18. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1218 -1987
  19. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  20. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +6 -6
  21. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +156 -81
  22. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +315 -315
  23. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
  24. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2530 -2126
  25. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -490
  26. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -2005
  27. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  28. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  29. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +663 -113
  30. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +20 -20
  31. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  32. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +217 -217
  33. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  34. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +809 -809
  35. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -274
  36. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  37. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
  38. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +106 -106
  39. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +23 -23
  40. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  41. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  42. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
  43. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
  44. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1680 -1528
  45. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +16 -16
  46. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3620 -3618
  47. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  48. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
  49. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +3 -3
  50. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -621
  51. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +22 -22
  52. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -2391
  53. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  54. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +26 -26
  55. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -77
  56. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  57. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -857
  58. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +17 -17
  59. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  60. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  61. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
  62. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1660 -1660
  63. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1746 -1746
  64. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  65. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  66. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +84 -0
  67. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
  68. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
  69. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  70. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +2 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +1 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +63 -12
  73. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +308 -308
  74. package/types/uni/uts-plugin-extend/global.d.ts +1 -0
  75. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  76. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  77. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  78. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  79. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
  80. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1 -1
  81. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  82. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -11
  83. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  84. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  85. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  86. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +1 -1
  87. package/types/uni-cloud/interface.d.ts +13 -13
  88. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +0 -24
  89. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +0 -11
  90. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +0 -217
  91. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +0 -21
  92. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +0 -9
  93. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  94. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  95. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  96. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  97. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  98. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  99. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  100. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  101. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  102. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
  103. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
  104. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
@@ -66,7 +66,7 @@ export interface Uni {
66
66
  * "weixin": {
67
67
  * "hostVer": "√",
68
68
  * "uniVer": "√",
69
- * "unixVer": "4.35"
69
+ * "unixVer": "4.41"
70
70
  * },
71
71
  * "alipay": {
72
72
  * "hostVer": "√",
@@ -141,7 +141,7 @@ export interface Uni {
141
141
  * "weixin": {
142
142
  * "hostVer": "√",
143
143
  * "uniVer": "√",
144
- * "unixVer": "4.35"
144
+ * "unixVer": "4.41"
145
145
  * },
146
146
  * "alipay": {
147
147
  * "hostVer": "√",
@@ -42,7 +42,7 @@ export type NavigateToOptions = {
42
42
  * "weixin": {
43
43
  * "hostVer": "√",
44
44
  * "uniVer": "√",
45
- * "unixVer": "4.35"
45
+ * "unixVer": "4.41"
46
46
  * },
47
47
  * "alipay": {
48
48
  * "hostVer": "√",
@@ -530,7 +530,7 @@ export type NavigateToOptions = {
530
530
  * "weixin": {
531
531
  * "hostVer": "√",
532
532
  * "uniVer": "√",
533
- * "unixVer": "4.35"
533
+ * "unixVer": "4.41"
534
534
  * },
535
535
  * "alipay": {
536
536
  * "hostVer": "√",
@@ -599,7 +599,7 @@ export type NavigateToOptions = {
599
599
  * "weixin": {
600
600
  * "hostVer": "√",
601
601
  * "uniVer": "√",
602
- * "unixVer": "4.35"
602
+ * "unixVer": "4.41"
603
603
  * },
604
604
  * "alipay": {
605
605
  * "hostVer": "√",
@@ -668,7 +668,7 @@ export type NavigateToOptions = {
668
668
  * "weixin": {
669
669
  * "hostVer": "√",
670
670
  * "uniVer": "√",
671
- * "unixVer": "4.35"
671
+ * "unixVer": "4.41"
672
672
  * },
673
673
  * "alipay": {
674
674
  * "hostVer": "√",
@@ -737,7 +737,7 @@ export type NavigateToOptions = {
737
737
  * "weixin": {
738
738
  * "hostVer": "√",
739
739
  * "uniVer": "√",
740
- * "unixVer": "4.35"
740
+ * "unixVer": "4.41"
741
741
  * },
742
742
  * "alipay": {
743
743
  * "hostVer": "√",
@@ -816,7 +816,7 @@ export type RedirectToOptions = {
816
816
  * "weixin": {
817
817
  * "hostVer": "√",
818
818
  * "uniVer": "√",
819
- * "unixVer": "4.35"
819
+ * "unixVer": "4.41"
820
820
  * },
821
821
  * "alipay": {
822
822
  * "hostVer": "√",
@@ -885,7 +885,7 @@ export type RedirectToOptions = {
885
885
  * "weixin": {
886
886
  * "hostVer": "√",
887
887
  * "uniVer": "√",
888
- * "unixVer": "4.35"
888
+ * "unixVer": "4.41"
889
889
  * },
890
890
  * "alipay": {
891
891
  * "hostVer": "√",
@@ -954,7 +954,7 @@ export type RedirectToOptions = {
954
954
  * "weixin": {
955
955
  * "hostVer": "√",
956
956
  * "uniVer": "√",
957
- * "unixVer": "4.35"
957
+ * "unixVer": "4.41"
958
958
  * },
959
959
  * "alipay": {
960
960
  * "hostVer": "√",
@@ -1023,7 +1023,7 @@ export type RedirectToOptions = {
1023
1023
  * "weixin": {
1024
1024
  * "hostVer": "√",
1025
1025
  * "uniVer": "√",
1026
- * "unixVer": "4.35"
1026
+ * "unixVer": "4.41"
1027
1027
  * },
1028
1028
  * "alipay": {
1029
1029
  * "hostVer": "√",
@@ -1102,7 +1102,7 @@ export type ReLaunchOptions = {
1102
1102
  * "weixin": {
1103
1103
  * "hostVer": "√",
1104
1104
  * "uniVer": "√",
1105
- * "unixVer": "4.35"
1105
+ * "unixVer": "4.41"
1106
1106
  * },
1107
1107
  * "alipay": {
1108
1108
  * "hostVer": "√",
@@ -1171,7 +1171,7 @@ export type ReLaunchOptions = {
1171
1171
  * "weixin": {
1172
1172
  * "hostVer": "√",
1173
1173
  * "uniVer": "√",
1174
- * "unixVer": "4.35"
1174
+ * "unixVer": "4.41"
1175
1175
  * },
1176
1176
  * "alipay": {
1177
1177
  * "hostVer": "√",
@@ -1240,7 +1240,7 @@ export type ReLaunchOptions = {
1240
1240
  * "weixin": {
1241
1241
  * "hostVer": "√",
1242
1242
  * "uniVer": "√",
1243
- * "unixVer": "4.35"
1243
+ * "unixVer": "4.41"
1244
1244
  * },
1245
1245
  * "alipay": {
1246
1246
  * "hostVer": "√",
@@ -1309,7 +1309,7 @@ export type ReLaunchOptions = {
1309
1309
  * "weixin": {
1310
1310
  * "hostVer": "√",
1311
1311
  * "uniVer": "√",
1312
- * "unixVer": "4.35"
1312
+ * "unixVer": "4.41"
1313
1313
  * },
1314
1314
  * "alipay": {
1315
1315
  * "hostVer": "√",
@@ -1390,7 +1390,7 @@ export type SwitchTabOptions = {
1390
1390
  * "weixin": {
1391
1391
  * "hostVer": "√",
1392
1392
  * "uniVer": "√",
1393
- * "unixVer": "4.35"
1393
+ * "unixVer": "4.41"
1394
1394
  * },
1395
1395
  * "alipay": {
1396
1396
  * "hostVer": "√",
@@ -1459,7 +1459,7 @@ export type SwitchTabOptions = {
1459
1459
  * "weixin": {
1460
1460
  * "hostVer": "√",
1461
1461
  * "uniVer": "√",
1462
- * "unixVer": "4.35"
1462
+ * "unixVer": "4.41"
1463
1463
  * },
1464
1464
  * "alipay": {
1465
1465
  * "hostVer": "√",
@@ -1528,7 +1528,7 @@ export type SwitchTabOptions = {
1528
1528
  * "weixin": {
1529
1529
  * "hostVer": "√",
1530
1530
  * "uniVer": "√",
1531
- * "unixVer": "4.35"
1531
+ * "unixVer": "4.41"
1532
1532
  * },
1533
1533
  * "alipay": {
1534
1534
  * "hostVer": "√",
@@ -1597,7 +1597,7 @@ export type SwitchTabOptions = {
1597
1597
  * "weixin": {
1598
1598
  * "hostVer": "√",
1599
1599
  * "uniVer": "√",
1600
- * "unixVer": "4.35"
1600
+ * "unixVer": "4.41"
1601
1601
  * },
1602
1602
  * "alipay": {
1603
1603
  * "hostVer": "√",
@@ -1676,7 +1676,7 @@ export type NavigateBackOptions = {
1676
1676
  * "weixin": {
1677
1677
  * "hostVer": "√",
1678
1678
  * "uniVer": "√",
1679
- * "unixVer": "4.35"
1679
+ * "unixVer": "4.41"
1680
1680
  * },
1681
1681
  * "alipay": {
1682
1682
  * "hostVer": "√",
@@ -2139,7 +2139,7 @@ export type NavigateBackOptions = {
2139
2139
  * "weixin": {
2140
2140
  * "hostVer": "√",
2141
2141
  * "uniVer": "√",
2142
- * "unixVer": "4.35"
2142
+ * "unixVer": "4.41"
2143
2143
  * },
2144
2144
  * "alipay": {
2145
2145
  * "hostVer": "√",
@@ -2208,7 +2208,7 @@ export type NavigateBackOptions = {
2208
2208
  * "weixin": {
2209
2209
  * "hostVer": "√",
2210
2210
  * "uniVer": "√",
2211
- * "unixVer": "4.35"
2211
+ * "unixVer": "4.41"
2212
2212
  * },
2213
2213
  * "alipay": {
2214
2214
  * "hostVer": "√",
@@ -2277,7 +2277,7 @@ export type NavigateBackOptions = {
2277
2277
  * "weixin": {
2278
2278
  * "hostVer": "√",
2279
2279
  * "uniVer": "√",
2280
- * "unixVer": "4.35"
2280
+ * "unixVer": "4.41"
2281
2281
  * },
2282
2282
  * "alipay": {
2283
2283
  * "hostVer": "√",
@@ -2353,7 +2353,7 @@ export interface Uni {
2353
2353
  * "weixin": {
2354
2354
  * "hostVer": "√",
2355
2355
  * "uniVer": "√",
2356
- * "unixVer": "4.35"
2356
+ * "unixVer": "4.41"
2357
2357
  * },
2358
2358
  * "alipay": {
2359
2359
  * "hostVer": "√",
@@ -2426,7 +2426,7 @@ export interface Uni {
2426
2426
  * "weixin": {
2427
2427
  * "hostVer": "√",
2428
2428
  * "uniVer": "√",
2429
- * "unixVer": "4.35"
2429
+ * "unixVer": "4.41"
2430
2430
  * },
2431
2431
  * "alipay": {
2432
2432
  * "hostVer": "√",
@@ -2499,7 +2499,7 @@ export interface Uni {
2499
2499
  * "weixin": {
2500
2500
  * "hostVer": "√",
2501
2501
  * "uniVer": "√",
2502
- * "unixVer": "4.35"
2502
+ * "unixVer": "4.41"
2503
2503
  * },
2504
2504
  * "alipay": {
2505
2505
  * "hostVer": "√",
@@ -2572,7 +2572,7 @@ export interface Uni {
2572
2572
  * "weixin": {
2573
2573
  * "hostVer": "√",
2574
2574
  * "uniVer": "√",
2575
- * "unixVer": "4.35"
2575
+ * "unixVer": "4.41"
2576
2576
  * },
2577
2577
  * "alipay": {
2578
2578
  * "hostVer": "√",
@@ -2645,7 +2645,7 @@ export interface Uni {
2645
2645
  * "weixin": {
2646
2646
  * "hostVer": "√",
2647
2647
  * "uniVer": "√",
2648
- * "unixVer": "4.35"
2648
+ * "unixVer": "4.41"
2649
2649
  * },
2650
2650
  * "alipay": {
2651
2651
  * "hostVer": "√",
@@ -1,80 +1,80 @@
1
- export type Rpx2px = (number : number) => number;
1
+ export type Rpx2px = (number: number) => number;
2
2
 
3
3
  export interface Uni {
4
- /**
5
- * 将rpx单位值转换成px
6
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/font.html#upx2px
7
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/rpx2px.html
8
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/rpx2px.html
9
- * @uniPlatform {
10
- * "app": {
11
- * "android": {
12
- * "osVer": "5.0",
13
- * "uniVer": "√",
14
- * "unixVer": "4.02"
15
- * },
16
- * "ios": {
17
- * "osVer": "12.0",
18
- * "uniVer": "√",
19
- * "unixVer": "4.11"
20
- * },
21
- * "harmony": {
22
- * "osVer": "3.0",
23
- * "uniVer": "4.23",
24
- * "unixVer": "x"
25
- * }
26
- * },
27
- * "mp": {
28
- * "weixin": {
29
- * "hostVer": "√",
30
- * "uniVer": "√",
31
- * "unixVer": "4.35"
32
- * },
33
- * "alipay": {
34
- * "hostVer": "√",
35
- * "uniVer": "√",
36
- * "unixVer": "x"
37
- * },
38
- * "baidu": {
39
- * "hostVer": "√",
40
- * "uniVer": "√",
41
- * "unixVer": "x"
42
- * },
43
- * "toutiao": {
44
- * "hostVer": "√",
45
- * "uniVer": "√",
46
- * "unixVer": "x"
47
- * },
48
- * "lark": {
49
- * "hostVer": "√",
50
- * "uniVer": "√",
51
- * "unixVer": "x"
52
- * },
53
- * "qq": {
54
- * "hostVer": "√",
55
- * "uniVer": "√",
56
- * "unixVer": "x"
57
- * },
58
- * "kuaishou": {
59
- * "hostVer": "√",
60
- * "uniVer": "√",
61
- * "unixVer": "x"
62
- * },
63
- * "jd": {
64
- * "hostVer": "√",
65
- * "uniVer": "√",
66
- * "unixVer": "x"
67
- * }
68
- * },
69
- * "web": {
70
- * "uniVer": "√",
71
- * "unixVer": "4.02"
72
- * }
73
- * }
74
- * @example
75
- ```typescript
76
- uni.rpx2px(200)
77
- ```
78
- */
79
- rpx2px(number : number) : number;
4
+ /**
5
+ * 将rpx单位值转换成px
6
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/font.html#upx2px
7
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/rpx2px.html
8
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/rpx2px.html
9
+ * @uniPlatform {
10
+ * "app": {
11
+ * "android": {
12
+ * "osVer": "5.0",
13
+ * "uniVer": "√",
14
+ * "unixVer": "4.02"
15
+ * },
16
+ * "ios": {
17
+ * "osVer": "12.0",
18
+ * "uniVer": "√",
19
+ * "unixVer": "4.11"
20
+ * },
21
+ * "harmony": {
22
+ * "osVer": "3.0",
23
+ * "uniVer": "4.23",
24
+ * "unixVer": "x"
25
+ * }
26
+ * },
27
+ * "mp": {
28
+ * "weixin": {
29
+ * "hostVer": "√",
30
+ * "uniVer": "√",
31
+ * "unixVer": "4.41"
32
+ * },
33
+ * "alipay": {
34
+ * "hostVer": "√",
35
+ * "uniVer": "√",
36
+ * "unixVer": "x"
37
+ * },
38
+ * "baidu": {
39
+ * "hostVer": "√",
40
+ * "uniVer": "√",
41
+ * "unixVer": "x"
42
+ * },
43
+ * "toutiao": {
44
+ * "hostVer": "√",
45
+ * "uniVer": "√",
46
+ * "unixVer": "x"
47
+ * },
48
+ * "lark": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "√",
51
+ * "unixVer": "x"
52
+ * },
53
+ * "qq": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "√",
56
+ * "unixVer": "x"
57
+ * },
58
+ * "kuaishou": {
59
+ * "hostVer": "√",
60
+ * "uniVer": "√",
61
+ * "unixVer": "x"
62
+ * },
63
+ * "jd": {
64
+ * "hostVer": "√",
65
+ * "uniVer": "√",
66
+ * "unixVer": "x"
67
+ * }
68
+ * },
69
+ * "web": {
70
+ * "uniVer": "√",
71
+ * "unixVer": "4.02"
72
+ * }
73
+ * }
74
+ * @example
75
+ ```typescript
76
+ uni.rpx2px(200)
77
+ ```
78
+ */
79
+ rpx2px(number: number): number;
80
80
  }
@@ -64,7 +64,7 @@ export interface Uni {
64
64
  * "weixin": {
65
65
  * "hostVer": "√",
66
66
  * "uniVer": "√",
67
- * "unixVer": "4.35"
67
+ * "unixVer": "4.41"
68
68
  * },
69
69
  * "alipay": {
70
70
  * "hostVer": "√",