鍍金池/ 問答/HTML5  網(wǎng)絡(luò)安全/ 請問下這種t怎么觸發(fā)里層的ng-repeat出來的元素綁定http請求?

請問下這種t怎么觸發(fā)里層的ng-repeat出來的元素綁定http請求?

圖片描述

頁面效果如圖:目前后臺返回的數(shù)據(jù)格式如下:

{"singleBean":{"novice":[{"reward":"200","done":"0","investMoney":"0.00","taskContent":"關(guān)注微信公眾號","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"}

現(xiàn)在的問題是:
1。例如每日任務(wù)中的列表是循環(huán)出來,每一項里面的radio選項框也是ng-repeat出來的,需要選中不同按鈕觸發(fā)http請求,請求到右上角的體驗金的值

回答
編輯回答
假灑脫

clipboard.png

2018年3月22日 09:57
編輯回答
茍活

radiobutton綁定ng-change指令

2017年2月20日 14:05