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

ui-popover网页端和微信小程序端表现不一致 #51

Open
hdtopku opened this issue May 8, 2022 · 3 comments
Open

ui-popover网页端和微信小程序端表现不一致 #51

hdtopku opened this issue May 8, 2022 · 3 comments

Comments

@hdtopku
Copy link

hdtopku commented May 8, 2022

代码如下,用的是uniapp,网页端正常,小程序端不正常

<template>
  <view style="width: 100vw;height: 100vh;background-color: pink;">
    <view class="text-center pb-3 pt-4">
      <ui-popover>
        <button class="ui-btn">点击</button>
        <view slot="content" class="text-red">
          自定义内容
        </view>
      </ui-popover>
    </view>
  </view>
</template>

网页端
image

微信小程序端
image

@hdtopku
Copy link
Author

hdtopku commented May 8, 2022

其他示例也一样

<template>
  <view style="padding-top: 20upx;">
    <view class="flex-between p-3 radius bg-blue;margin-top: 300upx;" @longpress="isShow = true">
      长按蓝色区域
      <ui-popover tips="气泡框在这里出现哦" :show.sync="isShow" isChange>
        <button class="ui-btn" bg="bg-white">
          目标
        </button>
      </ui-popover>
      <button class="ui-btn ui-BG-Main" @click="isShow = true">点击</button>
    </view>
  </view>
</template>
<script>
  export default {
    data() {
      return {
        isShow: false
      }
    }
  }
</script>

image

image

@mouxangithub
Copy link
Collaborator

小程序关掉v2的样式试试

@hdtopku
Copy link
Author

hdtopku commented Oct 14, 2022 via email

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

2 participants