index.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. var util = require("../../utils/util.js");
  2. Page({
  3. data : {
  4. detaildata : {}, //详情页数据
  5. characteristics : {}, //F25特性
  6. productOverview : {}, //产品概述
  7. productAppearance : {},
  8. productCharacteristics : {}, //产品特点
  9. productSpecification : {}, //产品规格
  10. orderingInformation : {}, //订购信息
  11. relatedApplications : {}, //相关应用
  12. applicationsImage : {}, //相关应用图文版
  13. installationAndUse : {}, //安装使用
  14. productBottom : {} //联系我们
  15. },
  16. onReady () {
  17. wx.setNavigationBarTitle({
  18. title: '电子标签F25'
  19. })
  20. },
  21. onLoad (options) {
  22. var that = this,
  23. detailData = util.getmaturitySchemeF25();//产品概述
  24. that.setData({
  25. detaildata : detailData,
  26. characteristics : detailData.characteristics,
  27. productOverview : detailData.productOverview,
  28. productAppearance : detailData.productAppearance,
  29. productCharacteristics : detailData.productCharacteristics,
  30. productSpecification : detailData.productSpecification,
  31. orderingInformation : detailData.orderingInformation,
  32. relatedApplications : detailData.relatedApplications,
  33. applicationsImage : detailData.applicationsImage,
  34. installationAndUse : detailData.installationAndUse,
  35. productBottom : detailData.productBottom
  36. });
  37. console.log(that.data.characteristics);
  38. }
  39. })