jquery里的$('this')和小程序里的this 都是指向当前最近的一个方法,如果在ajax请求里面用或者定时器里面,需要在外面定义一下, jquery:var $this= $(this) 小程序:var that = this 再请求里面引用