diff --git a/src/api/xinjiang_guess.js b/src/api/xinjiang_guess.js
index 6715f4f..ea90b1c 100644
--- a/src/api/xinjiang_guess.js
+++ b/src/api/xinjiang_guess.js
@@ -150,4 +150,8 @@ export const submitUploadAvatar = (params, config = {}) => {
// 用户-更新个人资料
export const submitUploadUserInfo = (params, config = {}) => {
return http.post(`/api/miniprogram/user/update-info`, params, { ...config });
+}
+// 最新竞猜记录
+export const getLatestGameLogs = () => {
+ return http.get(`/api/miniprogram/latest-game-logs`);
}
\ No newline at end of file
diff --git a/src/components/quiz/item-new.vue b/src/components/quiz/item-new.vue
new file mode 100644
index 0000000..86e240a
--- /dev/null
+++ b/src/components/quiz/item-new.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+ {{ data.nick_name }}
+ {{ data.history }}
+
+
+
+ 猜
+
+ {{ data.game_home_field }} VS {{ data.game_away }}
+
+ {{ data.score }}
+
+ {{ currentStatus.label }}
+
+
+
+
+
+
+
diff --git a/src/pages/quiz/components/item.vue b/src/components/quiz/item.vue
similarity index 100%
rename from src/pages/quiz/components/item.vue
rename to src/components/quiz/item.vue
diff --git a/src/pages.json b/src/pages.json
index 932b998..34d73e5 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -43,6 +43,11 @@
"style": {
"navigationBarTitleText": ""
}
+ },{
+ "path":"pages/quiz/logs",
+ "style": {
+ "navigationBarTitleText": "活动详情"
+ }
}
],
"subPackages": [
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index ffda6c4..bd2bfc6 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -9,7 +9,7 @@
-
+
@@ -75,6 +75,17 @@
+
+
+
+ 最新竞猜
+
+
+
+
+
+
+
@@ -203,9 +214,10 @@