[锶源昆仑-寺庙捐赠活动]

This commit is contained in:
2023-05-15 13:53:32 +08:00
parent 1b6eb2668c
commit c9b18c9074
284 changed files with 9505 additions and 3822 deletions

33
pages/webview/index.vue Normal file
View File

@@ -0,0 +1,33 @@
<template>
<view>
<web-view :src="url"></web-view>
</view>
</template>
<script>
import { wechatCode } from '@/apis/interfaces/authUrl'
export default {
data() {
return {
url: '' // 外部链接地址
}
},
onLoad(options) {
// 获取微信code
wechatCode({
code: options.code
}).then(res => {
// , params: {openid: res.openid}
this.$Router.push({name: 'Index'})
}).catch(err => {
uni.showToast({
title: err.message,
icon: "none"
})
})
},
}
</script>
<style>
</style>