<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
})
}