pages.json 7.2 KB
Newer Older
H
init.  
hdx 已提交
1
{
2 3
  "pages": [
    {
H
init.  
hdx 已提交
4 5 6 7 8
      "path": "pages/index",
      "style": {
        "navigationBarTitleText": "hello uvue"
      }
    },
H
hdx 已提交
9
    {
H
hdx 已提交
10
      "path": "pages/directive/v-bind/v-bind",
H
hdx 已提交
11 12 13 14
      "style": {
        "navigationBarTitleText": "v-bind"
      }
    },
H
hdx 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    {
      "path": "pages/directive/v-bind/v-bind-class",
      "style": {
        "navigationBarTitleText": "v-bind-class"
      }
    },
    {
      "path": "pages/directive/v-bind/v-bind-style",
      "style": {
        "navigationBarTitleText": "v-bind-style"
      }
    },
    {
      "path": "pages/directive/v-bind/v-bind-props",
      "style": {
        "navigationBarTitleText": "v-bind-props"
      }
    },
    // {
    //   "path": "pages/directive/v-bind/v-bind-attribute",
    //   "style": {
    //     "navigationBarTitleText": "v-bind-attribute"
    //   }
    // },
H
init.  
hdx 已提交
39
    {
H
hdx 已提交
40
      "path": "pages/directive/v-for/v-for",
H
init.  
hdx 已提交
41 42 43 44
      "style": {
        "navigationBarTitleText": "v-for"
      }
    },
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
    {
      "path": "pages/directive/v-for/v-for-item-click",
      "style": {
        "navigationBarTitleText": "v-for-item-click"
      }
    },
    {
      "path": "pages/directive/v-for/v-for-item-v-if",
      "style": {
        "navigationBarTitleText": "v-for-item-v-if"
      }
    },
    {
      "path": "pages/directive/v-for/v-for-item-v-show",
      "style": {
        "navigationBarTitleText": "v-for-item-v-show"
      }
    },
H
hdx 已提交
63 64 65 66 67 68
    {
      "path": "pages/directive/v-for/v-for-v-for",
      "style": {
        "navigationBarTitleText": "v-for-v-for"
      }
    },
H
init.  
hdx 已提交
69
    {
H
hdx 已提交
70
      "path": "pages/directive/v-if/v-if",
H
init.  
hdx 已提交
71 72 73
      "style": {
        "navigationBarTitleText": "v-if"
      }
H
hdx 已提交
74 75
    },
    {
H
hdx 已提交
76
      "path": "pages/directive/v-model/v-model",
H
hdx 已提交
77 78 79 80 81
      "style": {
        "navigationBarTitleText": "v-model"
      }
    },
    {
H
hdx 已提交
82
      "path": "pages/directive/v-on/v-on",
H
hdx 已提交
83 84 85 86 87
      "style": {
        "navigationBarTitleText": "v-on"
      }
    },
    {
H
hdx 已提交
88
      "path": "pages/directive/v-once/v-once",
H
hdx 已提交
89 90 91 92 93
      "style": {
        "navigationBarTitleText": "v-once"
      }
    },
    {
H
hdx 已提交
94
      "path": "pages/directive/v-show/v-show",
H
hdx 已提交
95 96 97 98 99
      "style": {
        "navigationBarTitleText": "v-show"
      }
    },
    {
H
hdx 已提交
100
      "path": "pages/directive/v-slot/v-slot",
H
hdx 已提交
101 102 103
      "style": {
        "navigationBarTitleText": "v-slot"
      }
DCloud-WZF's avatar
DCloud-WZF 已提交
104
    },
DCloud-WZF's avatar
DCloud-WZF 已提交
105 106 107 108 109 110
    {
      "path": "pages/directive/v-html/v-html",
      "style": {
        "navigationBarTitleText": "v-html"
      }
    },
DCloud-WZF's avatar
DCloud-WZF 已提交
111
    {
H
hdx 已提交
112
      "path": "pages/lifecycle/page/page",
DCloud-WZF's avatar
DCloud-WZF 已提交
113
      "style": {
DCloud-WZF's avatar
DCloud-WZF 已提交
114 115
        "navigationBarTitleText": "page-lifecycle",
        "enablePullDownRefresh": true
DCloud-WZF's avatar
DCloud-WZF 已提交
116
      }
crlfe's avatar
crlfe 已提交
117
    },
DCloud-WZF's avatar
DCloud-WZF 已提交
118
    {
H
hdx 已提交
119
      "path": "pages/lifecycle/component/component",
DCloud-WZF's avatar
DCloud-WZF 已提交
120 121 122 123
      "style": {
        "navigationBarTitleText": "component-lifecycle"
      }
    },
crlfe's avatar
crlfe 已提交
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
    {
      "path": "pages/component-instance/data/data",
      "style": {
        "navigationBarTitleText": "$data"
      }
    },
    {
      "path": "pages/component-instance/props/props",
      "style": {
        "navigationBarTitleText": "$props"
      }
    },
    {
      "path": "pages/component-instance/el/el",
      "style": {
        "navigationBarTitleText": "$el"
      }
    },
    {
      "path": "pages/component-instance/options/options",
      "style": {
        "navigationBarTitleText": "$options"
      }
    },
    {
      "path": "pages/component-instance/parent/parent",
      "style": {
        "navigationBarTitleText": "$parent"
      }
    },
    {
      "path": "pages/component-instance/root/root",
      "style": {
        "navigationBarTitleText": "$root"
      }
    },
    {
      "path": "pages/component-instance/slots/slots",
      "style": {
        "navigationBarTitleText": "$slots"
      }
    },
    {
      "path": "pages/component-instance/refs/refs",
      "style": {
        "navigationBarTitleText": "$refs"
      }
    },
    {
      "path": "pages/component-instance/attrs/attrs",
      "style": {
        "navigationBarTitleText": "$attrs"
      }
    },
    {
      "path": "pages/component-instance/watch-function/watch-function",
      "style": {
        "navigationBarTitleText": "$watch()"
      }
    },
    {
      "path": "pages/component-instance/emit-function/emit-function",
      "style": {
        "navigationBarTitleText": "$emit()"
      }
    },
    {
      "path": "pages/component-instance/forceUpdate-function/forceUpdate-function",
      "style": {
        "navigationBarTitleText": "$forceUpdate()"
      }
    },
    {
      "path": "pages/component-instance/nextTick-function/nextTick-function",
      "style": {
        "navigationBarTitleText": "$nextTick()"
      }
201 202 203 204 205 206 207 208 209 210 211 212 213 214
    },
    {
      "path": "pages/state/data/data",
      "style": {
        "navigationBarTitleText": "data",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "pages/state/methods/methods",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false
      }
215 216
    },
    {
217 218 219 220 221
      "path": "pages/state/props/props",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false
      }
222 223
    },
    {
224 225 226 227 228
      "path": "pages/state/computed/computed",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false
      }
229 230
    },
    {
231 232 233 234 235
      "path": "pages/state/watch/watch",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false
      }
