diff --git a/src/App.vue b/src/App.vue
index 3a3e8d3..978d505 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -232,4 +232,13 @@ button::after {
width: 15px;
margin-top: 2px;
}
+
+@font-face {
+ font-family: "DINCondensed";
+ src: url("https://static.shelingxingqiu.com/font/DIN-Condensed-Bold-2.ttf")
+ format("truetype");
+ font-weight: 700;
+ font-style: normal;
+ font-display: swap;
+}
diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue
index c9e10e9..e14430b 100644
--- a/src/components/BowTarget.vue
+++ b/src/components/BowTarget.vue
@@ -129,7 +129,7 @@ async function onReceiveMessage(messages = []) {
setTimeout(() => {
if (props.scores[0]) {
circleColor.value =
- msg.userId === props.scores[0].playerId ? "#ff4444" : "blue";
+ msg.userId === props.scores[0].playerId ? "#ff4444" : "#1840FF";
}
angle.value = msg.target.angle;
}, 200);
@@ -223,13 +223,7 @@ onBeforeUnmount(() => {
:style="{
left: calcRealX(bow.x),
top: calcRealY(bow.y),
- backgroundColor:
- index === scores.length - 1 &&
- !blueScores.length &&
- latestOne &&
- mode !== 'team'
- ? 'green'
- : '#ff4444',
+ backgroundColor: mode === 'solo' ? '#00bf04' : '#FF0000',
}"
>{{ index + 1 }}
@@ -243,7 +237,7 @@ onBeforeUnmount(() => {
:style="{
left: calcRealX(bow.x),
top: calcRealY(bow.y),
- backgroundColor: 'blue',
+ backgroundColor: '#1840FF',
}"
>
{{ index + 1 }}
@@ -320,21 +314,22 @@ onBeforeUnmount(() => {
border: 1px solid #fff;
z-index: 1;
color: #fff;
- font-size: 2.1vw;
box-sizing: border-box;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
display: flex;
justify-content: center;
align-items: center;
- /* transform: translate(-50%, -50%); */
}
.hit > text {
- transform: scaleX(0.7);
+ font-size: 16rpx;
+ font-family: "DINCondensed", "PingFang SC", "Helvetica Neue", Arial,
+ sans-serif;
+ line-height: 10px;
display: block;
- font-weight: bold;
width: 100%;
text-align: center;
line-height: 22rpx;
+ margin-top: 2px;
}
.header {
width: 100%;
diff --git a/src/components/BowTargetEdit.vue b/src/components/BowTargetEdit.vue
index 59b7f08..598c18f 100644
--- a/src/components/BowTargetEdit.vue
+++ b/src/components/BowTargetEdit.vue
@@ -295,20 +295,23 @@ onMounted(async () => {
text-align: center;
line-height: 10px;
box-sizing: border-box;
- background-color: #ff4444;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
+ background-color: #00bf04;
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
transition: all 0.1s linear;
position: relative;
}
.point > text {
display: block;
- font-size: 12rpx;
+ font-size: 16rpx;
line-height: 10px;
position: absolute;
top: 50%;
left: 50%;
- transform: translate(-50%, -50%) scaleX(0.7);
+ font-family: "DINCondensed", "PingFang SC", "Helvetica Neue", Arial,
+ sans-serif;
+ transform: translate(-50%, -50%);
+ margin-top: 1px;
}
.edit-buttons {