wx-open-launch-weapp 样式不生效
时间: 2023-10-06 08:12:40 浏览: 169
在使用wx-open-launch-weapp标签时,有用户反映里面的样式不起作用,同时引入的图片也不生效。一个解决思路是在wx-open-launch-weapp标签里面添加一个透明的div,然后在div中添加文本,悬浮在需要点击触发跳转的模块上,并用开放标签包裹。这样可以避免样式问题。
另外,需要注意的是,wx-open-launch-weapp开放标签只能在微信浏览器中打开,或者在微信开发者工具环境下预览。同时,还需要确保前期准备工作是否做好,详情请参考微信官方网站。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vue 中IOS无法打开小程序 <wx-open-launch-weapp>标签不起作用](https://blog.csdn.net/Dwill1/article/details/111469920)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [wx-open-launch-weapp标签样式不起作用,点击跳转问题](https://blog.csdn.net/xl13003009535/article/details/117808594)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文