2
0

fix:所有界面按钮风格统一

This commit is contained in:
zhongzm
2025-02-11 18:12:13 +08:00
parent 32aa82a599
commit eb883385e8
10 changed files with 18 additions and 11 deletions

View File

@@ -82,7 +82,7 @@ function handleView() {
<span>{{ $t('common.refresh') }}</span> <span>{{ $t('common.refresh') }}</span>
</div> </div>
</AButton> </AButton>
<AButton size="small" type="primary" @click="handleExport" v-show="showExport"> <AButton size="small" type="primary" ghost @click="handleExport" v-show="showExport">
<div class="flex-y-center gap-8px"> <div class="flex-y-center gap-8px">
<icon-mdi-refresh class="text-icon" :class="{ 'animate-spin': loading }" /> <icon-mdi-refresh class="text-icon" :class="{ 'animate-spin': loading }" />
<span>{{ $t('common.export') }}</span> <span>{{ $t('common.export') }}</span>

View File

@@ -17,7 +17,7 @@
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
<ASpace> <ASpace>
<AButton type="primary" @click="handleEdit(record)">{{ t('page.rule.edit') }}</AButton> <AButton type="primary" ghost @click="handleEdit(record)">{{ t('page.rule.edit') }}</AButton>
</ASpace> </ASpace>
</template> </template>
</template> </template>

View File

@@ -21,7 +21,7 @@
</AFormItem> </AFormItem>
<AFormItem> <AFormItem>
<ASpace> <ASpace>
<AButton type="primary" :loading="loading" @click="search"> <AButton type="primary" ghost :loading="loading" @click="search">
<template #icon> <template #icon>
<icon-mdi-search /> <icon-mdi-search />
</template> </template>

View File

@@ -30,7 +30,7 @@
</AFormItem> </AFormItem>
<AFormItem> <AFormItem>
<ASpace> <ASpace>
<AButton type="primary" :loading="loading" @click="search"> <AButton type="primary" ghost :loading="loading" @click="search">
<template #icon> <template #icon>
<icon-mdi-search /> <icon-mdi-search />
</template> </template>

View File

@@ -148,7 +148,7 @@ function handleSubmitSuccess() {
<SimpleScrollbar> <SimpleScrollbar>
<div class="min-h-500px flex-col-stretch gap-16px overflow-hidden lt-sm:overflow-auto"> <div class="min-h-500px flex-col-stretch gap-16px overflow-hidden lt-sm:overflow-auto">
<ACard :title="t('page.menu.title')"> <ACard :title="t('page.menu.title')">
<AButton mb-4 type="primary" @click="handleAdd">{{ t('page.menu.addmenu') }}</AButton> <AButton mb-4 type="primary" ghost @click="handleAdd">{{ t('page.menu.addmenu') }}</AButton>
<ATable <ATable
:checked-row-keys="checkedRowKeys" :checked-row-keys="checkedRowKeys"

View File

@@ -493,7 +493,7 @@ function fnExportList() {
</div> </div>
</AButton> </AButton>
<AButton size="small" type="primary" @click="fnExportList"> <AButton size="small" type="primary" ghost @click="fnExportList">
<template #icon> <template #icon>
<ExportOutlined /> <ExportOutlined />
</template> </template>

View File

@@ -94,8 +94,15 @@ const orderStatusOptions =computed(()=> [
</AFormItem> </AFormItem>
<AFormItem class="flex-1 justify-end"> <AFormItem class="flex-1 justify-end">
<ASpace> <ASpace>
<AButton @click="handleReset">{{ t('page.bill.reset') }}</AButton> <AButton type="primary" ghost @click="handleSearch">
<AButton type="primary" @click="handleSearch">{{ t('page.bill.search') }}</AButton> <template #icon>
<icon-mdi-search />
</template>
{{ t('page.bill.search') }}</AButton>
<AButton @click="handleReset">
<template #icon>
<icon-mdi-refresh />
</template>{{ t('page.bill.reset') }}</AButton>
</ASpace> </ASpace>
</AFormItem> </AFormItem>
</AForm> </AForm>

View File

@@ -71,7 +71,7 @@ function handleSearch() {
</AFormItem> </AFormItem>
<AFormItem class="flex-1 justify-end"> <AFormItem class="flex-1 justify-end">
<ASpace> <ASpace>
<AButton type="primary" @click="handleSearch"> <AButton type="primary" ghost @click="handleSearch">
<template #icon> <template #icon>
<icon-mdi-search /> <icon-mdi-search />
</template>{{ t('page.cdr.search') }}</AButton> </template>{{ t('page.cdr.search') }}</AButton>

View File

@@ -31,7 +31,7 @@
</AFormItem> </AFormItem>
<AFormItem class="flex-1 justify-end"> <AFormItem class="flex-1 justify-end">
<ASpace> <ASpace>
<AButton type="primary" @click="handleSearch"> <AButton type="primary" ghost @click="handleSearch">
<template #icon> <template #icon>
<icon-mdi-search /> <icon-mdi-search />
</template>{{ t('page.kyc.search') }}</AButton> </template>{{ t('page.kyc.search') }}</AButton>

View File

@@ -100,7 +100,7 @@ const handleSearch = () => {
</AFormItem> </AFormItem>
<AFormItem class="flex-1 justify-end mb-0"> <AFormItem class="flex-1 justify-end mb-0">
<ASpace> <ASpace>
<AButton type="primary" @click="handleSearch"> <AButton type="primary" ghost @click="handleSearch">
<template #icon> <template #icon>
<icon-mdi-search /> <icon-mdi-search />
</template>{{ t('page.user.search') }}</AButton> </template>{{ t('page.user.search') }}</AButton>