使用说明

image.png

  1. // 进度条组件id
  2. const proId = '#a16528391486078';
  3. // 单位
  4. const unit = '个';
  5. const style = `
  6. <style>
  7. ${proId} .proNum::after {
  8. content: '${unit}';
  9. }
  10. </style>
  11. `;
  12. $(document.head).append(style);