聯(lián)系官方銷售客服
1835022288
028-61286886
請問這個判斷應(yīng)該怎么寫啊,就是這個字段等于后面的,就調(diào)用第一個這種
{if $smzt=="在售"} <button class="J_dialog" style="float: right; width: 90px; height: 30px;background-color: #D32F2F; color: #fff; margin-top: -45px; border-radius: 3px;">{$t['smzt']}</button> {else if $smzt=="售罄"} <button class="J_dialog" style="float: right; width: 90px; height: 30px;background-color: #8a8a8a; color: #fff; margin-top: -45px; border-radius: 3px;">{$t['smzt']}</button> {/if}