|
@@ -46,7 +46,30 @@ cc.Class({
|
|
|
if(CC_QQPLAY && window.GameStatusInfo) {
|
|
|
GameStatusInfo.startMs = ((new Date()).getTime()).toString()
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ // let path = 'GameSandBox://qrcode2.png'
|
|
|
+ // BK.QRCode.makeQRCodeToFileSync({
|
|
|
+ // path: path,
|
|
|
+ // content: 'hello world',
|
|
|
+ // config: {
|
|
|
+ // width: 256,
|
|
|
+ // height: 256
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+
|
|
|
+ // new BK.Game({
|
|
|
+ // onShare: function(app) {
|
|
|
+ // var shareInfo = {
|
|
|
+ // summary: '分享正文',
|
|
|
+ // localPicPath: path,
|
|
|
+ // picUrl: 'https://pub.dwstatic.com/wxgame/budingGame/share/shareImage.jpg',
|
|
|
+ // gameName: '游戏名称'
|
|
|
+ // }
|
|
|
+
|
|
|
+ // return shareInfo
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+
|
|
|
// if (CC_QQPLAY) {
|
|
|
// this.QQLogin();
|
|
|
// this.initShare();
|