修改前端样式

This commit is contained in:
橙子
2021-10-16 15:18:41 +08:00
parent b2e8441194
commit dc244c7982
11 changed files with 26 additions and 29 deletions

View File

@@ -16,7 +16,7 @@ namespace Yi.Framework.Interface
/// 登录,传入_user需包含用户名与密码
/// </summary>
/// <returns></returns>
Task<bool> Login(user _user);
//Task<user> Login(user _user);
/// <summary>
/// 注册,需要检测是否用户名重复

View File

@@ -26,9 +26,9 @@
<div class="text-body-1 font-weight-light pt-6 pt-md-0 text-center">
&copy; {{ (new Date()).getFullYear() }}, Made by <v-icon>mdi-vuetify</v-icon>
<a
href="https://vuetifyjs.com/en/about/meet-the-team/#company"
href="https://ccnetcore"
class="text-decoration-none"
>Vuetify</a>
>ccnetcore</a>
</div>
</v-col>
</v-row>
@@ -42,21 +42,17 @@
data: () => ({
links: [
{
href: 'https://vuetifyjs.com/',
text: 'Vuetify Docs',
href: '#',
text: 'YiFramework文档',
},
{
href: '#',
text: 'About Us',
text: 'GitHub',
},
{
href: '#',
text: 'Blog',
},
{
href: '#',
text: 'Licenses',
},
text: '论坛',
}
],
}),
}

View File

@@ -1,7 +1,7 @@
<template>
<v-dialog v-model="dialog" persistent max-width="600px">
<template v-slot:activator="{ on, attrs }">
<v-btn color="primary" dark v-bind="attrs" v-on="on">
<v-btn class="ma-2" color="primary" dark v-bind="attrs" v-on="on">
{{ headers }}
</v-btn>
</template>

View File

@@ -74,8 +74,8 @@
<v-btn
v-if="axiosUrls.hasOwnProperty('del')"
color="red"
dark
color="secondary"
class="mb-2"
@click="deleteItem(null)"
>

View File

@@ -1,9 +1,10 @@
<template>
<div>
<app-btn dark class="mb-2 mx-2" @click="dialog = true"> 添加新项 </app-btn>
<app-btn dark class="mb-2 mx-2" @click="deleteItem(null)">
<app-btn dark class="ma-2" @click="dialog = true"> 添加新项 </app-btn>
<app-btn dark class="ma-2" color="secondary" @click="deleteItem(null)">
删除所选
</app-btn>
<v-dialog v-model="dialog" max-width="500px">
<v-card>
<v-card-title>
@@ -63,15 +64,17 @@
>
</template>
</ccCombobox>
<app-btn class="mx-2" @click="editItem(item)">编辑</app-btn>
<app-btn class="mr-2" @click="deleteItem(item)">删除</app-btn>
<app-btn
<app-btn
@click="
parentId = item.id;
dialog = true;
"
>添加子菜单</app-btn
>
<app-btn class="mx-2" @click="editItem(item)">编辑</app-btn>
<app-btn color="secondary" class="mr-2" @click="deleteItem(item)">删除</app-btn>
</template>
</v-treeview>
</div>

View File

@@ -41,7 +41,7 @@
export default {
data:()=>({
drawer:true,
name:"测试系统"
name:"系统"
}),
name: 'DefaultBar',

View File

@@ -51,7 +51,7 @@
mdi-package-up
</v-icon>
Upgrade to Pro
退出
</app-btn>
</div>
</template>

View File

@@ -9,9 +9,9 @@
<v-list-item-content class="pl-2">
<v-list-item-title class="text-h3">
<strong class="mr-1 font-weight-black">VMD</strong>
<strong class="mr-1 font-weight-black">Yi</strong>
<span class="primary--text">FREE</span>
<span class="primary--text">Framework</span>
</v-list-item-title>
</v-list-item-content>
</v-list-item>

View File

@@ -1,10 +1,10 @@
<template>
<v-text-field
placeholder="Search"
placeholder="全站搜索"
class="mr-16"
color="secondary"
hide-details
style="max-width: 220px"
style="max-width: 400px"
>
<template
v-if="$vuetify.breakpoint.mdAndUp"

View File

@@ -1,7 +1,7 @@
<template>
<v-row>
<v-col cols="12">
<v-card class="mx-auto" width="100%"><app-btn @click="setMenu">确定分配</app-btn></v-card>
<v-card class="mx-auto" width="100%"><app-btn class="ma-2" @click="setMenu">确定分配</app-btn></v-card>
</v-col>
<v-col cols="12" md="4" lg="4">
<v-card class="mx-auto" width="100%">

View File

@@ -1,7 +1,5 @@
<template>
<v-card class="mx-auto" width="100%">
{{ select }}
{{ TableSelect }}
<ccCombobox
headers="设置角色"
:items="roleItems"