weex icon indicating copy to clipboard operation
weex copied to clipboard

absolute 在安卓手机上导致整个元素不被渲染

Open Mrluobo opened this issue 10 years ago • 1 comments

代码如下:

<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 中 正常渲染,在安卓手机中白屏什么都没有

Mrluobo avatar May 27 '16 09:05 Mrluobo

done,验证没有问题。

zshshr avatar Nov 23 '16 02:11 zshshr