UIView中UIButton设置监听时间:2023-07-27 22:40:29 红色框框是一个uibutton _priceValueLabel是他的父视图, 必须要把button的父视图设置userInteractionEnabled = YES, button的 监听才会生效!