This commit is contained in:
parent
8cabf4b58a
commit
e4d4954184
|
|
@ -5,10 +5,10 @@
|
||||||
<meta name="Author" content="波哥无敌">
|
<meta name="Author" content="波哥无敌">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="keywords" content="快递 快递代拿 校园 帮拿快递 懒人校园" />
|
<meta name="keywords" content="快递 快递代拿 校园 帮拿快递 懒人校园" />
|
||||||
<meta name="Description" content="校园闪电侠 快递代拿系统 在寝室坐着,网上轻松下单,快递到手,懒人首选."/>
|
<meta name="Description" content="校园小飞侠 快递代拿系统 在寝室坐着,网上轻松下单,快递到手,懒人首选."/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<link rel="shortcut icon" href="./static/img/logo.ico"/>
|
<link rel="shortcut icon" href="./static/img/logo.ico"/>
|
||||||
<title>校园闪电侠 -- 快递代拿系统</title>
|
<title>校园小飞侠 -- 快递代拿系统</title>
|
||||||
<style>
|
<style>
|
||||||
#app-loading-first{
|
#app-loading-first{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
mounted () {
|
mounted () {
|
||||||
window.onkeydown = (e) => {
|
window.onkeydown = (e) => {
|
||||||
let key = window.event.keyCode
|
let key = window.event.keyCode
|
||||||
if (key == 13) {
|
if (key === 13) {
|
||||||
this.submitForm('adminForm')
|
this.submitForm('adminForm')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
this.$refs.adminForm.validate((valid) => {
|
this.$refs.adminForm.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
// const baseUrl = 'http://localhost:8083/api/'
|
// const baseUrl = 'http://localhost:8083/api/'
|
||||||
const baseUrl = 'http://api.tomey.live/api/'
|
const baseUrl = 'https://api.tomey.live/api/'
|
||||||
axios({
|
axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
url: baseUrl + 'login',
|
url: baseUrl + 'login',
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="admin-logo">
|
<div class="admin-logo">
|
||||||
<a class="title" href="javascript:void(0);">
|
<a class="title" href="javascript:void(0);">
|
||||||
<img src="./../../assets/img/logo.png" alt="logo图标">
|
<img src="./../../assets/img/logo.png" alt="logo图标">
|
||||||
<h1>校园闪电侠后台管理系统</h1>
|
<h1>校园小飞侠后台管理系统</h1>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="admincont">
|
<div class="admincont">
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
userLogin (data) {
|
userLogin (data) {
|
||||||
// const baseUrl = 'http://localhost:8083/api/'
|
// const baseUrl = 'http://localhost:8083/api/'
|
||||||
const baseUrl = 'http://api.tomey.live/api/'
|
const baseUrl = 'https://api.tomey.live/api/'
|
||||||
console.log(baseUrl)
|
console.log(baseUrl)
|
||||||
axios({
|
axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
message:'管理员请前往admin登录',
|
message:'管理员请前往admin登录',
|
||||||
type: 'error'
|
type: 'error'
|
||||||
})
|
})
|
||||||
this.$router.push({path: '/'})
|
this.$router.push({path: '/admin'})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="user-login-cont">
|
<div class="user-login-cont">
|
||||||
<div class="left-log-cont">
|
<div class="left-log-cont">
|
||||||
<div class="log-body">
|
<div class="log-body">
|
||||||
<h2 class="log-title">校园闪电侠</h2>
|
<h2 class="log-title">校园小飞侠</h2>
|
||||||
<span class="log-en">Campus Courier</span>
|
<span class="log-en">Campus Courier</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="footTip">
|
<div class="footTip">
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
<transition name='moveX'>
|
<transition name='moveX'>
|
||||||
<div class="qq-call-me" v-if="showTips" key='bb'>
|
<div class="qq-call-me" v-if="showTips" key='bb'>
|
||||||
<a target="_blank" class="qq-link" href="http://wpa.qq.com/msgrd?v=3&uin=1820949363&site=qq&menu=yes">
|
<a target="_blank" class="qq-link" href="http://wpa.qq.com/msgrd?v=3&uin=3044116703&site=qq&menu=yes">
|
||||||
<img class="qq" :src="img" alt="qq联系">
|
<img class="qq" :src="img" alt="qq联系">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -129,14 +129,14 @@ export default {
|
||||||
mounted () {
|
mounted () {
|
||||||
window.onkeydown = (e) => {
|
window.onkeydown = (e) => {
|
||||||
let key = window.event.keyCode
|
let key = window.event.keyCode
|
||||||
if (key == 13) {
|
if (key === 13) {
|
||||||
this.submitForm('registerForm')
|
this.submitForm('registerForm')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeInputType () {
|
changeInputType () {
|
||||||
this.inputType = (this.inputType == 'password') ? 'text' : 'password'
|
this.inputType = (this.inputType === 'password') ? 'text' : 'password'
|
||||||
},
|
},
|
||||||
submitForm (formName) {
|
submitForm (formName) {
|
||||||
this.$refs[formName].validate((valid) => {
|
this.$refs[formName].validate((valid) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue