You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/02/20 09:17:55 UTC
[GitHub] DalinChang opened a new issue #2144: [Android][0.20.0] 组件与组件间出现空隙,导致出现类似分割线效果,颜色为父容器背景颜色
DalinChang opened a new issue #2144: [Android][0.20.0] 组件与组件间出现空隙,导致出现类似分割线效果,颜色为父容器背景颜色
URL: https://github.com/apache/incubator-weex/issues/2144
>视图效果如下

>测试代码如下
```
<template>
<div class="wrapper">
<div class="parent">
<div class="div" v-for="(item,index) in 5" :key="index" >
<text class="text">测试{{index}}</text>
</div>
</div>
</div>
</template>
<style scoped>
.wrapper{
background-color: Grey;
flex-direction: column;
}
.parent{
position: absolute;
left: 0;
right: 0;
top:100px;
bottom:0;
background-color: blue;
}
.div{
background-color: #FFFFFF;
height:90px;
width:750px;
align-items: center;
justify-content: center;
flex-direction: column;
}
.text{
font-size: 26px;
color: #666666;
}
</style>
```
>引入的weex版本
`implementation 'com.taobao.android:weex_sdk:0.20.0.2'`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services