pages.json 17.5 KB
Newer Older
DCloud-WZF's avatar
DCloud-WZF 已提交
1
{
2
  "pages": [
DCloud-WZF's avatar
DCloud-WZF 已提交
3 4 5 6 7 8 9 10 11 12 13
    {
      "path": "pages/tab-bar/options-api",
      "style": {
        "navigationBarTitleText": "选项式 API"
      }
    },
    {
      "path": "pages/tab-bar/composition-api",
      "style": {
        "navigationBarTitleText": "组合式 API"
      }
DCloud-WZF's avatar
DCloud-WZF 已提交
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
    },
    {
      "path": "pages/app-instance/index/index",
      "style": {
        "navigationBarTitleText": "app instance"
      }
    },
    {
      "path": "pages/app-instance/globalProperties/globalProperties",
      "style": {
        "navigationBarTitleText": "globalProperties"
      }
    },
    {
      "path": "pages/built-in-component/keep-alive/keep-alive",
      "style": {
        "navigationBarTitleText": "keep-alive"
      }
    },
    {
      "path": "pages/directive/v-bind/v-bind",
      "style": {
        "navigationBarTitleText": "v-bind"
      }
    },
    {
      "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"
    //   }
    // },
    {
      "path": "pages/directive/v-for/v-for",
      "style": {
        "navigationBarTitleText": "v-for"
      }
    },
    {
      "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"
      }
    },
    {
      "path": "pages/directive/v-for/v-for-v-for",
      "style": {
        "navigationBarTitleText": "v-for-v-for"
      }
    },
    {
      "path": "pages/directive/v-if/v-if",
      "style": {
        "navigationBarTitleText": "v-if"
      }
    },
    {
      "path": "pages/directive/v-model/v-model",
      "style": {
        "navigationBarTitleText": "v-model"
      }
    },
    {
      "path": "pages/directive/v-on/v-on",
      "style": {
        "navigationBarTitleText": "v-on"
      }
    },
雪洛's avatar
雪洛 已提交
111
    // #ifdef APP
DCloud-WZF's avatar
DCloud-WZF 已提交
112 113 114 115 116 117
    {
      "path": "pages/directive/v-once/v-once",
      "style": {
        "navigationBarTitleText": "v-once"
      }
    },
雪洛's avatar
雪洛 已提交
118
    // #endif
DCloud-WZF's avatar
DCloud-WZF 已提交
119 120 121 122 123 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
    {
      "path": "pages/directive/v-memo/v-memo",
      "style": {
        "navigationBarTitleText": "v-memo"
      }
    },
    {
      "path": "pages/directive/v-pre/v-pre",
      "style": {
        "navigationBarTitleText": "v-pre"
      }
    },
    {
      "path": "pages/directive/v-show/v-show",
      "style": {
        "navigationBarTitleText": "v-show"
      }
    },
    {
      "path": "pages/directive/v-slot/v-slot",
      "style": {
        "navigationBarTitleText": "v-slot"
      }
    },
    {
      "path": "pages/directive/v-html/v-html",
      "style": {
        "navigationBarTitleText": "v-html"
      }
    },
    {
      "path": "pages/lifecycle/page/page",
      "style": {
        "navigationBarTitleText": "page-lifecycle",
        "enablePullDownRefresh": true
      }
    },
    {
      "path": "pages/lifecycle/component/component",
      "style": {
        "navigationBarTitleText": "component-lifecycle"
      }
    },
    {
      "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"
      }
    },
192
    // #ifdef APP
DCloud-WZF's avatar
DCloud-WZF 已提交
193 194 195 196 197 198
    {
      "path": "pages/component-instance/root/root",
      "style": {
        "navigationBarTitleText": "$root"
      }
    },
雪洛's avatar
雪洛 已提交
199
    // #endif
DCloud-WZF's avatar
DCloud-WZF 已提交
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
    {
      "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/watch-function/watch-array",
      "style": {
        "navigationBarTitleText": "watch-array"
      }
    },
    {
      "path": "pages/component-instance/emit-function/emit-function",
      "style": {
        "navigationBarTitleText": "$emit()"
      }
    },
    {
      "path": "pages/component-instance/force-update/force-update",
      "style": {
        "navigationBarTitleText": "$forceUpdate"
      }
    },
    {
      "path": "pages/component-instance/nextTick-function/nextTick-function",
      "style": {
        "navigationBarTitleText": "$nextTick()"
      }
    },
    {
      "path": "pages/component-instance/methods/call-method-uni-element",
      "style": {
        "navigationBarTitleText": "call-method-uni-element"
      }
    },
    {
      "path": "pages/component-instance/methods/call-method-easycom",
      "style": {
        "navigationBarTitleText": "call-method-easycom"
      }
    },
    {
      "path": "pages/component-instance/methods/call-method-easycom-uni-modules",
      "style": {
        "navigationBarTitleText": "call-method-easycom-uni-modules"
      }
    },
    {
      "path": "pages/component-instance/methods/call-method-other",
      "style": {
        "navigationBarTitleText": "call-method-other"
      }
    },
    {
      "path": "pages/component-instance/circular-reference/circular-reference",
      "style": {
        "navigationBarTitleText": "circular reference"
      }
    },
    {
      "path": "pages/state/data/data",
      "style": {
281
        "navigationBarTitleText": "data"
DCloud-WZF's avatar
DCloud-WZF 已提交
282 283 284 285 286
      }
    },
    {
      "path": "pages/state/methods/methods",
      "style": {
287
        "navigationBarTitleText": ""
DCloud-WZF's avatar
DCloud-WZF 已提交
288 289 290 291 292
      }
    },
    {
      "path": "pages/state/props/props",
      "style": {
293
        "navigationBarTitleText": ""
DCloud-WZF's avatar
DCloud-WZF 已提交
294 295 296 297 298
      }
    },
    {
      "path": "pages/state/computed/computed",
      "style": {
299
        "navigationBarTitleText": ""
DCloud-WZF's avatar
DCloud-WZF 已提交
300 301 302 303 304
      }
    },
    {
      "path": "pages/state/watch/watch",
      "style": {
305
        "navigationBarTitleText": ""
DCloud-WZF's avatar
DCloud-WZF 已提交
306 307 308 309 310
      }
    },
    {
      "path": "pages/rendering/slots/slots",
      "style": {
311
        "navigationBarTitleText": "slots"
DCloud-WZF's avatar
DCloud-WZF 已提交
312 313
      }
    },
314 315 316 317 318 319 320 321 322 323 324
    {
      "path": "pages/rendering/template/template",
      "style": {
        "navigationBarTitleText": "template"
      }
    },
    {
      "path": "pages/rendering/template/template-map-style",
      "style": {
        "navigationBarTitleText": "template-map-style"
      }
DCloud-WZF's avatar
DCloud-WZF 已提交
325 326 327 328
    },
    {
      "path": "pages/rendering/unrecognized-component/unrecognized-component",
      "style": {
329
        "navigationBarTitleText": "unrecognized-component"
DCloud-WZF's avatar
DCloud-WZF 已提交
330 331 332 333 334 335 336 337 338 339 340 341 342 343
      }
    },
    {
      "path": "pages/rendering/component/component",
      "style": {
        "navigationBarTitleText": "component"
      }
    },
    {
      "path": "pages/rendering/render/render",
      "style": {
        "navigationBarTitleText": "render function"
      }
    },
DCloud-WZF's avatar
DCloud-WZF 已提交
344
    // #ifdef APP
DCloud-WZF's avatar
DCloud-WZF 已提交
345 346 347 348 349 350 351 352 353 354 355 356
    {
      "path": "pages/composition/mixins/mixins",
      "style": {
        "navigationBarTitleText": "mixins"
      }
    },
    {
      "path": "pages/composition/mixins/mixins-page2",
      "style": {
        "navigationBarTitleText": "mixins-page-2"
      }
    },
DCloud-WZF's avatar
DCloud-WZF 已提交
357
    // #endif
358
    // #ifdef WEB
DCloud-WZF's avatar
DCloud-WZF 已提交
359 360 361 362 363 364
    {
      "path": "pages/composition/mixins/mixins-web",
      "style": {
        "navigationBarTitleText": "mixins"
      }
    },
雪洛's avatar
雪洛 已提交
365
    // #endif
DCloud-WZF's avatar
DCloud-WZF 已提交
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
    {
      "path": "pages/composition/provide/provide",
      "style": {
        "navigationBarTitleText": "provide"
      }
    },
    {
      "path": "pages/composition/provide/provide-page2",
      "style": {
        "navigationBarTitleText": "provide-page-2"
      }
    },
    {
      "path": "pages/composition/inject/inject",
      "style": {
        "navigationBarTitleText": "inject"
      }
    },
    {
      "path": "pages/composition/setup/setup",
      "style": {
        "navigationBarTitleText": "setup"
      }
    },
    {
      "path": "pages/examples/nested-component-communication/nested-component-communication",
      "style": {
393
        "navigationBarTitleText": "嵌套组件通信"
DCloud-WZF's avatar
DCloud-WZF 已提交
394 395 396 397 398
      }
    },
    {
      "path": "pages/examples/set-custom-child-component-root-node-class/set-custom-child-component-root-node-class",
      "style": {
399
        "navigationBarTitleText": "自定义组件中使用 class 定制另一个自定义组件根节点样式"
DCloud-WZF's avatar
DCloud-WZF 已提交
400
      }
DCloud-WZF's avatar
DCloud-WZF 已提交
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419
    },
    {
      "path": "pages/composition-api/basic/define-props/define-props",
      "style": {
        "navigationBarTitleText": "defineProps"
      }
    },
    {
      "path": "pages/composition-api/basic/define-emits/define-emits",
      "style": {
        "navigationBarTitleText": "defineEmits"
      }
    },
    {
      "path": "pages/composition-api/basic/define-expose/define-expose",
      "style": {
        "navigationBarTitleText": "defineExpose"
      }
    },
雪洛's avatar
雪洛 已提交
420
		// #ifdef APP
DCloud-WZF's avatar
DCloud-WZF 已提交
421 422 423 424 425 426 427 428 429 430 431 432
    {
      "path": "pages/composition-api/basic/define-model/define-model",
      "style": {
        "navigationBarTitleText": "defineModel"
      }
    },
    {
      "path": "pages/composition-api/basic/define-options/define-options",
      "style": {
        "navigationBarTitleText": "defineOptions"
      }
    },
雪洛's avatar
雪洛 已提交
433
		// #endif
DCloud-WZF's avatar
DCloud-WZF 已提交
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452
    {
      "path": "pages/composition-api/basic/define-slots/define-slots",
      "style": {
        "navigationBarTitleText": "defineSlots"
      }
    },
    {
      "path": "pages/composition-api/basic/use-attrs/use-attrs",
      "style": {
        "navigationBarTitleText": "useAttrs"
      }
    },
    {
      "path": "pages/composition-api/basic/use-slots/use-slots",
      "style": {
        "navigationBarTitleText": "useSlots"
      }
    },
    {
453
      "path": "pages/composition-api/reactivity/ref/ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
454 455 456 457 458
      "style": {
        "navigationBarTitleText": "ref"
      }
    },
    {
459
      "path": "pages/composition-api/reactivity/computed/computed",
DCloud-WZF's avatar
DCloud-WZF 已提交
460 461 462 463 464
      "style": {
        "navigationBarTitleText": "computed"
      }
    },
    {
465
      "path": "pages/composition-api/reactivity/reactive/reactive",
DCloud-WZF's avatar
DCloud-WZF 已提交
466 467 468 469 470
      "style": {
        "navigationBarTitleText": "reactive"
      }
    },
    {
471
      "path": "pages/composition-api/reactivity/readonly/readonly",
DCloud-WZF's avatar
DCloud-WZF 已提交
472 473 474 475 476
      "style": {
        "navigationBarTitleText": "readonly"
      }
    },
    {
477
      "path": "pages/composition-api/reactivity/watch/watch",
DCloud-WZF's avatar
DCloud-WZF 已提交
478 479 480 481 482
      "style": {
        "navigationBarTitleText": "watch"
      }
    },
    {
483
      "path": "pages/composition-api/reactivity/watch-effect/watch-effect",
DCloud-WZF's avatar
DCloud-WZF 已提交
484 485 486 487 488
      "style": {
        "navigationBarTitleText": "watchEffect"
      }
    },
    {
489
      "path": "pages/composition-api/reactivity/watch-post-effect/watch-post-effect",
DCloud-WZF's avatar
DCloud-WZF 已提交
490 491 492 493 494
      "style": {
        "navigationBarTitleText": "watchPostEffect"
      }
    },
    {
495
      "path": "pages/composition-api/reactivity/watch-sync-effect/watch-sync-effect",
DCloud-WZF's avatar
DCloud-WZF 已提交
496 497 498 499 500
      "style": {
        "navigationBarTitleText": "watchSyncEffect"
      }
    },
    {
501
      "path": "pages/composition-api/reactivity/is-ref/is-ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
502 503 504 505 506
      "style": {
        "navigationBarTitleText": "isRef"
      }
    },
    {
507
      "path": "pages/composition-api/reactivity/un-ref/un-ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
508 509 510 511 512
      "style": {
        "navigationBarTitleText": "unRef"
      }
    },
    {
513
      "path": "pages/composition-api/reactivity/to-ref/to-ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
514 515 516 517
      "style": {
        "navigationBarTitleText": "toRef"
      }
    },
雪洛's avatar
雪洛 已提交
518
    // #ifdef APP
DCloud-WZF's avatar
DCloud-WZF 已提交
519
    {
520
      "path": "pages/composition-api/reactivity/to-value/to-value",
DCloud-WZF's avatar
DCloud-WZF 已提交
521 522 523 524 525
      "style": {
        "navigationBarTitleText": "toValue"
      }
    },
    {
526
      "path": "pages/composition-api/reactivity/to-refs/to-refs",
DCloud-WZF's avatar
DCloud-WZF 已提交
527 528 529 530
      "style": {
        "navigationBarTitleText": "toRefs"
      }
    },
雪洛's avatar
雪洛 已提交
531
    // #endif
DCloud-WZF's avatar
DCloud-WZF 已提交
532
    {
533
      "path": "pages/composition-api/reactivity/is-proxy/is-proxy",
DCloud-WZF's avatar
DCloud-WZF 已提交
534 535 536 537 538
      "style": {
        "navigationBarTitleText": "isProxy"
      }
    },
    {
539
      "path": "pages/composition-api/reactivity/is-reactive/is-reactive",
DCloud-WZF's avatar
DCloud-WZF 已提交
540 541 542 543 544
      "style": {
        "navigationBarTitleText": "isReactive"
      }
    },
    {
545
      "path": "pages/composition-api/reactivity/is-readonly/is-readonly",
DCloud-WZF's avatar
DCloud-WZF 已提交
546 547 548 549 550
      "style": {
        "navigationBarTitleText": "isReadonly"
      }
    },
    {
551
      "path": "pages/composition-api/reactivity/shallow-ref/shallow-ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
552 553 554 555 556
      "style": {
        "navigationBarTitleText": "shallowRef"
      }
    },
    {
557
      "path": "pages/composition-api/reactivity/trigger-ref/trigger-ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
558 559 560 561 562
      "style": {
        "navigationBarTitleText": "triggerRef"
      }
    },
    {
563
      "path": "pages/composition-api/reactivity/custom-ref/custom-ref",
DCloud-WZF's avatar
DCloud-WZF 已提交
564 565 566 567 568
      "style": {
        "navigationBarTitleText": "customRef"
      }
    },
    {
569
      "path": "pages/composition-api/reactivity/shallow-reactive/shallow-reactive",
DCloud-WZF's avatar
DCloud-WZF 已提交
570 571 572 573 574
      "style": {
        "navigationBarTitleText": "shallowReactive"
      }
    },
    {
575
      "path": "pages/composition-api/reactivity/shallow-readonly/shallow-readonly",
DCloud-WZF's avatar
DCloud-WZF 已提交
576 577 578 579 580
      "style": {
        "navigationBarTitleText": "shallowReadonly"
      }
    },
    {
581
      "path": "pages/composition-api/reactivity/to-raw/to-raw",
DCloud-WZF's avatar
DCloud-WZF 已提交
582 583 584 585 586
      "style": {
        "navigationBarTitleText": "toRaw"
      }
    },
    {
587
      "path": "pages/composition-api/reactivity/mark-raw/mark-raw",
DCloud-WZF's avatar
DCloud-WZF 已提交
588 589 590 591 592
      "style": {
        "navigationBarTitleText": "markRaw"
      }
    },
    {
593
      "path": "pages/composition-api/reactivity/effect-scope/effect-scope",
DCloud-WZF's avatar
DCloud-WZF 已提交
594 595 596 597 598
      "style": {
        "navigationBarTitleText": "effectScope"
      }
    },
    {
599
      "path": "pages/composition-api/reactivity/get-current-scope/get-current-scope",
DCloud-WZF's avatar
DCloud-WZF 已提交
600 601 602 603 604
      "style": {
        "navigationBarTitleText": "getCurrentScope"
      }
    },
    {
605
      "path": "pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose",
DCloud-WZF's avatar
DCloud-WZF 已提交
606 607 608
      "style": {
        "navigationBarTitleText": "onScopeDispose"
      }
DCloud-WZF's avatar
DCloud-WZF 已提交
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639
    },
    {
      "path" : "pages/composition-api/lifecycle/page-lifecycle/page-lifecycle",
      "style" : 
      {
        "navigationBarTitleText" : "页面生命周期",
        "enablePullDownRefresh": true
      }
    },
    {
      "path" : "pages/composition-api/lifecycle/component-lifecycle/component-lifecycle",
      "style" : 
      {
        "navigationBarTitleText": "组件生命周期",
        "enablePullDownRefresh": true
      }
    },
    {
      "path" : "pages/composition-api/dependency-injection/provide/provide",
      "style" : 
      {
        "navigationBarTitleText" : "依赖注入"
      }
    },
    {
    	"path" : "pages/built-in-component/teleport/teleport",
    	"style" : 
    	{
    		"navigationBarTitleText" : "teleport",
    		"enablePullDownRefresh" : false
    	}
640 641 642 643 644 645 646 647 648 649 650 651 652 653
    },
		{
		  "path": "pages/webview-screenshot-comparison/webview-screenshot-comparison",
		  "style": {
		    "navigationBarTitleText": "截图对比测试",
		    "navigationStyle": "custom"
		  }
		},
		{
		  "path": "pages/webview-screenshot/webview-screenshot",
		  "style": {
		    "navigationBarTitleText": "webview 截图测试",
		    "navigationStyle": "custom"
		  }
654 655 656 657 658 659 660 661
		},
		{
			"path" : "pages/type/type",
			"style" : 
			{
				"navigationBarTitleText" : "",
				"enablePullDownRefresh" : false
			}
662
		}
DCloud-WZF's avatar
DCloud-WZF 已提交
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678
  ],
  "tabBar": {
    "color": "#7A7E83",
    "selectedColor": "#007AFF",
    "borderStyle": "black",
    "backgroundColor": "#F8F8F8",
    "list": [
      {
        "pagePath": "pages/tab-bar/options-api",
        "text": "选项式 API"
      },
      {
        "pagePath": "pages/tab-bar/composition-api",
        "text": "组合式 API"
      }
    ]
679
  },
DCloud-WZF's avatar
DCloud-WZF 已提交
680 681 682 683 684 685 686 687 688 689
  "globalStyle": {
    "pageOrientation": "portrait",
    "navigationBarTitleText": "Hello UVUE",
    "navigationBarTextStyle": "white",
    "navigationBarBackgroundColor": "#007AFF",
    "backgroundColor": "#F8F8F8",
    "backgroundColorTop": "#F4F5F6",
    "backgroundColorBottom": "#F4F5F6",
    "h5": {
      "maxWidth": 1190,
690 691
      "navigationBarTextStyle": "white",
      "navigationBarBackgroundColor": "#007AFF"
DCloud-WZF's avatar
DCloud-WZF 已提交
692 693 694 695 696 697
    }
  },
  "uniIdRouter": {},
  "condition": {
    //模式配置,仅开发期间生效
    "current": 0, //当前激活的模式(list 的索引项)
698 699 700 701 702 703 704
    "list": [
      {
        "name": "", //模式名称
        "path": "", //启动页面,必选
        "query": "" //启动参数,在页面的onLoad函数里面得到
      }
    ]
DCloud-WZF's avatar
DCloud-WZF 已提交
705
  }
DCloud-WZF's avatar
DCloud-WZF 已提交
706
}