feat: 初始化

This commit is contained in:
dengtongyu committed 2023-04-18 20:02:38 +08:00
commit ef8081b838
64 files changed
+2137

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
<script setup lang="ts" name="Home">
import { ref, onMounted } from "vue";
import pinia from "../store/pinia";
import { pay } from "../store";
import { getQueryString } from "@/lib/util";
const payStore = pay(pinia);
const locateObj = getQueryString();
const {openId, data, channel} = locateObj;
payStore.openId = openId || "";
payStore.dataId = data || "";
payStore.channel = channel || "";
const searchKeyword = ref<string>("");
onMounted(() => {
// init();
});
</script>
<template>
<div class="wechat-home">
<div>
<van-search v-model="searchKeyword" placeholder="请输入手机号或者用户ID" />
</div>
</div>
</template>
<style lang="less" scoped>
.wechat-home {
height: 100%;
width: 100%;
overflow: auto;
}
</style>