<view wx:if="{{isChose == 1}}" class="fullbg {{isfull ? 'fullopacity' : ''}}" bindtap="hidebg"></view>
.fullbg {
    position: fixed;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(1, 1, 1);
    transition: all 2s;
    opacity: 0;
}
.fullopacity {
    opacity: .5;
}
    hidebg:function () {
        this.setData({
            isChose:'0',
            isfull:false,
            rightOpen:false
        })  
    } 

相关文章:

  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2021-05-28
  • 2021-11-30
猜你喜欢
  • 2021-12-26
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
相关资源
相似解决方案