mirror of
https://github.com/Codennnn/vue-color-avatar.git
synced 2024-12-22 03:32:38 +00:00
Tweet i18n
This commit is contained in:
parent
8844b9b42a
commit
134928023d
@ -46,20 +46,6 @@
|
||||
:key="s.widgetType"
|
||||
:title="t(`widgetType.${s.widgetType}`)"
|
||||
>
|
||||
<ul class="widget-list">
|
||||
<li
|
||||
v-for="it in s.widgetList"
|
||||
:key="it.widgetShape"
|
||||
class="list-item"
|
||||
:class="{
|
||||
selected:
|
||||
it.widgetShape === avatarOption.widgets?.[s.widgetType]?.shape,
|
||||
}"
|
||||
@click="switchWidget(s.widgetType, it.widgetShape)"
|
||||
v-html="it.svgRaw"
|
||||
/>
|
||||
</ul>
|
||||
|
||||
<details
|
||||
v-if="
|
||||
s.widgetType === WidgetType.Tops ||
|
||||
@ -79,6 +65,20 @@
|
||||
</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
<ul class="widget-list">
|
||||
<li
|
||||
v-for="it in s.widgetList"
|
||||
:key="it.widgetShape"
|
||||
class="list-item"
|
||||
:class="{
|
||||
selected:
|
||||
it.widgetShape === avatarOption.widgets?.[s.widgetType]?.shape,
|
||||
}"
|
||||
@click="switchWidget(s.widgetType, it.widgetShape)"
|
||||
v-html="it.svgRaw"
|
||||
/>
|
||||
</ul>
|
||||
</SectionWrapper>
|
||||
</div>
|
||||
</PerfectScrollbar>
|
||||
@ -253,7 +253,7 @@ function setWidgetColor(widgetType: WidgetType, fillColor: string) {
|
||||
}
|
||||
|
||||
.color-picker {
|
||||
margin-top: 1rem;
|
||||
margin: 1rem 0 0.5rem 0;
|
||||
|
||||
summary {
|
||||
color: darken(var.$color-text, 20);
|
||||
|
@ -227,7 +227,6 @@ async function make() {
|
||||
padding: 0 1rem;
|
||||
color: var.$color-text;
|
||||
font-weight: bold;
|
||||
letter-spacing: 0.1rem;
|
||||
background: var.$color-gray;
|
||||
border-radius: 0.4rem;
|
||||
border-radius: 0.6rem;
|
||||
|
@ -8,7 +8,7 @@ export default {
|
||||
code: 'code',
|
||||
randomize: 'Randomize',
|
||||
download: 'Download',
|
||||
downloadMultiple: 'Download multiple',
|
||||
downloadMultiple: 'Generate multiple',
|
||||
copyCode: 'Copy',
|
||||
copied: 'Copied',
|
||||
downloading: 'Downloading',
|
||||
|
@ -8,7 +8,7 @@ export default {
|
||||
code: '配置代码',
|
||||
randomize: '随机生成',
|
||||
download: '下载头像',
|
||||
downloadMultiple: '批量下载',
|
||||
downloadMultiple: '批量生成',
|
||||
copyCode: '复制代码',
|
||||
copied: '已复制',
|
||||
downloading: '准备下载',
|
||||
|
Loading…
Reference in New Issue
Block a user