<p class="rules">一键拨打客服电话:<span class="blue" @click="toCall">010-84871686</span></p>

toCall: function(){

var ifr = document.createElement('iframe');
document.body.appendChild(ifr);
ifr.src = 'tel:' + '01084871686';
setTimeout(function(){
ifr.remove();
}, 100);
}

声明:此文系舞林cuznwww.wulinlw.org)原创稿件,转载请保留版权