var util = require("../../utils/util.js"); Page({ data : { detaildata : {}, //详情页数据 matureScheme : {}, //F22B成熟方案 productOverview : {}, //产品概述 productAppearance : {}, //产品外观 productCharacteristics : {}, //产品特点 productSpecification : {}, //产品规格 orderingInformation : {}, //订购信息 relatedApplications : {}, //相关应用 installationAndUse : {}, //安装使用 productBottom : {} //底部图片 }, onReady () { wx.setNavigationBarTitle({ title: 'F22B产品规格书' }) }, onLoad (options) { var that = this, detailData = util.getmaturitySchemeF22B();//产品概述 that.setData({ detaildata : detailData, matureScheme : detailData.matureScheme, productOverview : detailData.productOverview, productAppearance : detailData.productAppearance, productCharacteristics : detailData.productCharacteristics, productSpecification : detailData.productSpecification, orderingInformation : detailData.orderingInformation, relatedApplications : detailData.relatedApplications, installationAndUse : detailData.installationAndUse, productBottom : detailData.productBottom }); console.log(that.data.productSpecification.array); } })