Questions & Answers about Tā yí xiàkè jiù gēn tóngxué yìqǐ shàngwǎng.
In this sentence, 一 is not the number “one”. It is part of the fixed pattern:
一 + event 1 + 就 + event 2
This pattern means “as soon as … then …” or “no sooner … than …”.
So 一下课就 means:
- 一 (yí) – “as soon as”
- 下课 – finish class
- 就 – then / immediately
Together: 她一下课就… = “As soon as she finishes class, she …”
Here are a couple more examples of the same pattern:
我一到家就给你打电话。
As soon as I get home, I’ll call you.他一看到狗就很高兴。
As soon as he sees a dog, he’s very happy.
So think of 一…就… as a grammar pattern, not as the number “one” here.