url(${imageUrl})
}">
<!-- 游戏区域 -->
<view class="track-area">
<!-- 音符轨道 -->
<view
v-for="(track, index) in tracks"
key="''+index"
class="track"
class="[''+index,{ 'active': activeKeys.includes(track.key) }]"
style="{ left: track.position }"
><view class="judge_line" @touchstart="onKeyTap" :data-index="index">
</view>
</view>
</view>
<!-- 连击数字显示 -->
<view
v-show="combo > 0"
class="combo-number " class="!isCombo ? 'comboMin':'comboMax'"
style="{
fontSize: 48 + 'rpx',
color: getComboColor(combo)
}"
<text style="margin-right: 50rpx;">perfect</text><text>{{combo}}</text>
</view>
</view>
0 个回复