From 9ab4955166b7b1370fc2a49b152353241ca9e64a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 16 十月 2023 09:22:23 +0800
Subject: [PATCH] 小程序
---
minipro_standard/pages/index/index.vue | 44 --------------------------------------------
1 files changed, 0 insertions(+), 44 deletions(-)
diff --git a/minipro_standard/pages/index/index.vue b/minipro_standard/pages/index/index.vue
index 74356de..e69de29 100644
--- a/minipro_standard/pages/index/index.vue
+++ b/minipro_standard/pages/index/index.vue
@@ -1,44 +0,0 @@
-<template>
- <view class="index">
- <web-view v-if="show" @onPostMessage="onMessage" :src="'https://dmtest.ahapp.net/doumeeplant_h5/#/appletLogin?code=' + code"></web-view>
- <!-- <myTabbar :index="0" /> -->
- </view>
-</template>
-
-<script>
- // import myTabbar from "@/components/myTabber.vue"
- export default {
- // components: {
- // myTabbar
- // },
- data() {
- return {
- code: '',
- show: false
- }
- },
- onLoad() {
- var that = this
- uni.login({
- provider: 'weixin',
- success: function (loginRes) {
- // console.log(loginRes);
- that.code = loginRes.code
- that.show = true
- }
- });
- },
- methods: {
- onMessage(e) {
- console.log('12345654321')
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .index {
- width: 100vw;
- height: 100vh;
- }
-</style>
--
Gitblit v1.9.3