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>