diff --git a/src/apis.js b/src/apis.js
index de33e27..72683f1 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -6,7 +6,8 @@ try {
switch (envVersion) {
case "develop": // 开发版
- BASE_URL = "http://192.168.1.242:8000/api/shoot";
+ // BASE_URL = "http://192.168.1.242:8000/api/shoot";
+ BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
break;
case "trial": // 体验版
BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
diff --git a/src/pages/battle-result.vue b/src/pages/battle-result.vue
index 482d0a0..de05b16 100644
--- a/src/pages/battle-result.vue
+++ b/src/pages/battle-result.vue
@@ -146,7 +146,7 @@ const checkBowData = () => {
>自己
- {{ player.name }}
+ {{ player.name }}
@@ -509,7 +509,7 @@ const checkBowData = () => {
.header-mvp > view > view:first-child > text {
color: #fff;
font-size: 14px;
- transform: translateY(-4px) skewY(-6deg);
+ transform: translateY(-4px) rotate(-5deg);
}
.header-mvp > view > view:last-child {
display: flex;
@@ -517,7 +517,7 @@ const checkBowData = () => {
color: #fff;
font-size: 8px;
text-align: center;
- transform: translateY(-16px) skewY(-6deg);
+ transform: translateY(-16px) rotate(-5deg);
min-width: 40%;
}
.header-mvp > view > view:last-child > view {
@@ -527,5 +527,6 @@ const checkBowData = () => {
}
.header-mvp > view > view:last-child > view > text {
margin-top: 4px;
+ width: 40px;
}
diff --git a/src/pages/match-detail.vue b/src/pages/match-detail.vue
index a5a7ab7..c39566a 100644
--- a/src/pages/match-detail.vue
+++ b/src/pages/match-detail.vue
@@ -205,7 +205,7 @@ const checkBowData = () => {
{
+ players.value.push(p);
+ if (
+ Object.values(result.redPlayers) &&
+ Object.values(result.redPlayers)[index]
+ ) {
+ players.value.push(Object.values(result.redPlayers)[index]);
+ }
+ });
if (result.goldenRound) tabs.value.push("决金箭");
Object.keys(result.roundsData).forEach((key) => {
tabs.value.push(`第${roundsName[key]}轮`);
diff --git a/src/websocket.js b/src/websocket.js
index 7412cd3..fad2da5 100644
--- a/src/websocket.js
+++ b/src/websocket.js
@@ -14,7 +14,8 @@ function createWebSocket(token, onMessage) {
switch (envVersion) {
case "develop": // 开发版
- url = "ws://192.168.1.242:8000/socket";
+ // url = "ws://192.168.1.242:8000/socket";
+ url = "wss://apitest.shelingxingqiu.com/socket";
break;
case "trial": // 体验版
url = "wss://apitest.shelingxingqiu.com/socket";