问题 self.scrollArea.setStyleSheet("background-color: rgba(255, 0, 0, 0); border-style:none;\n" "}\n" "QLabel#label2 { \n" " background-color: rgba(0, 0, 0, 120); color: white; text: center; border-style:solid; border- width: 1px; border-top-style: none;\n" "}\n" "QLabel#label3 { \n" "background-color: rgba(0, 0, 0, 0); color: rgba(255, 255, 255, 0); text: center;\n" "}\n" "QLabel:hover + QLabel#label2{ \n" "background-color: rgb(0, 0, 0, 120); color: rgba(255,255,255,255); text: center;\n" "}\n"