@uni-helper/pages-json-schema 0.4.3 → 0.4.6
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.
- package/package.json +1 -1
- package/schema.json +65 -16
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -1147,22 +1147,7 @@
|
|
|
1147
1147
|
"list": {
|
|
1148
1148
|
"description": "启动模式列表",
|
|
1149
1149
|
"items": {
|
|
1150
|
-
"
|
|
1151
|
-
"properties": {
|
|
1152
|
-
"name": {
|
|
1153
|
-
"description": "启动模式名称",
|
|
1154
|
-
"type": "string"
|
|
1155
|
-
},
|
|
1156
|
-
"path": {
|
|
1157
|
-
"description": "启动页面路径",
|
|
1158
|
-
"type": "string"
|
|
1159
|
-
},
|
|
1160
|
-
"query": {
|
|
1161
|
-
"description": "启动参数,可在页面的 onLoad 函数里获得",
|
|
1162
|
-
"type": "string"
|
|
1163
|
-
}
|
|
1164
|
-
},
|
|
1165
|
-
"type": "object"
|
|
1150
|
+
"$ref": "#/definitions/ConditionItem"
|
|
1166
1151
|
},
|
|
1167
1152
|
"type": "array"
|
|
1168
1153
|
}
|
|
@@ -1173,6 +1158,28 @@
|
|
|
1173
1158
|
],
|
|
1174
1159
|
"type": "object"
|
|
1175
1160
|
},
|
|
1161
|
+
"ConditionItem": {
|
|
1162
|
+
"additionalProperties": false,
|
|
1163
|
+
"properties": {
|
|
1164
|
+
"name": {
|
|
1165
|
+
"description": "启动模式名称",
|
|
1166
|
+
"type": "string"
|
|
1167
|
+
},
|
|
1168
|
+
"path": {
|
|
1169
|
+
"description": "启动页面路径",
|
|
1170
|
+
"type": "string"
|
|
1171
|
+
},
|
|
1172
|
+
"query": {
|
|
1173
|
+
"description": "启动参数,可在页面的 onLoad 函数里获得",
|
|
1174
|
+
"type": "string"
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
"required": [
|
|
1178
|
+
"name",
|
|
1179
|
+
"path"
|
|
1180
|
+
],
|
|
1181
|
+
"type": "object"
|
|
1182
|
+
},
|
|
1176
1183
|
"EasyCom": {
|
|
1177
1184
|
"additionalProperties": false,
|
|
1178
1185
|
"properties": {
|
|
@@ -1418,6 +1425,11 @@
|
|
|
1418
1425
|
"pageOrientation": {
|
|
1419
1426
|
"default": "portrait",
|
|
1420
1427
|
"description": "横屏配置,屏幕旋转设置,仅支持 \"auto\" / \"portrait\" / \"landscape\",详见 [响应显示区域变化](https://developers.weixin.qq.com/miniprogram/dev/framework/view/resizable.html)\n\n\"auto\" 自动\n\n\"portrait\" 竖屏\n\n\"landscape\" 横屏",
|
|
1428
|
+
"enum": [
|
|
1429
|
+
"auto",
|
|
1430
|
+
"portrait",
|
|
1431
|
+
"landscape"
|
|
1432
|
+
],
|
|
1421
1433
|
"type": "string"
|
|
1422
1434
|
},
|
|
1423
1435
|
"renderingMode": {
|
|
@@ -2046,6 +2058,11 @@
|
|
|
2046
2058
|
"custom"
|
|
2047
2059
|
],
|
|
2048
2060
|
"type": "string"
|
|
2061
|
+
},
|
|
2062
|
+
"onReachBottomDistance": {
|
|
2063
|
+
"default": 50,
|
|
2064
|
+
"description": "页面上拉触底事件触发时距页面底部距离,单位为 px",
|
|
2065
|
+
"type": "number"
|
|
2049
2066
|
}
|
|
2050
2067
|
},
|
|
2051
2068
|
"type": "object"
|
|
@@ -2403,6 +2420,11 @@
|
|
|
2403
2420
|
],
|
|
2404
2421
|
"type": "string"
|
|
2405
2422
|
},
|
|
2423
|
+
"onReachBottomDistance": {
|
|
2424
|
+
"default": 50,
|
|
2425
|
+
"description": "页面上拉触底事件触发时距页面底部距离,单位为 px",
|
|
2426
|
+
"type": "number"
|
|
2427
|
+
},
|
|
2406
2428
|
"pageOrientation": {
|
|
2407
2429
|
"default": "portrait",
|
|
2408
2430
|
"description": "屏幕旋转设置,支持 auto / portrait / landscape,详见 [响应显示区域变化](https://q.qq.com/wiki/develop/miniprogram/frame/view/view_section_change.html)\n\n\"auto\" 自动\n\n\"portrait\" 竖屏\n\n\"landscape\" 横屏",
|
|
@@ -2820,6 +2842,23 @@
|
|
|
2820
2842
|
"default": "#FFFFFF",
|
|
2821
2843
|
"description": "窗口的背景色,支持 HEX 颜色"
|
|
2822
2844
|
},
|
|
2845
|
+
"backgroundTextStyle": {
|
|
2846
|
+
"anyOf": [
|
|
2847
|
+
{
|
|
2848
|
+
"const": "dark",
|
|
2849
|
+
"type": "string"
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"const": "light",
|
|
2853
|
+
"type": "string"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"$ref": "#/definitions/ThemeVar"
|
|
2857
|
+
}
|
|
2858
|
+
],
|
|
2859
|
+
"default": "dark",
|
|
2860
|
+
"description": "下拉 loading 的样式,仅支持 \"dark\" / \"light\""
|
|
2861
|
+
},
|
|
2823
2862
|
"enablePullDownRefresh": {
|
|
2824
2863
|
"default": false,
|
|
2825
2864
|
"description": "是否开启全局的下拉刷新",
|
|
@@ -2872,6 +2911,16 @@
|
|
|
2872
2911
|
"default": 50,
|
|
2873
2912
|
"description": "页面上拉触底事件触发时距页面底部距离,单位为 px",
|
|
2874
2913
|
"type": "number"
|
|
2914
|
+
},
|
|
2915
|
+
"pageOrientation": {
|
|
2916
|
+
"default": "portrait",
|
|
2917
|
+
"description": "屏幕旋转设置,支持 auto / portrait / landscape\n\n\"auto\" 自动\n\n\"portrait\" 竖屏\n\n\"landscape\" 横屏",
|
|
2918
|
+
"enum": [
|
|
2919
|
+
"auto",
|
|
2920
|
+
"portrait",
|
|
2921
|
+
"landscape"
|
|
2922
|
+
],
|
|
2923
|
+
"type": "string"
|
|
2875
2924
|
}
|
|
2876
2925
|
},
|
|
2877
2926
|
"type": "object"
|