play68.js 737 B

12345678910111213141516171819202122
  1. function play68_init() {
  2. updateShare(0,0);
  3. }
  4. function play68_submitstart(level,score) {
  5. updateSharestart(level,score);
  6. Play68.shareFriend();
  7. // setTimeout( function() { Play68.shareFriend(); }, 1000 )
  8. }
  9. function updateShare(level,score) {
  10. var descContent = "一大波可爱的萌物来袭,来68微游戏玩#动物连线#,不要被萌翻哦!";
  11. if(level > 0) {
  12. shareTitle = "我在#动物连线#中,过了"+level+"关,很不错的游戏,可爱又呆萌!";
  13. }
  14. else{
  15. shareTitle = "一大波可爱的萌物来袭,来68微游戏玩#动物连线#,不要被萌翻哦!";
  16. }
  17. appid = '';
  18. Play68.setShareInfo(shareTitle,descContent);
  19. }
  20. function updateSharestart(level,score) {
  21. updateShare(level,score);
  22. }