feat : 视频提示遮罩的显示.复用之前判断逻辑

This commit is contained in:
2025-11-20 15:35:48 +08:00
parent 6b20c045a9
commit fc2d0f90ec
3 changed files with 23 additions and 1369 deletions

View File

@@ -1,12 +1,6 @@
<template>
<view class="container">
<!-- 用于承载 PIXI Canvas -->
<!-- #ifdef H5 -->
<view id="matchCanvas" class="match-canvas" @click="handleCanvasClick"></view>
<!-- #endif -->
<!-- #ifndef H5 -->
<canvas type="webgl" id="matchCanvas" canvas-id="matchCanvas" class="match-canvas" />
<!-- #endif -->
</view>
</template>
@@ -390,6 +384,6 @@ onUnmounted(() => {
}
.match-canvas {
width: 100%;
height: 350rpx; /* 可根据需求调整高度 */
height: 400rpx; /* 可根据需求调整高度 */
}
</style>