jquery 如何在js中间加入css?

  if (vmi.foretellnum > 1) {
          $('.yugao').css({  (vmi.foretellnum * 15) + 'rem' })
            } else if (vmi.foretellnum == 1) {
          $('.yugao').css({  100 + '%' })
  }
原文地址:https://www.cnblogs.com/antyhouse/p/8504892.html