index-status.wxs 182B

12345678910111213
  1. function get(index, active) {
  2. if (index < active) {
  3. return 'finish';
  4. } else if (index === active) {
  5. return 'process';
  6. }
  7. return 'inactive';
  8. }
  9. module.exports = get;