1.style
1> 动态绑定背景图片
<view style="background: url( {{ good.coverUrl }} ) no-repeat;"></view>
2>三元判定
<view style="color: {{type == 1 ? '#000000' : '#ffffff'}};"></view>
2.class
1>三元判定
<view class="{{is_checked === 0 ? 'is_checked' : ''}}"></view>