A novel one-dimensional Co3O4/CuO/Ag composite structure film was directly grown on indium tin oxide glass substrate by a simple hydrothermal method and electrodeposition method.