fix:所有界面按钮风格统一
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user