index.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. var util = require("../../utils/util.js");
  2. Page({
  3. data : {
  4. detaildata : {},
  5. pageTitleData : {},
  6. productOverview : {},
  7. productAppearance : {},
  8. productCharacteristics : {},
  9. productspecification : {},
  10. orderingInformation : {},
  11. relatedApplications : {},
  12. relatedApplicationsImage : {},
  13. productBottom : {}
  14. },
  15. onReady () {
  16. wx.setNavigationBarTitle({
  17. title: '移动稽查基站S22'
  18. })
  19. },
  20. onLoad (options) {
  21. var that = this,
  22. detailData = util.getmaturitySchemeS22();//产品概述
  23. that.setData({
  24. detaildata : detailData,
  25. pageTitleData : detailData.pageTitleData,
  26. productOverview : detailData.productOverview,
  27. productAppearance : detailData.productAppearance,
  28. productCharacteristics : detailData.productCharacteristics,
  29. productspecification : detailData.productspecification,
  30. orderingInformation : detailData.orderingInformation,
  31. relatedApplications : detailData.relatedApplications,
  32. relatedApplicationsImage : detailData.relatedApplicationsImage,
  33. productBottom : detailData.productBottom
  34. });
  35. console.log(that.data);
  36. }
  37. })