Explorar el Código

讲师详情报错

赵启卫 hace 2 años
padre
commit
f72b5fe635
Se han modificado 1 ficheros con 42 adiciones y 42 borrados
  1. 42 42
      application/wap/view/first/merchant/teacher_detail.html

+ 42 - 42
application/wap/view/first/merchant/teacher_detail.html

xqd
@@ -491,54 +491,54 @@
                 },
                 // 讲师名下商品
                 lecturer_store_list: function () {
-                    var vm = this;
-                    if (this.finished) {
-                        return;
-                    }
-                    $h.loadFFF();
-                    store.baseGet($h.U({
-                        c: 'merchant',
-                        a: 'lecturer_store_list',
-                        q: {
-                            mer_id: this.lecturer.mer_id,
-                            page: this.page,
-                            limit: this.limit
-                        }
-                    }), function (res) {
-                        $h.loadClear();
-                        var data = res.data.data;
-                        vm.list = vm.list.concat(data);
-                        vm.finished = vm.limit > data.length;
-                    });
+                    // var vm = this;
+                    // if (this.finished) {
+                    //     return;
+                    // }
+                    // $h.loadFFF();
+                    // store.baseGet($h.U({
+                    //     c: 'merchant',
+                    //     a: 'lecturer_store_list',
+                    //     q: {
+                    //         mer_id: this.lecturer.mer_id,
+                    //         page: this.page,
+                    //         limit: this.limit
+                    //     }
+                    // }), function (res) {
+                    //     $h.loadClear();
+                    //     var data = res.data.data;
+                    //     vm.list = vm.list.concat(data);
+                    //     vm.finished = vm.limit > data.length;
+                    // });
                 },
                 // 收益及提现统计
                 lecturer_income: function () {
-                    var vm = this;
-                    store.baseGet($h.U({
-                        c: 'merchant',
-                        a: 'lecturer_income',
-                        q: {
-                            mer_id: this.lecturer.mer_id
-                        }
-                    }), function (res) {
-                        var data = res.data.data;
-                        vm.extract = data.extract;
-                        vm.today = data.today;
-                        vm.total = data.total;
-                        vm.gold = data.gold;
-                    });
+                    // var vm = this;
+                    // store.baseGet($h.U({
+                    //     c: 'merchant',
+                    //     a: 'lecturer_income',
+                    //     q: {
+                    //         mer_id: this.lecturer.mer_id
+                    //     }
+                    // }), function (res) {
+                    //     var data = res.data.data;
+                    //     vm.extract = data.extract;
+                    //     vm.today = data.today;
+                    //     vm.total = data.total;
+                    //     vm.gold = data.gold;
+                    // });
                 },
                 getIsFollow: function () {
                     var vm = this;
-                    store.baseGet($h.U({
-                        c: 'merchant',
-                        a: 'is_follow',
-                        q: {
-                            mer_id: this.lecturer.mer_id
-                        }
-                    }), function (res) {
-                        vm.isFollow = res.data.data;
-                    });
+                    // store.baseGet($h.U({
+                    //     c: 'merchant',
+                    //     a: 'is_follow',
+                    //     q: {
+                    //         mer_id: this.lecturer.mer_id
+                    //     }
+                    // }), function (res) {
+                    //     vm.isFollow = res.data.data;
+                    // });
                 },
                 // 关注
                 follow: function () {