一:在vue3中使用
<wx-open-launch-weapp
@launch="onlaunch"
@error="onerror"
path="pages/home/home.html"
id="launch-wxapp"
username="gh_d6d5ff74b2a2"//例如:username="gh_xxxxxxx"
>
<script type="text/wxtag-template">
<style>
.btn-open-weapp {
height:60px;
width:110px;
}
</style>
<div class="btn-open-weapp"></div>
</script>
</wx-open-launch-weapp>
二:在vue2中使用
<div s