绑定样式
2020-07-19 本文已影响0人
回忆不死我们不散
<view style="color:{{color}};" />
<button class="operBtn {{select==1?'activeClass':''}}" bindtap='selectBtn' data-num="1" >选项1</button>
<view style="color:{{color}};" />
<button class="operBtn {{select==1?'activeClass':''}}" bindtap='selectBtn' data-num="1" >选项1</button>