var index_data = require('../data/index_data.js'); var course_data = require("../data/course_data.js"); var detail_data = require("../data/detail_data.js"); /*index.wxml*/ /*获取bannerArr*/ function getBanner(){ return index_data.bannerSrc.banner; } /*获取navArr */ function getNav(){ return index_data.navSrc.nav; } /*获取adArr */ function getAd(){ return index_data.adSrc.ad; } /*获取courseArr*/ function getCourse(){ return index_data.courseSrc.course_grp; } /*course.wxml*/ /*获取courses*/ function getCourses(){ return course_data.courseItem.courses; } function getdiaodongcheData(){ return course_data.ddongcheAD.ad; } function getSchoolData(){ return course_data.schoolAD.ad; } function getproductC21(){ return detail_data.productC21; } function getmaturitySchemeF22B(){ return detail_data.maturitySchemeF22B; } function getmaturitySchemeF25(){ return detail_data.maturitySchemeF25; } function getmaturitySchemeG22(){ return detail_data.maturitySchemeG22; } function getmaturitySchemeG23(){ return detail_data.maturitySchemeG23; } function getmaturitySchemeK20(){ return detail_data.maturitySchemeK20; } function getmaturitySchemeS22(){ return detail_data.maturitySchemeS22; } module.exports.getBanner = getBanner; module.exports.getNav = getNav; module.exports.getAd = getAd; module.exports.getCourse = getCourse; module.exports.getCourses = getCourses; module.exports.getdiaodongcheData = getdiaodongcheData; module.exports.getSchoolData = getSchoolData; module.exports.getproductC21 = getproductC21; module.exports.getmaturitySchemeF22B = getmaturitySchemeF22B; module.exports.getmaturitySchemeF25 = getmaturitySchemeF25; module.exports.getmaturitySchemeG22 = getmaturitySchemeG22; module.exports.getmaturitySchemeG23 = getmaturitySchemeG23; module.exports.getmaturitySchemeK20 = getmaturitySchemeK20; module.exports.getmaturitySchemeS22 = getmaturitySchemeS22;