Commit 3b1498ac authored by 袁玲利's avatar 袁玲利

游戏排行榜

parent 25621ee2
...@@ -26,77 +26,77 @@ export default { ...@@ -26,77 +26,77 @@ export default {
name: "抓大鹅", name: "抓大鹅",
score: "休闲", score: "休闲",
description: "亲子互动消除解压小游戏", description: "亲子互动消除解压小游戏",
appId: "wxb98ac240fd74b0e3" appId: "wxb98ac240fd74b0e3",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game3.jpg", icon: this.$ImgUrl + "gameOrder/game3.jpg",
name: "疯狂来解压", name: "疯狂来解压",
score: "休闲", score: "休闲",
description: "趣味消除、无限解压", description: "趣味消除、无限解压",
appId: "wx770a673256c31705" appId: "wx770a673256c31705",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game4.jpg", icon: this.$ImgUrl + "gameOrder/game4.jpg",
name: "密室消除2", name: "密室消除2",
score: "休闲", score: "休闲",
description: "拯救国外的石头小游戏,你能过第一关嘛?", description: "拯救国外的石头小游戏,你能过第一关嘛?",
appId: "wxafec673b78d986f9" appId: "wxafec673b78d986f9",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game5.jpg", icon: this.$ImgUrl + "gameOrder/game5.jpg",
name: "火锅大冒险", name: "火锅大冒险",
score: "休闲", score: "休闲",
description: "你的省份排第几?", description: "你的省份排第几?",
appId: "wx9a0ef2cb66dddd50" appId: "wx9a0ef2cb66dddd50",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game6.jpg", icon: this.$ImgUrl + "gameOrder/game6.jpg",
name: "无敌螺丝王", name: "无敌螺丝王",
score: "休闲", score: "休闲",
description: "3D打螺丝,无限解压", description: "3D打螺丝,无限解压",
appId: "wxdfa24cfef28c57cf" appId: "wxdfa24cfef28c57cf",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game7.jpg", icon: this.$ImgUrl + "gameOrder/game7.jpg",
name: "中华生僻字", name: "中华生僻字",
score: "休闲", score: "休闲",
description: "田园风格模拟经营,学习中华博大文化", description: "田园风格模拟经营,学习中华博大文化",
appId: "wxcf1730aea6500563" appId: "wxcf1730aea6500563",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game8.jpg", icon: this.$ImgUrl + "gameOrder/game8.jpg",
name: "文字乐翻天", name: "文字乐翻天",
score: "答题", score: "答题",
description: "超烧脑的文字小游戏,你能到第几关?", description: "超烧脑的文字小游戏,你能到第几关?",
appId: "wx5336ae5c763a6d83" appId: "wx5336ae5c763a6d83",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game9.jpg", icon: this.$ImgUrl + "gameOrder/game9.jpg",
name: "文字消除", name: "文字消除",
score: "答题", score: "答题",
description: "谁能过第二关,我就服谁", description: "谁能过第二关,我就服谁",
appId: "wx276928b49e0d36e2" appId: "wx276928b49e0d36e2",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game10.jpg", icon: this.$ImgUrl + "gameOrder/game10.jpg",
name: "诗词趣消消", name: "诗词趣消消",
score: "答题", score: "答题",
description: "中华古典诗词|最有意境的诗词|句句封神|", description: "中华古典诗词|最有意境的诗词|句句封神|",
appId: "wxc6b14dede0a6275e" appId: "wxc6b14dede0a6275e",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game11.jpg", icon: this.$ImgUrl + "gameOrder/game11.jpg",
name: "文字大闯关", name: "文字大闯关",
score: "答题", score: "答题",
description: "传承中华文脉,探求文字奥秘", description: "传承中华文脉,探求文字奥秘",
appId: "wxe70c92771b735f1b" appId: "wxe70c92771b735f1b",
}, },
{ {
icon: this.$ImgUrl + "gameOrder/game12.jpg", icon: this.$ImgUrl + "gameOrder/game12.jpg",
name: "七彩拼图", name: "七彩拼图",
score: "拼图", score: "拼图",
description: "奇思妙想的拼图世界", description: "奇思妙想的拼图世界",
appId: "wxb5612f7e17786c46" appId: "wxb5612f7e17786c46",
}, },
], ],
}; };
...@@ -106,8 +106,11 @@ export default { ...@@ -106,8 +106,11 @@ export default {
}, },
methods: { methods: {
launchGame(game) { launchGame(game) {
uni.navigateToMiniProgram({ // uni.navigateToMiniProgram({
appId: game.appId, // appId: game.appId,
// });
jWeixin.miniProgram.navigateTo({
url: "/pages_subpackB/pages/game/main?appId=" + game.appId,
}); });
// 这里可以添加游戏启动逻辑,比如跳转到游戏页面,或打开游戏等 // 这里可以添加游戏启动逻辑,比如跳转到游戏页面,或打开游戏等
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment