<wx-open-launch-weapp id="launch-btn" username="gh_*******" path="/pages/room/room.html"> <template> <style> .btn { border: none; background-color: transparent; color: #333; font-size: 14px; display:block; } </style> <button class="btn"> <div>打开小程序</div> </button> </template> </wx-open-launch-weapp> 请问为什么这样写的在h5中标签不显示
wx-open-launch-weapp在javascript不显示是怎么回事?wx-open-launch-weapp在javascript不显示是怎么回事? 代码是按照官网文档写的,直接把官网文档代码粘贴进去也不显示 <wx-open-launch-weapp id="launch-btn" username="gh_xxxxxxxx" path="pages/home/index.html?user=123&action=abc" > <template> <style>.btn { padding: 12px }</style> <button class="btn">打开小程序</button> </template> </wx-open-launch-weapp>
2020-11-18