webview.js 523 B

1234567891011121314151617181920212223242526
  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. PageID:options.PageID,
  11. });
  12. },
  13. onUnload:function(){
  14. },
  15. onShareAppMessage: function () {
  16. return {
  17. title: app.globalData.ShareTitle,
  18. path: app.globalData.SharePath + '?LessonID=all&UserID=' + app.globalData.userInfo.UserID,
  19. imageUrl: "../images/program_screenshot_lesson1.png",
  20. }
  21. },
  22. })