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>
</div>
</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">
<icon-mdi-refresh class="text-icon" :class="{ 'animate-spin': loading }" />
<span>{{ $t('common.export') }}</span>

View File

@@ -17,7 +17,7 @@
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<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>
</template>
</template>

View File

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

View File

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

View File

@@ -148,7 +148,7 @@ function handleSubmitSuccess() {
<SimpleScrollbar>
<div class="min-h-500px flex-col-stretch gap-16px overflow-hidden lt-sm:overflow-auto">
<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
:checked-row-keys="checkedRowKeys"

View File

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

View File

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

View File

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

View File

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

View File

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