The invention provides a novel enol non-steroidal compound represented by a formula (I) or a a pharmaceutically acceptable salt, hydrate, solvate, polymorph, enantiomer or racemic mixture thereof, wherein m is 0 or 1; n is an integer from 0 to 6; R1 and R2 are independently hydrogen or C1-C6 alkyl or optionally substituted C1-C6 alkyl, halogen, acylamino, sulfonylamino, acyloxy or C(O)R', and R' is hydrogen, C1-C10 alkyl, C1-C10 alkenyl, C1-C10 alkoxy, aryl C1-C10 alkyl, halogen, acylamino, sulfonylamino or acyloxy; R3 or R4 is independently hydrogen or C1-C6 alkyl or optionally substituted C1-C6 alkyl; R5 or R6 is independently hydrogen, a sodium salt, a potassium salt, a magnesium salt, a calcium salt, an ammonium salt, a meglumine salt, a choline salt, or an amino acid salt. The compound has obvious anti-inflammatory, analgesic and antipyretic effects, and the bioavailability of the compound is obviously higher than that of meloxicam. The invention also provides a preparation methodof the compound, a pharmaceutical composition containing the compound, and pharmaceutical applications of the compound and the pharmaceutical composition.