Browse Source

样式修改

pull/12/head
高森 4 years ago
parent
commit
61ba7afd8f
3 changed files with 11 additions and 7 deletions
  1. +3
    -3
      webapp/src/router/index.js
  2. +6
    -2
      webapp/src/views/dataset/entrance.vue
  3. +2
    -2
      webapp/src/views/register.vue

+ 3
- 3
webapp/src/router/index.js View File

@@ -100,9 +100,9 @@ router.beforeEach(async (to, from, next) => {
if (getToken()) {
// 全局 minioClient 只初始化一次
if (!window.minioClient) {
const instance = new MinioClient();
const minioClient = await instance.init();
window.minioClient = minioClient;
// const instance = new MinioClient();
// const minioClient = await instance.init();
// window.minioClient = minioClient;
}
// 已登录且要跳转的页面是登录页
if (to.path === '/login') {


+ 6
- 2
webapp/src/views/dataset/entrance.vue View File

@@ -94,13 +94,17 @@ export default {
}

.radio-label {
width: 400px;
min-height: 320px;
width: 362px;
font-size: 20px;
min-height: 474px;
padding: 30px 16px;
line-height: 24px;
text-align: center;
cursor: pointer;
border-radius: 12px;
> img {
margin-top: 50px;
}
}

.border {


+ 2
- 2
webapp/src/views/register.vue View File

@@ -517,8 +517,8 @@ export default {
}
.registerEn {
position: fixed;
right: 50px;
top: 20px;
right: 30px;
top: 160px;
width: 80px;
height: 35px;
background-color: #ffffff;


Loading…
Cancel
Save