试试监听输入框的值 (eq:在未输入前,按钮为灰色,输入内容后,按钮变蓝色) 参考网址:https://blog.csdn.net/tel13259437538/article/details/78927071