hwq преди 1 година
родител
ревизия
8498514256
променени са 2 файла, в които са добавени 13 реда и са изтрити 6 реда
  1. 12 5
      pages.json
  2. 1 1
      pages/user/user.vue

+ 12 - 5
pages.json

@@ -1,11 +1,18 @@
 {
 	"pages": [{
-		"path": "pages/user/user",
-		"style": {
-			"navigationStyle": "custom",
-			"navigationBarTitleText": "个人中心"
+			"path": "pages/user/user",
+			"style": {
+				"navigationStyle": "custom",
+				"navigationBarTitleText": "个人中心"
+			}
+		},
+		{
+			"path": "pages/user/dkdetail",
+			"style": {
+				"navigationBarTitleText": "打卡记录"
+			}
 		}
-	}],
+	],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "uni-app",

+ 1 - 1
pages/user/user.vue

@@ -210,7 +210,7 @@
 			...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
 			navTo(item) {
 				if (item.src) {
-					console.log(111);
+					console.log(item.src);
 					uni.navigateTo({
 						url: item.src
 					})