<view class='fake-select-item-text brand-selected' wx:if='{{selectedBrandName}}'>
            {{selectedBrandName}}
          </view>
          <view wx:else class='fake-select-item-text'>品牌</view>
             

先判断选择的值存不存在,存在的话就上面的,不然就用下面的

posted on 2018-11-14 11:14  周小姐你好  阅读(131)  评论(0编辑  收藏  举报