Please go and speak to your council. They try to keep people in their homes whenever possible and if it's not the sooner you speak to them it means they can get things in place. Are you signed off sick with mental health or something else? If you have a diagnosis this will mean you should be classed as "vulnerable" so they will have a duty to house you.
You are not the resident parent but you are still her parent. You have two years of being the weekend parent ahead of you, yes, but you get to choose how active a part you play in that. I would recommend you try and get some counselling and whatever other support you can. Try to find a way to set aside your feelings and make that time as special as you can. Even if the moment your alone you can do nothing but cry, try and show her your best face.
Try writing it all down. Maybe write a letter for her for when she's older explaining your feelings (you can decide later whether you want to give it to her or not).
Keep the door open and your heart open to her always, even if she starts repeating the things he's said. Try not to sling any mud at him, though, because she doesn't need to be stuck in the middle.
Try and find a way to get through the time without her. Use this time to recover and get strong again. Take meds if you need to, find support groups, reach out to the world (don't shut yourself away). But be gentle with yourself too, it's ok to rest, it's ok to have moments of happiness, you don't have to be relentlessly fighting and in every family law office to prove you love her. Do what you can, but you need to live too.
There will be times you are so heartbroken you don't think you can get through a day without seeing her, but then you'll have contact time again. Even if he drops her late, and has told her your the devil, you'll get to see your child and have that time.
I know it's a cliche, but when you are at rock bottom the only way is up. It won't be easy, but you can get your life back together again. He has broken you now, but you can put yourself and your life back together again.