洋芋笔记

查询阿里云卡的快捷指令

👉点击跳转到淘宝查询阿里云卡


原理:
就是通过js打开,taobao://market.m.taobao.com/app/Link-IotCard/iotx-linkcard-2c-taobao-app/index.html

示例:

<a id="openTaobao" href="javascript:void(0);">点击打开淘宝</a>

<script>
  document.getElementById("openTaobao").addEventListener("click", function() {
    window.location.href = "taobao://market.m.taobao.com/app/Link-IotCard/iotx-linkcard-2c-taobao-app/index.html";
  });
</script>