首页 > 编程知识 正文

H5跳转小程序点击按钮各种样式注入无法撑开问题

时间:2023-05-05 12:03:45 阅读:236714 作者:118

<div class="launch_btn_2"> <wx-open-launch-weapp username="gh_xxxxxx" :path="path" > <script type="text/wxtag-template"> <style>.btn {width: 180px; height: 80px;}</style> <div class="btn">车险报案车险报案车险报案车险报案车险报案</div> </script> </wx-open-launch-weapp> </div> .launch_btn_2 { z-index: 10; position: absolute; right: 0; bottom: 0; top: 30%; left: 0; opacity: 0; width: 172px; height: 90px; }

vue 按官方文档,百度各种 https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/staticstorage/jump-miniprogram.html
都无法实现。而且这个按钮也只能在生产环境上验证,真的很吐血。

最后使用一个最原始的办法来实现.啊哈哈,看html 。bzdgs写多文字,通过文字来撑开按钮,实现覆盖。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。