wx-open-launch-app 标签内容不显示按钮?
发布于 5 年前 作者 qiang42 3687 次浏览 来自 问答

config 为ok

微信版本号 7.0.14

系统版本 ios13.5.1

框架 vue

.btn的按钮无法显示

线上链接 https://h5.zjol.com.cn/material/axiostest/index.html#/zjolsdk

<template>
    <div class="butApp">
    <wx-open-launch-app id="launch-btn" appid="" extinfo="">
      <script type="text/wxtag-template">
        <button class="btn">App内查看</button>
      </script>
    </wx-open-launch-app>
    </div>
</template>

var btn = document.getElementById('launch-btn')
      btn.addEventListener('launch', function (e) {
        console.log('success')
      })
      btn.addEventListener('error', function (e) {
        console.log('fail', e.detail)
      })

回到顶部