code: function fnTransition (dom, num) {
      if (dom.transNum != num) {
        dom.transNum = num
        dom.style.transition = 'all ' + num + 'ms'
        dom.style.webkitTransition = 'all ' + num + 'ms'
      }
    }
docs: 基础配置信息，配置不同状态的显示情况 css过渡