k***@139.com
k***@139.com
  • 发布:2019-12-30 15:54
  • 更新:2020-06-01 15:56
  • 阅读:1191

nvue视频层级问题

分类:nvue
<cover-view class="cover-view-bottom" @click.stop="tapMsg">  
    <text class="bottom-text">说点什么...</text>  
</cover-view>  

tapMsg(event){  
    event.stopPropagation();  
    if(this.distanceX!=0) return  
    this.showComment = true;  
    // uni.showToast({  
    //  icon:'none',  
    //  title:`查看索引为${this.index}的评论`  
    // })  
},  

.cover-view-bottom{  
        position: absolute;  
        bottom: 80upx;  
        width: 710upx;  
        margin: 0 20upx;  
        height: 80upx;  
        background-color: rgba(255,255,255,0.5);  
        border-radius: 50upx;  
        opacity: 0.5;  
        z-index: 9999;  
}

下面这个按钮点击没有反应 但是设置为 position: fixed; 可以点击 但是固定到手机底部了 与设计初衷不合
弄了几天了 希望得到解决方法 谢谢

2019-12-30 15:54 负责人:无 分享
已邀请:
qiuqiu

qiuqiu

老哥解决了吗 同样的问题

该问题目前已经被锁定, 无法添加新回复