From cb7b8cd0660e6d3967a584c7dc000bf5c5e703c0 Mon Sep 17 00:00:00 2001 From: chuzhixin <1204505056@qq.com> Date: Thu, 5 Nov 2020 14:28:33 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8fix:=20Fix=20login=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 +- src/views/login/index.vue | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.js b/src/main.js index e76b31f..81d8a6c 100644 --- a/src/main.js +++ b/src/main.js @@ -3,7 +3,7 @@ import Antd from 'ant-design-vue' import App from './App' import router from './router' import store from './store' -import 'ant-design-vue/dist/antd.less' +import 'ant-design-vue/dist/antd.css' import '@/vab' /** * @author chuzhixin 1204505056@qq.com diff --git a/src/views/login/index.vue b/src/views/login/index.vue index d6587a5..6e42689 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -84,9 +84,9 @@ mounted() { this.form.username = 'admin' this.form.password = '123456' - setTimeout(() => { + /* setTimeout(() => { this.handleSubmit() - }, 5000) + }, 5000) */ }, methods: { ...mapActions({ @@ -139,11 +139,11 @@ text-align: center; } .ant-input { - width: 100%; - height: 45px; + width: 400px; + height: 35px; } .ant-btn { - width: 100%; + width: 365px; height: 45px; border-radius: 99px; }