wine调试通道

1.WINEDEBUG=fixme±all

2.WINEDEBUG=trace±all

3.WINEDEBUG=warn±all

4.标准日志通道:WINEDEBUG=+pid,+process,+module,+loaddll,+seh

5.崩溃消息:WINEDEBUG=+pid,+relay,+seh,+process,+module,+loaddll

6.文件访问:WINEDEBUG=+pid,+file,+ntdll

7.字体:WINEDEBUG=+pid,+font

8.游戏控制器:WINEDEBUG=+pid,+dinput,+joystick,+winmm,+xinput

9.游戏图形:WINEDEBUG=+pid,+d3d(环境变量:VKD3D_DEBUG=trace VKD3D_SHADER_DEBUG=trace)

10.键盘输入:WINEDEBUG=+pid,+event,+key,+keyboard

11.鼠标输入:WINEDEBUG=+pid,+cursor,+event

12.网络连接:WINEDEBUG=+pid,+iphlpapi,+winhttp,+wininet,+winsock

13.打印:WINEDEBUG=+pid,+print,+psdrv,+winspool

14.声音:WINEDEBUG=+pid,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,
+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp

15.窗口行为:WINEDEBUG=+pid,+event,+win,+x11drv

``` // import instance from "../http/mhttp"; import cookie from "js-cookie"; import router from "../router"; // import md5 from 'js-md5' export default { //獲取cookies值 // (详情页使用沉浸式) getCookie(name) { let strcookie = document.cookie; let arrcookie = strcookie.split("; "); for (let i = 0; i < arrcookie.length; i++) { let arr = arrcookie[i].split("="); if (arr[0] == name) return unescape(arr[1]); } return null; }, //獲取客戶端 client() { return this.getCookie("odrplatform") || ""; }, translateStatusBar(status_true) { let odrplatform = cookie.get("odrplatform"); if (odrplatform == "android") { window.apps.translateStatusBar(status_true); } else if (odrplatform == "ios") { window.webkit.messageHandlers.translateStatusBar.postMessage(`${status_true}`); } }, //去原生收银台 0 gotoPay(out_trade_no, money) { // let client = this.getCookie('odrplatform');//客户端 if (this.client() == "android") { window.apps.gotoPay(out_trade_no, money); } else if (this.client() == "ios") { window.webkit.messageHandlers.gotoPay.postMessage(`${out_trade_no},${money}`); } else { // console.log('Unable come back'); router.go(-1); } }, //去原生收银台 (积分) gotoPay2(out_trade_no, money,type,point) { // let client = this.getCookie('odrplatform');//客户端 if (this.client() == "android") { window.apps.gotoPay2(out_trade_no, money,type,point); } else if (this.client() == "ios") { window.webkit.messageHandlers.gotoPay.postMessage(`${out_trade_no},${money}`); } else { // console.log('Unable come back'); router.go(-1); } }, //去原生收银台 1 gotoNodePay(out_trade_no, money, number, is_rice_wine,shipping_fee) { // let client = this.getCookie('odrplatform');//客户端 if (this.client() == "android") { window.apps.gotoNodePay(out_trade_no, money, number, is_rice_wine, shipping_fee); } else if (this.client() == "ios") { window.webkit.messageHandlers.gotoNodePay.postMessage(`${out_trade_no},${money},${number},${is_rice_wine}, ${shipping_fee}`); } else { // console.log('Unable come back'); router.go(-1); } }, //退出h5頁面 exit() { // let client = this.getCookie('odrplatform');//客户端 if (this.client() == "android") { window.apps.finish(); } else if (this.client() == "ios") { window.webkit.messageHandlers.iosAction.postMessage("exit"); } else { // console.log('Unable come back'); router.go(-1); } }, //返回或者退出h5頁面 goback() { // let client = this.getCookie('odrplatform');//客户端 if (this.client() == "android") { window.apps.goback(); } else if (this.client() == "ios") { window.webkit.messageHandlers.iosAction.postMessage("goBack"); } else { // console.log('Unable come back'); } }, //去登錄 gologin() { // let client = this.getCookie('odrplatform');//客户端 if (this.client() == "android") { window.apps.gologin(); } else if (this.client() == "ios") { window.webkit.messageHandlers.iosAction.postMessage("login"); } }, //跳原生购物车 goShoppingCart() { let odrplatform = cookie.get("odrplatform"); if (odrplatform == "android") { window.apps.goShoppingCart(); } else if (odrplatform == "ios") { window.webkit.messageHandlers.goShoppingCart.postMessage({}); } }, };```uni需要打包成h5
03-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值