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