8. (10 points) It's the New Year, and Xiaoming's family bought many bottles of juice. On New Year's Eve, they drank half of the total minus 1 bottle; on the first day of the New Year, they drank half of what was left; on the second day, they drank half of what was left plus 1 bottle, and at this point, there were still 2 bottles left undrunk. So, how many bottles of juice did Xiaoming's family buy in total?
A. 20
B. 22
C. 24
D. 26
【Answer】Solution: Before drinking on the second day, there were: $(2+1) \times 2=6$ (bottles),
Before drinking on the first day, there were $6 \times 2=12$ (bottles),
In total: (12-1)×2
$$
\begin{array}{l}
=11 \times 2 \\
=22 \text { (bottles) }
\end{array}
$$

Answer: Xiao Ming's family bought a total of 22 bottles of juice.
Therefore, the correct choice is: B.