recuperate.js 527 B

12345678910111213141516171819202122232425262728
  1. const app = getApp();
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. url:'https://www.jucai.gov.cn/mobile/recuperate/index'
  8. },
  9. onLoad(options) {
  10. if (options.url) {
  11. this.setData({url:options.url});
  12. }
  13. },
  14. /**
  15. * 用户点击右上角分享
  16. */
  17. onShareAppMessage: function (options) {
  18. return {
  19. title: "人才疗休养活动",
  20. path: '/pages/webview/recuperate/recuperate?url='+options.webViewUrl,
  21. imageUrl: '/common/images/share/share_recuperate.jpg',
  22. };
  23. }
  24. })