Skip to content

Commit

Permalink
style: 调整图标样式
Browse files Browse the repository at this point in the history
  • Loading branch information
ikxin committed Aug 10, 2023
1 parent ae1f34c commit 3a2befb
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 67 deletions.
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

64 changes: 8 additions & 56 deletions src/assets/icons/system.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/styles/custom.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ body {
font-family: 'AlimamaFangYuanTiVF';
src: url(@/assets/fonts/AlimamaFangYuanTiVF.woff2);
}

.arco-menu {
.arco-menu-inline {
.arco-menu-icon {
margin-right: 12px;
}
}
}
5 changes: 4 additions & 1 deletion src/views/activation/office.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ const copyScript = () => useScriptCopy(activateScript.value)

<template>
<div class="flex flex-col gap-4">
<ACard title="Office">
<ACard>
<template #title>
<div class="flex items-center gap-2"><i class="i-icons:office" />Office</div>
</template>
<AForm :model="formData" :rules="formRules" @submit="handleSubmit" auto-label-width>
<AFormItem :label="t('activate.form.label.version')" field="version">
<ASelect v-model="formData.version" :placeholder="t('activate.form.placeholder.version')">
Expand Down
5 changes: 4 additions & 1 deletion src/views/activation/windows-server.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ const copyScript = () => useScriptCopy(activateScript.value)

<template>
<div class="flex flex-col gap-4">
<ACard title="Windows Server">
<ACard>
<template #title>
<div class="flex items-center gap-2"><i class="i-icons:windows-server" />Windows Server</div>
</template>
<AForm :model="formData" :rules="formRules" @submit="handleSubmit" auto-label-width>
<AFormItem :label="t('activate.form.label.version')" field="version">
<ASelect v-model="formData.version" :placeholder="t('activate.form.placeholder.version')">
Expand Down
5 changes: 4 additions & 1 deletion src/views/activation/windows.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ const copyScript = () => useScriptCopy(activateScript.value)

<template>
<div class="flex flex-col gap-4">
<ACard title="Windows">
<ACard>
<template #title>
<div class="flex items-center gap-2"><i class="i-icons:windows" />Windows</div>
</template>
<AForm :model="formData" :rules="formRules" @submit="handleSubmit" auto-label-width>
<AFormItem :label="t('activate.form.label.version')" field="version">
<ASelect v-model="formData.version" :placeholder="t('activate.form.placeholder.version')">
Expand Down

0 comments on commit 3a2befb

Please sign in to comment.