修改前端样式

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

@@ -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>