<span v-bind:style="{'display':config.isHaveSearch ? 'block':'none'}" >动态绑定样式</span>
实现元素根据数据状态来显示或隐藏。