修改前端样式

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需包含用户名与密码 /// 登录,传入_user需包含用户名与密码
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
Task<bool> Login(user _user); //Task<user> Login(user _user);
/// <summary> /// <summary>
/// 注册,需要检测是否用户名重复 /// 注册,需要检测是否用户名重复

View File

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

View File

@@ -1,7 +1,7 @@
<template> <template>
<v-dialog v-model="dialog" persistent max-width="600px"> <v-dialog v-model="dialog" persistent max-width="600px">
<template v-slot:activator="{ on, attrs }"> <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 }} {{ headers }}
</v-btn> </v-btn>
</template> </template>

View File

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

View File

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

View File

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

View File

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

View File

@@ -9,9 +9,9 @@
<v-list-item-content class="pl-2"> <v-list-item-content class="pl-2">
<v-list-item-title class="text-h3"> <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-title>
</v-list-item-content> </v-list-item-content>
</v-list-item> </v-list-item>

View File

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

View File

@@ -1,7 +1,7 @@
<template> <template>
<v-row> <v-row>
<v-col cols="12"> <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>
<v-col cols="12" md="4" lg="4"> <v-col cols="12" md="4" lg="4">
<v-card class="mx-auto" width="100%"> <v-card class="mx-auto" width="100%">

View File

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