Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover组件无法覆盖组件,需求是刚进入页面出现弹框提示,抽奖次数+n #520

Open
tentwo24 opened this issue Oct 21, 2024 · 0 comments

Comments

@tentwo24
Copy link

  • 你当前是什么框架(必填):uniapp
  • 你使用的是哪个包(必填):lucky-canvas/uni
  • 你当前插件的版本(必填):^0.0.13
  • 当前环境是小程序还是浏览器(选填):uniapp-小程序
  • 详细描述你的bug:根据文档看的想用cover组件覆盖九宫格,好像没用
    image
  • 问题代码(重要):
// 代码开始, 别再放歪了行吗
    <view class="lottery">
      <LuckyGrid width="580rpx" height="580rpx" :blocks="config.blocks" :prizes="config.prizes" ref="myLucky"
                 :buttons="config.buttons" :default-style="config.defaultStyle" :active-style="config.activeStyle"
                 @start="onStart" @end="onEnd" />
      <cover-view class="test">
        <cover-view class="ts">
          纯粹测试
        </cover-view>
      </cover-view>
    </view>
        .test {
          position: absolute;
          top: 50%;
          left: 50%;
        }
        .ts {
          color: #00a3ef;
        }
// 代码结束
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant