美文网首页weex-eros
Weex中写一个布满全屏的遮罩层

Weex中写一个布满全屏的遮罩层

作者: Echo_前端 | 来源:发表于2018-05-29 17:41 被阅读0次

export default {

props: {

rgba: {

type: [String, Number],

default: '0.5'

}

},

computed: {

newRgba () {

return this.rgba+ '';

}

},

methods: {

_click () {

this.$emit('click');

}

}

}

.bui-mask{

position: fixed;

left: 0px;

right: 0px;

top: 0px;

bottom: 0px;

background-color:rgba(0,0,0,0.2);

}

相关文章

网友评论

    本文标题:Weex中写一个布满全屏的遮罩层

    本文链接:https://www.haomeiwen.com/subject/sgjajftx.html