Huh? Let me illustrate it with a picture?
Judging by the description, yours is probably not like the one in the picture above
Maybe that yours looks like
Is it a lithium battery? It can only be charged with a USB cable
Don't you have this kind of battery box?
Lithium battery It is usually placed in a semi-sealed stainless steel box. Of course, it must be well insulated and waterproof. Semi-sealed means it cannot be sealed. The battery also has to dissipate heat, unless you like submerging half the car in water. If you ride in a swimming pool, it is necessary to make it completely waterproof. If it's just for normal protection from rain or dust, make one. Fully welded stainless steel box, and the lid can be fixed normally. There's no need for glue or anythingit. Insulating and sealing the box will be enough. My battery is packaged normally, and the charger is used normally. You wouldn't want to fit the charger into the box. The charger generates a lot of heat when operating. Just use it outdoors. I kept the box in the car for six months and took it out to manually balance the battery. There was no dust at all, it was very clean and there was no water, it was pretty good.