Losing weight does not affect calcium absorption.
However, if you are growing up, you'd better not go on a diet to lose weight. Growth requires a variety of nutrients, and it is best to do more exercise. If your legs are thick, don't do sports like running. Choose swimming or cycling. Gymnastics is also good.