自动化接入

This commit is contained in:
aixianling
2023-01-05 14:33:11 +08:00
parent 4ddf69b6e6
commit b8ff07c733
14 changed files with 229 additions and 111 deletions

23
wxmp/src/pages/home.vue Normal file
View File

@@ -0,0 +1,23 @@
<template>
<section class="home">
<open-data type="userAvatarUrl"/>
<open-data type="userNickName"/>
</section>
</template>
<script>
export default {
name: "home",
data() {
return {}
},
methods: {},
created() {
}
}
</script>
<style lang="scss" scoped>
.home {
}
</style>

View File

@@ -1,48 +0,0 @@
<template>
<view class="content">
<image class="logo" src="/static/logo.png"></image>
<view class="text-area">
<text class="title">{{ title }}</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello',
}
},
onLoad() {},
methods: {},
}
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo {
height: 200px;
width: 200px;
margin-top: 200px;
margin-left: auto;
margin-right: auto;
margin-bottom: 50px;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36px;
color: #8f8f94;
}
</style>

22
wxmp/src/pages/mine.vue Normal file
View File

@@ -0,0 +1,22 @@
<template>
<section class="mine">
</section>
</template>
<script>
export default {
name: "mine",
data() {
return {}
},
methods: {},
created() {
}
}
</script>
<style lang="scss" scoped>
.mine {
}
</style>