uni-app 中如何打开外部应用,如:浏览器、淘宝、AppStore、QQ等

时间:2022-05-27 21:33:19   收藏:0   阅读:24

详情链接:

https://ask.dcloud.net.cn/article/35621

 

 

 

[  
    // 只在 ios 中生效  
    {  
        name: ‘App Store‘,  
        scheme: ‘itms-apps://‘  
    },  
    {  
        name: ‘支付宝‘,  
        pname: ‘com.eg.android.AlipayGphone‘,  
        scheme: ‘alipay://‘  
    },  
    {  
        name: ‘淘宝‘,  
        pname: ‘com.taobao.taobao‘,  
        scheme: ‘taobao://‘  
    },  
    {  
        name: ‘QQ‘,  
        pname: ‘com.tencent.mobileqq‘,  
        scheme: ‘mqq://‘  
    },  
    {  
        name: ‘微信‘,  
        pname: ‘com.tencent.mm‘,  
        scheme: ‘weixin://‘  
    },  
    {  
        name: ‘京东‘,  
        pname: ‘com.jingdong.app.mall‘,  
        scheme: ‘openApp.jdMobile://‘  
    },  
    {  
        name: ‘新浪微博‘,  
        pname: ‘com.sina.weibo‘,  
        scheme: ‘sinaweibo://‘  
    },  
    {  
        name: ‘优酷‘,  
        pname: ‘com.youku.phone‘,  
        scheme: ‘youku://‘  
    }  
]  

原文:https://www.cnblogs.com/xushan03/p/15357767.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!