因为有些效果需要用到全屏的camera,但是camera会遮住按钮,所以把按钮放在cover-view中,模拟器上能显示按钮,但是无法触发
onShareAppMessage事件。cover-view没法设置open-type="share",
<camera device-position="back" flash="off" binderror="error" style="width: 100%; height: {{height}}px">
<cover-view wx-if='{{show}}' class="controls">
<cover-view class="play">
<cover-image class="img" src="../../image/xian.jpg" />
<cover-view open-type='share'>分享</cover-view>
<!-- <button open-type='share'>分享</button> -->
</cover-view>
</cover-view>
</camera>
求大神帮忙解答
请问你解决了吗?
同求,也是这个问题。