Sensitive on-line detection of Cu2+ in lubricating oil of marine power plant is important for displaying equipment wear status and fault pre-judgment in real time. However, there are few reports on in-situ, portable and highly sensitive Cu2+ detection devices in organic media before. In this report, CsPbBr3 perovskite quantum dots (PQDs) are employed as fluorescence probe for Cu2+ detection in microfluidic chip. The size effect of the CsPbBr3 QDs on the detection performances is firstly investigated. To obtain preferable sensitivity and detection limit, polymethyl methacrylate opal photonic crystals (PMMA OPCs) film is developed as microfluidic sensor substrate, which can tremendously improve the fluorescence intensity of PQDs as high as 26-fold. The enhancement effect can be attributed to the coupling between photonic crystal stopband effect and the excitation light field. Moreover, the use of photomultiplier module for fluorescence signal measurement enables the detection device to be portable. The novel strategy offers the advantages of higher sensitivity (8.62 μM–1) and lower detection limit (0.40 nM). Otherwise, this sensor also provides wide detection range and good selectivity, thus, it will have potential in oil quality in-situ detection and mechanical wear prediction in the future.