var util = require("../../utils/util.js"); Page({ data : { detaildata : {}, //详情页数据 characteristics : {}, //F25特性 productOverview : {}, //产品概述 productAppearance : {}, productCharacteristics : {}, //产品特点 productSpecification : {}, //产品规格 orderingInformation : {}, //订购信息 relatedApplications : {}, //相关应用 applicationsImage : {}, //相关应用图文版 installationAndUse : {}, //安装使用 productBottom : {} //联系我们 }, onReady () { wx.setNavigationBarTitle({ title: '电子标签F25' }) }, onLoad (options) { var that = this, detailData = util.getmaturitySchemeF25();//产品概述 that.setData({ detaildata : detailData, characteristics : detailData.characteristics, productOverview : detailData.productOverview, productAppearance : detailData.productAppearance, productCharacteristics : detailData.productCharacteristics, productSpecification : detailData.productSpecification, orderingInformation : detailData.orderingInformation, relatedApplications : detailData.relatedApplications, applicationsImage : detailData.applicationsImage, installationAndUse : detailData.installationAndUse, productBottom : detailData.productBottom }); console.log(that.data.characteristics); } })