@@ -84,6 +84,16 @@ export default {
data: data
})
},
+
+ questionRecordList(data) {
+ return myRequest({
+ url: '/bank/question/record/list',
+ method: 'get',
+ data: data
+ })
+ },
deleteCart(data) {
return myRequest({
url: '/base/cart/delete/'+data,
@@ -144,8 +144,8 @@ export default {
return
}
//虚拟登录
- that.fakeLogin()
- return
+ /* that.fakeLogin()
+ return */
that.isUse = true
that.$api.accountLogin(this.form).then(
res => {
@@ -58,8 +58,18 @@ export default {
};
onPullDownRefresh() {},
- onLoad(option) {},
+ onLoad(option) {
+ this.questionRecordList();
methods: {
+ questionRecordList() {
+ this.$api.questionRecordList({
+ isRight:0,
+ }).then(res => {
+ console.log(res)
showSceen(type){
this.sceenType = type
@@ -21,10 +21,12 @@
</view>
</navigator>
- <view class="list-in">
- <image class="img" src="/static/icon/wk_icon2.png"></image>
- 错题集 >
- </view>
+ <navigator url="/pages2/subject/wrong">
+ <view class="list-in">
+ <image class="img" src="/static/icon/wk_icon2.png"></image>
+ 错题集 >
+ </view>
+ </navigator>