详细问题描述
2.4.5版本下nvue下view嵌套image,view设置圆角无效
IDE运行环境说明
HBuilderX 2.4.5 win7
App运行环境说明
模拟器显示正常,vivo x9plus显示异常
附件
<template>
<view class="content">
<view class="image-size image-radius" style="background-color: #F0AD4E;">
<image class="image-size" src="https://gd2.alicdn.com/bao/uploaded/i2/T14H1LFwBcXXXXXXXX_!!0-item_pic.jpg"></image>
</view>
</view>
</template>
<script>
export default {
}
</script>
<style>
.content {
flex: 1;
justify-content: center;
align-items: center;
}
.image-radius {
border-radius: 10rpx;
}
.image-size {
width: 300rpx;
height: 300rpx;
}
</style>
联系方式
[QQ]
0 个回复