文字样式修改
This commit is contained in:
@@ -22,8 +22,8 @@ watch(
|
||||
() => tips.value,
|
||||
(newVal) => {
|
||||
let key = "";
|
||||
if (newVal.includes("红队")) key = "请红方射击";
|
||||
if (newVal.includes("蓝队")) key = "请蓝方射击";
|
||||
if (newVal.includes("红队")) key = "请红方射箭";
|
||||
if (newVal.includes("蓝队")) key = "请蓝方射箭";
|
||||
if (key && sound.value) {
|
||||
if (currentRoundEnded.value) {
|
||||
currentRoundEnded.value = false;
|
||||
@@ -56,7 +56,6 @@ async function onReceiveMessage(messages = []) {
|
||||
currentSound.value = msg.target.ring
|
||||
? `${msg.target.ring}环`
|
||||
: "未上靶";
|
||||
console.log(currentSound.value);
|
||||
audioManager.play(currentSound.value);
|
||||
}
|
||||
} else if (msg.constructor === MESSAGETYPES.AllReady) {
|
||||
|
||||
@@ -51,8 +51,8 @@ watch(
|
||||
() => props.tips,
|
||||
(newVal) => {
|
||||
let key = "";
|
||||
if (newVal.includes("红队")) key = "请红方射击";
|
||||
if (newVal.includes("蓝队")) key = "请蓝方射击";
|
||||
if (newVal.includes("红队")) key = "请红方射箭";
|
||||
if (newVal.includes("蓝队")) key = "请蓝方射箭";
|
||||
if (key && sound.value) {
|
||||
if (currentRoundEnded.value) {
|
||||
currentRound.value += 1;
|
||||
|
||||
@@ -63,7 +63,7 @@ onUnmounted(() => {
|
||||
>
|
||||
<view :style="{ display: 'flex', flexDirection: 'column' }">
|
||||
<text :style="{ color: '#fed847' }">请预先射几箭测试</text>
|
||||
<text>请确保射击距离有5米</text>
|
||||
<text>请确保射箭距离有5米</text>
|
||||
</view>
|
||||
</view>
|
||||
</Guide>
|
||||
@@ -83,7 +83,7 @@ onUnmounted(() => {
|
||||
<text v-else>请调整站位</text>
|
||||
</block>
|
||||
<block v-else>
|
||||
<text>大人,请射箭</text>
|
||||
<text>请射箭测试站距</text>
|
||||
</block>
|
||||
</view>
|
||||
<!-- <view class="debug-text">{{ debugInfo }}</view> -->
|
||||
|
||||
@@ -442,6 +442,7 @@ const checkBowData = () => {
|
||||
.player-crown {
|
||||
position: relative;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
margin: 0 15px;
|
||||
}
|
||||
.view-crown {
|
||||
|
||||
@@ -45,7 +45,7 @@ const onScrollView = (e) => {
|
||||
addBg.value = e.detail.scrollTop > 100;
|
||||
};
|
||||
|
||||
const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
|
||||
const subTitles = ["排位赛积分", "MVP次数", "十环次数"];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -279,6 +279,7 @@ const subTitles = ["排位赛积分", "本周MVP次数", "本周十环次数"];
|
||||
.player-crown {
|
||||
position: relative;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
margin: 0 15px;
|
||||
}
|
||||
.view-crown {
|
||||
|
||||
Reference in New Issue
Block a user