weex
weex copied to clipboard
absolute 在安卓手机上导致整个元素不被渲染
代码如下:
<style>
.wrapper {
background-color: transparent;
position:absolute;
top:0px;
height:300px;
background-color: red;
width:100px;
}
.name {
font-size: 40;
color: #353535;
}
</style>
<template>
<container >
<container class="wrapper">
<text class="name" spmd="d1" href="https://www.tmall.com" class="title" onclick="openUrl">testtest</text>
</container>
</container>
</template>
<script>
module.exports = {
data: {
data: {}
}
}
</script>
在IOS 中 正常渲染,在安卓手机中白屏什么都没有
done,验证没有问题。