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