The research on in-line phase-contrast imaging with laser-based hard X-ray source was carried out on Shanghai “Shenguang Ⅱ” laser facility, in which the X-rays emitted from laser-produced plasma Ti targets passed through the pinhole with diameter 10 μm, and the X-ray film was used to record the result. Multi-layer capsule structure was obtained in this experiment with the spatial resolution better than 10 μm. The research indicates that the phase contrast imaging have advantages in low-Z material diagnosis and can be used in ICF experiment.