判断item.lx如果是待处理background:‘#ec724d’,如果是已完结background:‘#0dc93’,否则background:‘#c4131b’,
<view class="event_list_content_item_title_badge"
:style="{'background':(item.lx==='待处理'?'#EC724D':(item.lx==='已完结'?'#0DC293':'#C4131B'))}">
{{item.lx}}</view>
判断item.lx如果是待处理background:‘#ec724d’,如果是已完结background:‘#0dc93’,否则background:‘#c4131b’,
<view class="event_list_content_item_title_badge"
:style="{'background':(item.lx==='待处理'?'#EC724D':(item.lx==='已完结'?'#0DC293':'#C4131B'))}">
{{item.lx}}</view>