还是记录一下吧(๑•ᴗ•๑)

          <li
            :style="{backgroundImage:`url(${item.pic})`}"
                    @click="chooseVip(index)"
                    v-for="(item,index) of dataListList" 
            :key="index"
                    :class="{ 'selectedLi': chooseIndex==index }">
                    <div :class="['liPrice','noWrapEllipsis',{'fontColorWhite':chooseIndex==index}]">{{item.salePrice}}<span></span></div>
                </li>

 

:style="{backgroundImage:`url(${item.pic})`}"

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-10-11
  • 2022-02-21
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-11-29
  • 2022-12-23
  • 2022-02-23
相关资源
相似解决方案