首页 > 技术文章 > 小程序动态class与动态style的写法:
liuyjui 2020-03-27 13:21 原文
style = "opacity :{{num}}" class = "vp {{opacity == 0 ? 'opacity1':''}}"