study夏羽's avatar
study夏羽 已提交
236
    },
H
hdx 已提交
237 238 239 240 241 242 243 244 245 246 247 248 249
    {
      "path": "pages/rendering/slots/slots",
      "style": {
        "navigationBarTitleText": "slots",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "pages/rendering/template/template",
      "style": {
        "navigationBarTitleText": "template",
        "enablePullDownRefresh": false
      }
250
    },
251 252 253 254 255 256 257
		{
		  "path": "pages/rendering/unrecognized-component/unrecognized-component",
		  "style": {
		    "navigationBarTitleText": "unrecognized-component",
		    "enablePullDownRefresh": false
		  }
		},
DCloud-WZF's avatar
DCloud-WZF 已提交
258 259 260 261 262 263
		{
		  "path": "pages/rendering/component/component",
		  "style": {
		    "navigationBarTitleText": "component"
		  }
		},
264 265 266 267 268 269
    {
      "path": "pages/examples/nested-component-communication/nested-component-communication",
      "style": {
        "navigationBarTitleText": "嵌套组件通信",
        "enablePullDownRefresh": false
      }
270 271 272 273 274 275 276
    },
    {
      "path": "pages/examples/set-custom-child-component-root-node-class/set-custom-child-component-root-node-class",
      "style": {
        "navigationBarTitleText": "自定义组件中使用 class 定制另一个自定义组件根节点样式",
        "enablePullDownRefresh": false
      }
H
hdx 已提交
277
    }
H
init.  
hdx 已提交
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
  ],
  "globalStyle": {
    "pageOrientation": "portrait",
    "navigationBarTitleText": "Hello UVUE",
    "navigationBarTextStyle": "white",
    "navigationBarBackgroundColor": "#007AFF",
    "backgroundColor": "#F8F8F8",
    "backgroundColorTop": "#F4F5F6",
    "backgroundColorBottom": "#F4F5F6",
    "h5": {
      "maxWidth": 1190,
      "navigationBarTextStyle": "black",
      "navigationBarBackgroundColor": "#F1F1F1"
    }
  },
  "uniIdRouter": {},
294 295
  "condition": {
    //模式配置,仅开发期间生效
H
init.  
hdx 已提交
296
    "current": 0, //当前激活的模式(list 的索引项)
297 298 299 300 301 302 303
    "list": [
      {
        "name": "", //模式名称
        "path": "", //启动页面,必选
        "query": "" //启动参数,在页面的onLoad函数里面得到
      }
    ]
H
init.  
hdx 已提交
304 305
  }
}