Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-04-21 11:09:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
899ed996a588e0259c2d8282dd9610487fbf2812
899ed996
1 parent
3db38848
✨ feat(客户端): 新增客户端入口页面
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
src/route.js
src/views/client/index.vue
src/route.js
View file @
899ed99
...
...
@@ -7,6 +7,14 @@ export default [{
},
children
:
[]
},
{
path
:
'/client/index'
,
name
:
'客户端入口页'
,
component
:
()
=>
import
(
'./views/client/index.vue'
),
meta
:
{
title
:
'童声无界'
},
children
:
[]
},
{
path
:
'/image'
,
name
:
'html转图片'
,
component
:
()
=>
import
(
'./views/html2canvas.vue'
),
...
...
src/views/client/index.vue
0 → 100644
View file @
899ed99
<template>
<div>客户端入口</div>
<div class="entry-wrapper">
<p style="color: #B8B8B8; margin: 1rem;">请选择您的身份</p>
<div class="control">
<div class="plain">
<my-button type="plain">访客</my-button>
</div>
<div class="primary">
<my-button type="primary">我有所属幼儿园</my-button>
</div>
</div>
</div>
</template>
<script setup>
import MyButton from '@/components/MyButton/index.vue'
</script>
<script>
import mixin from 'common/mixin'
import { mainStore } from '@/store'
import { storeToRefs } from 'pinia'
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
.entry-wrapper {
position: absolute;
bottom: 2rem;
width: 100%;
.control {
margin: 1rem;
.plain {
width: 30%; float: left;
}
.primary {
width: 70%; float: left;
}
}
}
</style>
\ No newline at end of file
Please
register
or
login
to post a comment