Browse Source

Merge remote-tracking branch 'origin/master'

master
Viviman 2 years ago
parent
commit
a505a6d9fd
  1. 3
      web/src/components/Github/index.vue
  2. 6
      web/src/settings.js
  3. 2
      web/src/utils/request.js
  4. 16
      web/src/views/login.vue

3
web/src/components/Github/index.vue

@ -9,7 +9,8 @@ export default {
name: 'Github',
methods: {
click() {
window.open('https://gitee.com/guchengwuyue/yshopmall', '_blank')
alert('请输入地址!')
// window.open('https://gitee.com/guchengwuyue/yshopmall', '_blank')
}
}
}

6
web/src/settings.js

@ -38,13 +38,13 @@ module.exports = {
/**
* 是否显示设置的底部信息
*/
showFooter: true,
showFooter: false,
/**
* 底部文字支持html语法
*/
footerTxt: 2019-2020 YSHOP <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">All Rights Reserved</a>',
footerTxt: YYYY-YYYY TITLE <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">其他说明</a>',
/**
* 备案号
*/
caseNumber: '豫ICP备17049587-2号'
caseNumber: '备案号'
}

2
web/src/utils/request.js

@ -33,7 +33,7 @@ service.interceptors.response.use(
const code = response.status
// console.log(response.data.status)
const newCode = response.data.status
if (newCode != 200 || code < 200 || code > 300) {
if (newCode !== 200 || code < 200 || code > 300) {
Notification.error({
title: response.data.msg
})

16
web/src/views/login.vue

@ -1,22 +1,6 @@
<template>
<div class="login">
<div style="display:flex;justify-content:space-between;align-items: center;">
<div style="padding: 0 60px 0 0">
<h3 style="color: #ffffff;font-size: 24px;padding: 0;margin-bottom: 10px">
VIVIB RBAC管理后台系统
</h3>
<ul style="margin: 0;color: #ffffff;font-size: 15px;line-height: 25px;padding-left: 20px">
<li>Go1.15.x</li>
<li>Beego2.x</li>
<li>Mysql8</li>
<li>Jwt</li>
<li>Redis</li>
<li>Vue</li>
</ul>
<h3 style="color: #ffffff;">
后台地址:https://go.yixiang.co
</h3>
</div>
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
<h3 class="title">
VIVIB后台管理系统-1.0

Loading…
Cancel
Save