self.setStyleSheet("background-color: transparent;") self.text_edit.setPlaceholderText("在这里输入兑换码") self.text_edit.setStyleSheet("QTextEdit { border: 1px solid lightgray; }") # 文本框样式 self.text_edit.setFixedSize(400, 200) def init_layout(self): self.settingLabel.move(20, 20) se...