| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- }
- },
- onLoad() {
- // #ifdef H5
- try {
- window.location.href = 'weixin://';
- alert('已尝试唤起微信');
- } catch (e) {
- alert('唤起微信失败,错误信息:' + e);
- } finally {
- alert('唤起流程已结束');
- }
- // #endif
- // #ifdef APP-PLUS
- plus.runtime.openURL('weixin://');
- // #endif
- },
- methods: {
-
- }
- }
- </script>
- <style>
- </style>
|