2025-05-12 10:05:01 +08:00

34 lines
620 B
Vue

<template>
<div class="main">
<web-view :src="webViewSrc"></web-view>
</div>
</template>
<script>
import { mapGetters } from "vuex";
export default {
data() {
return {
webViewSrc: "",
};
},
computed: {
...mapGetters({
user: "user",
}),
},
onLoad() {
console.log("user", this.user);
this.webViewSrc = `https://ydmshy.ahydgs.com/h5/#/?phone=${this.user.MEMBERSHIP_MOBILEPHONE}`;
console.log("this.webViewSrc", this.webViewSrc);
this.$utils.addUserBehaviorNew();
},
};
</script>
<style scoped lang="less">
.main {
width: 100vw;
height: 100vh;
}
</style>