修改河南项目的管理后台ui和删除之前不需要的游戏
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 后台管理系统
|
||||
VUE_APP_TITLE = 河南项目
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 常州项目
|
||||
VUE_APP_TITLE = 河南项目
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 后台管理系统
|
||||
VUE_APP_TITLE = 河南项目
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
|
||||
@@ -7,16 +7,6 @@
|
||||
<tags-view v-if="showTagsView" class="navbar-tags-view" />
|
||||
|
||||
<div class="right-menu">
|
||||
<!-- 任意页面都能一键看"当前这个页面"的操作记录 -->
|
||||
<div
|
||||
v-if="showOperLog"
|
||||
v-hasPermi="['monitor:operlog:query']"
|
||||
class="right-menu-item operlog-entry"
|
||||
@click="goOperationLog"
|
||||
>
|
||||
<i class="el-icon-document" />
|
||||
<span class="operlog-text">操作日志</span>
|
||||
</div>
|
||||
<el-dropdown class="avatar-container right-menu-item" trigger="click">
|
||||
<div class="avatar-wrapper">
|
||||
<img :src="avatar" class="user-avatar">
|
||||
@@ -52,21 +42,9 @@ export default {
|
||||
/** 标签页已并入顶栏,是否显示跟随布局设置 */
|
||||
showTagsView() {
|
||||
return this.$store.state.settings.tagsView
|
||||
},
|
||||
/** 已经在操作日志页时不显示入口 */
|
||||
showOperLog() {
|
||||
return this.$route.path !== '/system/log/operlog'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
/** 跳到操作日志,并自动按当前页面的菜单名筛选 */
|
||||
goOperationLog() {
|
||||
const pageTitle = (this.$route.meta && this.$route.meta.title) || ''
|
||||
this.$router.push({
|
||||
path: '/system/log/operlog',
|
||||
query: pageTitle ? { title: pageTitle } : {}
|
||||
})
|
||||
},
|
||||
async logout() {
|
||||
this.$confirm('确定注销并退出系统吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
@@ -131,21 +109,6 @@ export default {
|
||||
color: #5f4f3d;
|
||||
}
|
||||
|
||||
/* 操作日志入口:文案按钮,比图标更好找 */
|
||||
.operlog-entry {
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
transition: color 0.2s;
|
||||
|
||||
.operlog-text {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #9a5c35;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar-container {
|
||||
cursor: pointer;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="login">
|
||||
|
||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
|
||||
<h3 class="title">后台管理系统</h3>
|
||||
<h3 class="title">河南项目</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input
|
||||
v-model="loginForm.username"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="register">
|
||||
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
|
||||
<h3 class="title">后台管理系统</h3>
|
||||
<h3 class="title">河南项目</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
|
||||
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
||||
|
||||
@@ -7,7 +7,7 @@ function resolve(dir) {
|
||||
|
||||
const CompressionPlugin = require('compression-webpack-plugin')
|
||||
|
||||
const name = process.env.VUE_APP_TITLE || '后台管理系统' // 网页标题
|
||||
const name = process.env.VUE_APP_TITLE || '河南项目' // 网页标题
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||
|
||||
|
||||
Reference in New Issue
Block a user