请问下这种t怎么触发里层的ng-repeat出来的元素绑定http请求?
页面效果如图:目前后台返回的数据格式如下:
{"singleBean":{"novice":[{"reward":"200","done":"0","investMoney":"0.00","taskContent":"关注微信公众号","productId":"0"},{"reward":"300","done":"0","investMoney":"100.00","taskContent":"首次投资灵活猫100元","productId":"2"},{"reward":"500","done":"0","investMoney":"1000.00","taskContent":"首次投资灵活猫1000元","productId":"2"}],"month":[{"investMoney":[{"investMoney":50000},{"investMoney":100000}],"productName":"年丰收","productId":12}],"firs":[{"investMoney":[{"investMoney":5000}],"productName":"月月涨","productId":1},{"investMoney":[{"investMoney":5000}],"productName":"季度喵","productId":3},{"investMoney":[{"investMoney":5000}],"productName":"半年喵","productId":6},{"investMoney":[{"investMoney":10000}],"productName":"年丰收","productId":12},{"investMoney":[{"investMoney":10000}],"productName":"克隆喵","productId":24}],"daily":[{"investMoney":[{"investMoney":10000},{"investMoney":20000},{"investMoney":30000}],"productName":"季度喵","productId":3},{"investMoney":[{"investMoney":10000},{"investMoney":20000},{"investMoney":30000}],"productName":"半年喵","productId":6},{"investMoney":[{"investMoney":10000},{"investMoney":20000},{"investMoney":30000}],"productName":"年丰收","productId":12},{"investMoney":[{"investMoney":10000},{"investMoney":20000},{"investMoney":30000}],"productName":"克隆喵","productId":24}]},"error":"0","msg":"success"}
现在的问题是:
1。例如每日任务中的列表是循环出来,每一项里面的radio选项框也是ng-repeat出来的,需要选中不同按钮触发http请求,请求到右上角的体验金的值
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
radiobutton绑定ng-change指令