We investigate the properties of strange quark matter and quark stars within confined-isospin-density-dependent quark mass model by considering the repulsive vector interactions under strong magnetic fields. We find introducing the vector channels and magnetic fields can both significantly influence the equation of state of strange quark matter, the equivalent quark mass, and the quark fractions with
β−equilibrium. Our results demonstrate that both the density dependence of magnetic fields and their internal orientation distributions significantly alter the maximum mass of magnetars. Specifically, the maximum mass increases monotonically with the strength of repulsive vector interactions. Furthermore, the results also imply the central density of the maximum star mass decreases with the strength of the vector interactions while the pressure of the quark matter around the central region increases.