jssdk:地址:[添加链接描述](https://unpkg.com/jweixin-module@1.6.0/lib/index.js)
<template>
<view>
<!-- #ifdef H5 -->
<view v-html="wxOpenTags"></view>
<!-- #endif -->
<view @tap="pazhao">pazhao</view>
</view>
</template>
<script>
// pages/mine/mine.js
import {
request
} from "../../utils/request";
import wxjs from '../../js_sdk/junyi-h5-copy/junyi-h5-copy/jssdk.js'
export default {
data() {
return {
wxOpenTags: '1213'
};
},
components: {},
props: {},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function() {
const that = this;
const params = {
ulr: 'https://miniapp.xxx.com/h5/wxstore/pages/test/test'
};
wx.showLoading({
title: '加载中',
icon: 'none',
mask: true
});
request.post(
uni-app 使用微信公众号的开放标签从网页跳转到小程序 wx-open-launch-weapp
最新推荐文章于 2024-05-28 16:27:02 发布