wip emojigen 36(add preview color, fix link)
This commit is contained in:
parent
042d5f8c2d
commit
ffeb109afd
@ -47,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<FormInput v-model="emojiColor" class="_formBlock" :style="{ color: emojiColor }">
|
<FormInput v-model="emojiColor" class="_formBlock" :style="{ color: '#' + emojiColor }">
|
||||||
<template #prefix><i class="fas fa-palette"></i></template>
|
<template #prefix><i class="fas fa-palette"></i></template>
|
||||||
<template #label>{{ $ts.emojiColor }}</template>
|
<template #label>{{ $ts.emojiColor }}</template>
|
||||||
<template #caption>#RRGGBB</template>
|
<template #caption>#RRGGBB</template>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<FormSection>
|
<FormSection>
|
||||||
<template #label>{{ $ts.preview }}</template>
|
<template #label>{{ $ts.preview }}</template>
|
||||||
<img :src="emojiUrl" class="img" :alt="emojiName"/>
|
<img :src="emojiUrl" class="img" :alt="emojiName"/>
|
||||||
<a :href="emojiUrl"><p>{{ emojiUrl }}</p></a>
|
<MkLink :url="emojiUrl">{{ emojiUrl }}</MkLink>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
<FormButton primary class="_formBlock" @click="emojiApproval">{{ $ts.emojiApproval }}</FormButton>
|
<FormButton primary class="_formBlock" @click="emojiApproval">{{ $ts.emojiApproval }}</FormButton>
|
||||||
</div>
|
</div>
|
||||||
@ -74,6 +74,7 @@ import FormTextarea from '@/components/form/textarea.vue';
|
|||||||
import FormRadios from '@/components/form/radios.vue';
|
import FormRadios from '@/components/form/radios.vue';
|
||||||
import FormSection from '@/components/form/section.vue';
|
import FormSection from '@/components/form/section.vue';
|
||||||
import FormButton from '@/components/ui/button.vue';
|
import FormButton from '@/components/ui/button.vue';
|
||||||
|
import MkLink from '@/components/link.vue';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import * as symbols from '@/symbols';
|
import * as symbols from '@/symbols';
|
||||||
import {defaultStore} from "@/store";
|
import {defaultStore} from "@/store";
|
||||||
@ -88,6 +89,7 @@ export default defineComponent({
|
|||||||
FormSection,
|
FormSection,
|
||||||
FormSwitch,
|
FormSwitch,
|
||||||
FormButton,
|
FormButton,
|
||||||
|
MkLink,
|
||||||
},
|
},
|
||||||
|
|
||||||
emits: ['info'],
|
emits: ['info'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user