Legal basis:
People's Republic of China (PRC) Civil Code
Article 1085 If a child is directly raised by one party after divorce, the other party shall bear part or all of the alimony. The amount and duration of the expenses shall be agreed upon by both parties; If the agreement fails, the people's court shall make a judgment.
The "alimony" mentioned in Article 1067 includes children's living expenses, education expenses, medical expenses and other expenses.