feat : 视频提示遮罩的显示.复用之前判断逻辑
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user