|
2 | 2 | "easycom": {
|
3 | 3 | "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
|
4 | 4 | },
|
5 |
| - // "condition": { //模式配置,仅开发期间生效 |
6 |
| - // "current": 0, //当前激活的模式(list 的索引项) |
7 |
| - // "list": [{ |
8 |
| - // "name": "test", //模式名称 |
9 |
| - // "path": "pages/componentsB/table/index", //启动页面,必选 |
10 |
| - // "query": "id=1&name=2" //启动参数,在页面的onLoad函数里面得到 |
11 |
| - // }] |
12 |
| - // }, |
| 5 | + "condition": { //模式配置,仅开发期间生效 |
| 6 | + "current": 0, //当前激活的模式(list 的索引项) |
| 7 | + "list": [{ |
| 8 | + "name": "test", //模式名称 |
| 9 | + "path": "pages/componentsA/avatar/index", //启动页面,必选 |
| 10 | + "query": "id=1&name=2" //启动参数,在页面的onLoad函数里面得到 |
| 11 | + }] |
| 12 | + }, |
13 | 13 | "pages": [
|
14 | 14 | // 演示-组件
|
15 | 15 | {
|
|
828 | 828 | "backgroundColor": "#FFFFFF",
|
829 | 829 | "borderStyle": "black",
|
830 | 830 | "list": [{
|
831 |
| - "pagePath": "pages/example/components", |
832 |
| - "iconPath": "static/uview/example/component.png", |
833 |
| - "selectedIconPath": "static/uview/example/component_select.png", |
834 |
| - "text": "组件" |
| 831 | + "pagePath": "pages/example/components" |
| 832 | + // "iconPath": "static/uview/example/component.png", |
| 833 | + // "selectedIconPath": "static/uview/example/component_select.png", |
| 834 | + // "text": "组件" |
835 | 835 | },
|
836 | 836 | {
|
837 |
| - "pagePath": "pages/example/js", |
838 |
| - "iconPath": "static/uview/example/js.png", |
839 |
| - "selectedIconPath": "static/uview/example/js_select.png", |
840 |
| - "text": "工具" |
| 837 | + "pagePath": "pages/example/js" |
| 838 | + // "iconPath": "static/uview/example/js.png", |
| 839 | + // "selectedIconPath": "static/uview/example/js_select.png", |
| 840 | + // "text": "工具" |
841 | 841 | },
|
842 | 842 | {
|
843 |
| - "pagePath": "pages/example/template", |
844 |
| - "iconPath": "static/uview/example/template.png", |
845 |
| - "selectedIconPath": "static/uview/example/template_select.png", |
846 |
| - "text": "模板" |
| 843 | + "pagePath": "pages/example/template" |
| 844 | + // "iconPath": "static/uview/example/template.png", |
| 845 | + // "selectedIconPath": "static/uview/example/template_select.png", |
| 846 | + // "text": "模板" |
847 | 847 | }
|
848 | 848 | ]
|
849 | 849 | }
|
|
0 commit comments