Commit 2c1be876 authored by shangtx's avatar shangtx

init: 主题修改

parent 9bcfce81
This diff is collapsed.
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
theme: { theme: {
type: String, type: String,
required: false, required: false,
default: 'light' default: 'dark'
}, },
collapsible: { collapsible: {
type: Boolean, type: Boolean,
......
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
theme: { theme: {
type: String, type: String,
required: false, required: false,
default: 'light' default: 'dark'
}, },
mode: { mode: {
type: String, type: String,
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
theme: { theme: {
type: String, type: String,
required: false, required: false,
default: 'light' default: 'dark'
}, },
collapsed: { collapsed: {
type: Boolean, type: Boolean,
......
This diff is collapsed.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
export default { export default {
primaryColor: '#3A62D7', // primary color of ant design primaryColor: '#3A62D7', // primary color of ant design
navTheme: 'light', // theme for nav menu navTheme: 'dark', // theme for nav menu
layout: 'sidemenu', // nav menu position: sidemenu or topmenu layout: 'sidemenu', // nav menu position: sidemenu or topmenu
contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
fixedHeader: true, // sticky header fixedHeader: true, // sticky header
......
...@@ -18,7 +18,7 @@ const app = { ...@@ -18,7 +18,7 @@ const app = {
withoutAnimation: false withoutAnimation: false
}, },
device: 'desktop', device: 'desktop',
theme: '', theme: 'dark',
layout: '', layout: '',
contentWidth: '', contentWidth: '',
fixedHeader: false, fixedHeader: false,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
> >
<div style="width: 600px; margin-left: 150px"> <div style="width: 600px; margin-left: 150px">
<div class="aaa">欢迎使用</div> <div class="aaa">欢迎使用</div>
<div class="bbb">服务预约管理系统</div> <div class="bbb">城市匠人管理系统</div>
<div style="height: 50px"></div> <div style="height: 50px"></div>
<a-form class="user-layout-login" @submit="handleSubmit" :form="form"> <a-form class="user-layout-login" @submit="handleSubmit" :form="form">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{ {
initialValue: '', initialValue: '',
rules: [ rules: [
{ required: true, message: '请输入帐户名或邮箱地址' }, { required: true, message: '请输入用户名' },
{ validator: this.handleUsernameOrEmail }, { validator: this.handleUsernameOrEmail },
], ],
}, },
...@@ -74,14 +74,12 @@ ...@@ -74,14 +74,12 @@
import { mapActions } from "vuex"; import { mapActions } from "vuex";
import { initRouterTree } from "@/router/router.config"; import { initRouterTree } from "@/router/router.config";
import notification from "ant-design-vue/es/notification"; import notification from "ant-design-vue/es/notification";
// import {timeFix} from "../../util/util"
export default { export default {
data() { data() {
return { return {
customActiveKey: "tab1", customActiveKey: "tab1",
loginBtn: false, loginBtn: false,
// login type: 0 email, 1 username, 2 telephone
loginType: 1, loginType: 1,
form: this.$form.createForm(this), form: this.$form.createForm(this),
state: { state: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment