Commit 8ca3aed9 authored by wildfirecode13's avatar wildfirecode13

u

parent a87626e8
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<meta name="screen-orientation" content="portrait" /> <meta name="screen-orientation" content="portrait" />
<meta name="x5-fullscreen" content="true" /> <meta name="x5-fullscreen" content="true" />
<meta name="360-fullscreen" content="true" /> <meta name="360-fullscreen" content="true" />
<script src="//res.wx.qq.com/open/js/jweixin-1.3.2.js" crossorigin="anonymous"></script>
<!-- 渲染引擎 --> <!-- 渲染引擎 -->
<script src="//yun.duiba.com.cn/db_games/libs0924/fyge2018.minSpine.js" crossorigin="anonymous"></script> <script src="//yun.duiba.com.cn/db_games/libs0924/fyge2018.minSpine.js" crossorigin="anonymous"></script>
<!-- svga解析库 --> <!-- svga解析库 -->
......
...@@ -9,7 +9,7 @@ import { IndexScene } from "./scenes/IndexScene"; ...@@ -9,7 +9,7 @@ import { IndexScene } from "./scenes/IndexScene";
import { NewbieScene } from "./scenes/NewbieScene"; import { NewbieScene } from "./scenes/NewbieScene";
import { ShareScene } from "./scenes/ShareScene"; import { ShareScene } from "./scenes/ShareScene";
import { SkinJson } from "./SkinJson"; import { SkinJson } from "./SkinJson";
import updateShare from "./updateShare"; import updateShare from "./share";
import { destroyWebNetData, sendWebNet, WebNetName } from "./WebNet"; import { destroyWebNetData, sendWebNet, WebNetName } from "./WebNet";
......
This diff is collapsed.
...@@ -5,7 +5,7 @@ import getObject from "../common/getObject"; ...@@ -5,7 +5,7 @@ import getObject from "../common/getObject";
import { ProgressBarS } from "../common/ProgressBarS"; import { ProgressBarS } from "../common/ProgressBarS";
import { showShareMask } from "../common/ShareMask"; import { showShareMask } from "../common/ShareMask";
import { IndexScene } from "../scenes/IndexScene"; import { IndexScene } from "../scenes/IndexScene";
import updateShare from "../updateShare"; import updateShare from "../share";
import { getPxTokenSave, sendWebNet, WebNetName } from "../WebNet"; import { getPxTokenSave, sendWebNet, WebNetName } from "../WebNet";
export class PrizePanel extends Panel { export class PrizePanel extends Panel {
amountTxt: FYGE.TextField; amountTxt: FYGE.TextField;
......
...@@ -14,7 +14,7 @@ import { DrawPanel } from '../panels/draw'; ...@@ -14,7 +14,7 @@ import { DrawPanel } from '../panels/draw';
import { RulePanel } from '../panels/rule'; import { RulePanel } from '../panels/rule';
import { ShareFailPanel } from '../panels/share_fail'; import { ShareFailPanel } from '../panels/share_fail';
import { ShareSuccessPanel } from '../panels/share_success'; import { ShareSuccessPanel } from '../panels/share_success';
import updateShare from '../updateShare'; import updateShare from '../share';
import { getPxTokenSave, getWebData, sendWebNet, WebNetName } from '../WebNet'; import { getPxTokenSave, getWebData, sendWebNet, WebNetName } from '../WebNet';
export class IndexScene extends Scene { export class IndexScene extends Scene {
......
// export const updateShare = (type, code) => {
// console.log('updateShare', 'type=', type, 'code=', code)
// }
import { start, WeixinMini } from '@spark/share'
start([WeixinMini], (way, success, payload) => {
console.log('分享' + success ? '成功' : '失败')
})
const updateShare=(...args)=>{}
export default updateShare
\ No newline at end of file
const updateShare = (type, code) => {
console.log('updateShare', 'type=', type, 'code=', code)
}
export default updateShare
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment