diff --git a/pages.json b/pages.json index bf341ff..fae0e40 100644 --- a/pages.json +++ b/pages.json @@ -89,5 +89,15 @@ "backgroundColor": "#F8F8F8", "navigationStyle": "custom" }, - "uniIdRouter": {} + "uniIdRouter": {}, + "condition" : { //模式配置,仅开发期间生效 + "current": 0, //当前激活的模式(list 的索引项) + "list": [ + { + "name": "", //模式名称 + "path": "", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + } + ] + } } \ No newline at end of file diff --git a/pages/index/center.vue b/pages/index/center.vue index 6242ebf..28fcb8c 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -1,7 +1,70 @@