getboundingclientrect使用方法及兼容性处理