Legal basis: Civil Code of People's Republic of China (PRC).
Article 1084 The relationship between parents and children shall not be destroyed by the divorce of parents. After the divorce, the child is still the child of both parents, whether or not the parents directly raise him. After divorce, parents still have the right and obligation to raise, educate and protect their children. After divorce, children under two years old are directly raised by their mothers. For a child who has reached the age of two, if both parents fail to reach an agreement on the issue of support, the people's court shall make a judgment based on the specific circumstances of both parties and the principle of being most beneficial to the minor children. Children over the age of eight should respect their true wishes.
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 agreement or judgment stipulated in the preceding paragraph shall not prevent the children from making reasonable demands to either parent over the original agreement or judgment when necessary.
Article 1086 After divorce, the spouse who does not directly raise the children has the right to visit the children, and the other spouse has the obligation to help. The way and time of exercising the visiting right shall be agreed by the parties; If the agreement fails, the people's court shall make a judgment. If parents visit their children, which is not conducive to their physical and mental health, the people's court shall suspend the visit according to law; After the reasons for suspension disappear, the visit should be resumed.