请问下这种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请求,请求到右上角的体验金的值

阅读 1.9k
2 个回答

radiobutton绑定ng-change指令

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进