We studied pairing symmetry of YBa2Cu3O7-8 high-temperature superconductor using a generic Ginzburg-Landau model. The phase transition between the mixed s-dx2-y2 state and dx2-y2 wave was shown. The vortex lattice of a YBa2 Cu3 O7 superconductor is oblique at the temperature well below the transition temperature Tc, where the mixed s-dx2-y2 state is expected to have the lowest energy. Whereas, very close to Tc, the dx2-y2 wave is slightly lower in energy, and a triangular vortex lattice recovers. The coexistence and the coupling between the s-and d-waves would account for the unusual behaviours such as the upward curvature of the upper critical field curve Hc2 (T).