As another observation, Justice League released just 168 days after Wonder Woman. It completely flopped with an absolutely pathetic sub-100 million opening weekend.
Interestingly, a movie with a low opening but good holds is actually not desirable for studios, because of the way the ticket sale revenue is split between theaters and the studio. The studio receives the highest percentage of the ticket price on opening weekend or the first two weeks of showing (depending on the specific agreement), after which it moves down a sliding scale with the theater getting an increasing portion the longer the movie plays. Theaters like movies with good holds, but studios would prefer a movie that has a huge opening, so in the eyes of the studio Wonder Woman's "long legs" aren't really a great argument for its success relative to Batman v. Superman.
Gal Gadot's long legs are nice to look at, however.
You just proved my point. Justice League had something to prove because it is a direct sequel to Batman V Superman, and the movie turned out being abysmal, and the box office reflected that ten fold. Had Batman V Superman been a better film to hype people up for Justice League, then JL's opening weekend probably would have been much more frontloaded.
It's all about expectations. When you make a movie literally starring two of the biggest superheroes of all time (Batman V Superman), and it doesn't break a billion dollars at the box office (due to
massive box office drops after opening weekend) and is met with disdain from both audiences and critics, then you have a massive failure on your hands. Warner Bros. has fully admitted this, too. WB is in a current state of damage control with the DC movies and is doing a full overhaul, based on what's being released by them for the next couple of years.
Wonder Woman went into theaters as an underdog, and it was successful. It completely exceeded people's expectations, including the suits at WB with the profit it made. That is not the case whatsoever with Captain Marvel. Marvel advertised Captain Marvel as something people absolutely needed to watch before the grand finale to the biggest cliffhanger in recent cinema history, and it paid off for them big time. Captain Marvel's success doesn't have anything to do with the quality of the movie, because the MCU has become
that big with Infinity War and Endgame. The DCEU hasn't ... If the DCEU isn't dead at this point, that is (looks like they're just making a bunch of solo movies now).
Another underdog was Aquaman. While I wasn't particularly crazy about that movie (it was fun to watch at home; glad I didn't see it in theaters), audiences loved it, and it broke a billion dollars at the box office despite the dire state of the DCEU. I'd say Aquaman's massive success is far more impressive than Captain Marvel's for the reasons I've already stated when comparing it to Wonder Woman.