部分ios的内联样式不显示,因为要动态改变样式,怎么解决?

发布于 7 年前作者 panjie10978 次浏览最后编辑 7 年前来自 ask

<text style=‘background:{{item.head_style.titleBgColor}}’>文字</text>

1 回复
lilai
lilai1 楼5 年前

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。