item.js 656 B

12345678910111213141516171819202122232425262728293031
  1. import common from '../../utils/util';
  2. import main from '../../utils/main';
  3. const app = getApp();
  4. Page({
  5. data: {
  6. },
  7. onLoad: function (options) {
  8. var that = this;
  9. that.setData({
  10. Containnerheight: main.getWindowHeight(),
  11. Color: {
  12. ID: 0,
  13. Name: "黑白",
  14. BackColor: "#fff",
  15. BackColor2: "#eee",
  16. LineColor: "#eee",
  17. FieldColor: "#ddd",
  18. },
  19. });
  20. },
  21. onShareAppMessage: function () {
  22. return {
  23. title: app.globalData.ShareTitle,
  24. path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
  25. imageUrl: app.globalData.ShareImage,
  26. }
  27. },
  28. })