Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / data / page.json
1 {
2   "$schema": "http://json-schema.org/draft-04/schema",
3   "description": "微信小程序 page.json 的 schema",
4   "type": "object",
5   "properties": {
6     "usingComponents": {
7       "type": "object"
8     },
9     "navigationBarBackgroundColor": {
10       "type": "string",
11       "default": "#000000",
12       "description": "导航栏背景颜色,HexColor"
13     },
14     "navigationBarTextStyle": {
15       "type": "string",
16       "description": "导航栏标题颜色,仅支持 black/white",
17       "default": "white",
18       "enum": [
19         "white", "black"
20       ]
21     },
22     "navigationBarTitleText": {
23       "type": "string",
24       "description": "导航栏标题文字内容"
25     },
26     "backgroundColor": {
27       "type": "string",
28       "default": "#ffffff",
29       "description": "窗口的背景色, HexColor"
30     },
31     "backgroundTextStyle": {
32       "type": "string",
33       "default": "dark",
34       "enum": [
35         "dark", "light"
36       ],
37       "description": "下拉背景字体、loading 图的样式,仅支持 dark/light"
38     },
39     "enablePullDownRefresh": {
40       "type": "boolean",
41       "default": false,
42       "description": "是否开启下拉刷新"
43     },
44     "onReachBottomDistance": {
45       "type": "number",
46       "default": 50,
47       "description": "页面上拉触底事件触发时距页面底部距离,单位为px"
48     },
49     "pageOrientation": {
50       "type": "string",
51       "description": "屏幕旋转设置,2.4.0 (auto) / 2.5.0 (landscape)",
52       "default": "portrait",
53       "enum": [
54         "auto",
55         "portrait",
56         "landscape"
57       ]
58     },
59     "disableScroll": {
60       "type": "boolean",
61       "description": "设置为 true 则页面整体不能上下滚动。 只在页面配置中有效",
62       "default": false
63     },
64     "disableSwipeBack": {
65       "type": "boolean",
66       "description": "禁止页面右滑手势返回,微信客户端 7.0.0",
67       "default": false
68     }
69   }
70 }