本文解答了关于《以每天学习3小时进行计算》相关内容,同时关于1、每天用3小时做完8小时的工作读后感,2、我每天花费3个小时写作业,3、每天用3小时做完8小时的工作,4、每天3小时英语,5、每天三小时用英语怎么写,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
选择辅导课程
this.courses = [];
}
create() {
var ovv = this;
return ovv.parent.createPage(function (theme, $page, $popup) {
ovv.v.ui.loading();
var basic = {
name: "select-courses",
template: "/Public/mobile/app/students/view/courses/index.html",
theme: "mobile_table",
data: {
title: "选择辅导课程",
course_data: ovv.courses
}
};
this.reload = function () {
ovv.param.data.key_word = ovv.v.$data.key_word;
ovv.ajaxRequest(ovv.config.api.get_courses, ovv.param, function (data) {
ovv.v.$data.course_data.removeAll();
$.each(data.data, function (k, d) {
ovv.v.$data.course_data.push(d);
});
// ovv.v.$data.course_data = data.data;
layer.close(ovv.v.ui.loading());
});
};
this.init = function () {
this.reload();
};
this.evt_selected = function (n, adata) {
var courses_name = "";
var course_price = 0;
$.each(adata, function (idx, itme) {
courses_name += itme.name + ",";
course_price += itme.price;
});
courses_name = courses_name.substring(0, courses_name.length - 1);
ovv.courses = adata;
$.each(ovv.$refs, function (k, v) {
$.each(v, function (k2, v2) {
var ref = $(v2.$el);
if (ref.hasClass("single_courses_rel")) {
ref.find(".courses_name").text(courses_name);
ref.find(".courses_price").text(course_price);
}
});
});
$popup.close();
};
return basic;
});
}
};
总结:以上是编辑:【帅欣妍】整理及AI智能原创关于《以每天学习3小时进行计算
》优质内容解答希望能帮助到您。