1v1比赛结果页UI更新

This commit is contained in:
kron
2025-08-01 15:25:51 +08:00
parent d7306db2dd
commit 18ac484844
11 changed files with 154 additions and 45 deletions

View File

@@ -101,16 +101,22 @@ export const getBattleResultTips = (
if (mode === 1) {
if (win) {
const tests = [
"你是朋友中的佼佼者哟!",
"你成功击败好友,成为大赢家!",
"你将好友“一举拿下”,超神无疑!",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq1fglywucyoh9zn.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq1fgls1trzqneeh.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq1fgm4fmv0tqico.png",
// "你是朋友中的佼佼者哟!",
// "你成功击败好友,成为大赢家!",
// "你将好友“一举拿下”,超神无疑!",
];
return tests[getRandomIndex(3)];
} else {
const tests = [
"失误啦失误啦,再多来几局吧~",
"惜败好友,下次再战定能反超!",
"友谊第一,下场胜利属于你!",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq0gmb12vjkonvzm.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq0gmo5gpiecqqgu.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq0gmtk8hjwqoecz.png",
// "失误啦失误啦,再多来几局吧~",
// "惜败好友,下次再战定能反超!",
// "友谊第一,下场胜利属于你!",
];
return tests[getRandomIndex(3)];
}
@@ -129,16 +135,22 @@ export const getBattleResultTips = (
if (mode === 1) {
if (win) {
const tests = [
"你已经奔跑在通向王者的路上了!",
"射灵星球最闪耀的前进者!",
"赞!你真是越战越勇",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq1fgtb29jbdus4g.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq1fgtbu8fzpbh3z.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq1fgtbu8fzpbh3z.png",
// "你已经奔跑在通向王者的路上了!",
// "射灵星球最闪耀的前进者!",
// "赞!你真是越战越勇",
];
return tests[getRandomIndex(3)];
} else {
const tests = [
"失败是成功之母,儿子在等你!",
"人生得意须尽欢,不过此关心不甘!",
"这回一定是打开方式不对。再来!",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq0gmovnd33hz5yj.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq0gmtu558juplj9.png",
"https://api.shelingxingqiu.com/attachment/2025-08-01/dbqq0gmuhb5aofghg4.png",
// "失败是成功之母,儿子在等你!",
// "人生得意须尽欢,不过此关心不甘!",
// "这回一定是打开方式不对。再来!",
];
return tests[getRandomIndex(3)];
}