The electronic and optical properties of conjugated polymers door