优化首页代码

Signed-off-by: Wanghaoran <whrlmc@139.com>