7.函数 $y=\left(3^{x}-3^{-x}\right) \cos x$ 在区间 $\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$ 的图象大致为
A. 
B. 
C. 
D. 