在按钮绑定的响应方法里用setData给imageUrl设定新的地址即可

reLoadImage:function(event){    console.log(event)    var that = this;    this.setData({        imageUrl:"http://img1.3lian.com/2015/w7/85/d/101.jpg"    })  }小程序

TAG标签: 微信小程序今天微信

http://www.xiaochengxub.com/read-106493.html