jeremygo

jeremygo

我是把下一颗珍珠串在绳子上的人

WeChat H5 webpage redirects to mini program.

Precautions before use#

Open objects#

  • Verified service accounts can use this tag to jump to any legal and compliant mini program by binding the web pages under the "JS interface security domain".
  • Verified non-individual mini programs can use this tag to jump to any legal and compliant mini program by binding the web pages under the domain of the mini program's static website hosting using mini program cloud development.

System and version requirements#

  • WeChat version requirement: 7.0.12 and above.
  • System version requirement: iOS 10.3 and above, Android 5.0 and above.

Precautions#

  • Use <script type="text/wxtag-template"><script> to wrap tag styles in Vue.
    • If there is an error with the tag, use Vue.config.ignoredElements = ['wx-open-launch-weapp'].
  • The path must end with .html.
  • Need to be deployed to the test environment and debugged on a real device.
  • Pay attention to style issues.
    • The styles of tags created inside the script are completely isolated from the outside and have no relationship.
    • Only inline style can be used to add styles, className is not allowed.

Other methods#

Reference#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.