Browse Source

地图页面

tanxue 7 months ago
parent
commit
a32d0b0126
2 changed files with 15 additions and 2 deletions
  1. 12 2
      pages.json
  2. 3 0
      pages/study/index.vue

+ 12 - 2
pages.json

@@ -7,7 +7,7 @@
 			}
 		},
 		{
-			"path": "pages/index/index",
+			"path": "pages/study/index",
 			"style": {
 				"navigationBarTitleText": "首页"
 			}
@@ -109,5 +109,15 @@
 		} */
 	},
 
-	"uniIdRouter": {}
+	"uniIdRouter": {},
+	"condition" : { //模式配置,仅开发期间生效
+		"current": 0, //当前激活的模式(list 的索引项)
+		"list": [
+			{
+				"name": "login", //模式名称
+				"path": "pages/login", //启动页面,必选
+				"query": "" //启动参数,在页面的onLoad函数里面得到
+			}
+		]
+	}
 }

+ 3 - 0
pages/study/index.vue

@@ -18,6 +18,9 @@
 				<button type="default">我的</button>
 			</navigator>
 		</view>
+		
+		<!-- 蛋 -->
+		<view class="ezy-popup" >蛋</view>
 	</view>
 </template>