1,調用打電話
<div class="content"><a style="color: #498FE2" href="tel:{$data['customer_mobile']}">{$data['customer_mobile']}</a>
</div>
downLoad() {
if (navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)) {
window.open("CnSellersApp://");//ios app協議
window.setTimeout(function () {
window.location.href = "http://www.cnsellers.cn/sellermobile/_index.html";
}, 2000)
}
if (navigator.userAgent.match(/android/i)) {
window.open("sellingworldapp://");//android app協議
window.setTimeout(function () {
window.location.href = "http://www.cnsellers.cn/sellermobile/_index.html";// 下載地址
}, 2000)
}
}