var util = require("../../utils/util.js"); Page({ data : { detaildata : {}, productCharacteristics : {}, productOverview : {}, productAppearance : {}, descriptionOfFunctionalCharacteristics : {}, relatedApplications : {}, relatedApplicationsImage : {}, productBottom : {}, }, onReady () { wx.setNavigationBarTitle({ title: '校园考勤机K20' }) }, onLoad (options) { var that = this, detailData = util.getmaturitySchemeK20();//产品概述 that.setData({ detaildata : detailData, productCharacteristics : detailData.productCharacteristics, productOverview : detailData.productOverview, productAppearance : detailData.productAppearance, descriptionOfFunctionalCharacteristics : detailData.descriptionOfFunctionalCharacteristics, relatedApplications : detailData.relatedApplications, relatedApplicationsImage : detailData.relatedApplicationsImage, productBottom : detailData.productBottom, }); } })