heroMan
heroMan
  • 发布:2024-06-25 14:14
  • 更新:2024-07-07 20:31
  • 阅读:202

uni-app x image组件设置顶部边框border-top,但实际效果是上下左右都出现了边框

分类:uni-app x

代码如下,
<image class="logo-image" src="../../static/logo.png" style="width: 150px; height: 75px; border-top: 0.5px solid rgba(0, 0, 0, 0.25);"></image>
我只想要顶部有边框,但是实际效果是上下左右都出现了边框。
而且如果只设置其它方向 border-left、 border-right、 border-bottom,设置无效 没有边框。

2024-06-25 14:14 负责人:DCloud_iOS_LZY 分享
已邀请:
DCloud_heavensoft

DCloud_heavensoft

你用的是哪个版本的HBuilderX?建议在帮助菜单里报bug,提供详细信息。

  • heroMan (作者)

    HBuilderX 4.15,稍后我试试4.23 alpha版本,如果还有问题的话报bug

    2024-07-08 11:24

要回复问题请先登录注册