Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zygnew #8

Open
wants to merge 16 commits into
base: update
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
Binary file added 111.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 222.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<template>
<div id="app">
<router-view/>
</div>
</template>




<script>
export default {
name: 'App',
data () {
return {

};
},
components: {

}
}
</script>


23 changes: 23 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import request from '@/utils/request'
export function login(mobile,password){
return request({
url:'/admin/login',
method:'post',
mobile:mobile,
password:password//?
// params:data
})
}
import request from '@/utils/request'
export function login(mobile,code,password,name){
return request({
url:'/admin/register',
method:'post',
mobile:mobile,
code:code,
password:password,
name:name,
//?
// params:data
})
}
72 changes: 72 additions & 0 deletions index1.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<template>
<div id="app">
<el-container>
<el-header style="text-align: left">
<img src="./assets/www.jpg" />
<img src="./assets/ttt.jpg" />
</el-header>

<el-main
style="
background-color: rgb(238, 238, 238);
width: 100%;
height: 800px;
left: 0px;
top: 0px;
z-index: 5;
">
<span style="float: left; padding-left: 100px; padding-top: 100px">
<img src="./assets/yyy.jpg" style="width: 950px; height: 650px" >
</span>
</el-main>

<span style="text-align: center">
<el-footer
style="
background-color: rgb(46, 46, 65);
height: 80px;
font-size: 15px;
color: rgb(153, 153, 153);
padding-top: 50px;
"
>
Copyright © 慧科教育 2020-2050
</el-footer>
</span>
</el-container>
<router-view />
</div>
</template>

<script>
export default {
data() {
return {};
},
methods: {
getSystem(id) {
this.$router.push({
path: `/system/${id}`, //es6语法
});
// this.$router.push({
// path:`/system/${id}`
// })
},
getUser(id, name) {
this.$router.push({
path: "/user",
query: {
id: id,
name: name,
},
});
// this.$router.push({
// path:'/user',
// query:{
// id:id
// }
// })
},
},
};
</script>
Loading