Introducing bifunctional metal-organic frameworks to the construction of a novel ratiometric fluorescence sensor for screening acid phosphatase activity.