change home index,and add type_add,next time to add ajax request of type_add check