update:优化测距展示
This commit is contained in:
@@ -155,7 +155,6 @@ onBeforeUnmount(() => {
|
||||
</button>
|
||||
<view class="warnning-text">
|
||||
<block v-if="statusText">
|
||||
<text v-if="distance > 0">当前距离{{ distance }}米</text>
|
||||
<text>{{ statusText }}</text>
|
||||
</block>
|
||||
<block v-else>
|
||||
|
||||
@@ -113,7 +113,6 @@ onBeforeUnmount(() => {
|
||||
</button>
|
||||
<view class="warnning-text">
|
||||
<block v-if="statusText">
|
||||
<text v-if="distance > 0">当前距离{{ distance }}米</text>
|
||||
<text>{{ statusText }}</text>
|
||||
</block>
|
||||
<block v-else>
|
||||
|
||||
@@ -150,7 +150,6 @@ onBeforeUnmount(() => {
|
||||
<view class="warnning-text">
|
||||
<view class="target-tip">当前靶纸为<text class="text-yellow">{{ targetType }}cm</text>全环靶</view>
|
||||
<block v-if="statusText">
|
||||
<text v-if="distance > 0">当前距离<text class="text-yellow">{{ distance }}</text>米</text>
|
||||
<text>{{ statusText }}</text>
|
||||
</block>
|
||||
<block v-else>
|
||||
|
||||
Reference in New Issue
Block a user