mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 13:57:10 -04:00
refactor(style): updated linter config
This commit is contained in:
parent
39746e07c5
commit
6b58ec554a
27 changed files with 1144 additions and 571 deletions
|
@ -1,26 +1,51 @@
|
|||
<template>
|
||||
<div>
|
||||
<n-card title="Arabic to roman">
|
||||
<n-space align="center" justify="space-between">
|
||||
<n-input-number
|
||||
v-model:value="inputNumeral"
|
||||
:min="1"
|
||||
style="width: 200px;"
|
||||
:show-button="false"
|
||||
/>
|
||||
<div class="result">{{ outputRoman }}</div>
|
||||
<n-button @click="copyRoman" secondary autofocus>Copy</n-button>
|
||||
</n-space>
|
||||
</n-card>
|
||||
<br />
|
||||
<n-card title="Roman to arabic">
|
||||
<n-space align="center" justify="space-between">
|
||||
<n-input v-model:value="inputRoman" style="width: 200px;" />
|
||||
<div class="result">{{ outputNumeral }}</div>
|
||||
<n-button @click="copyArabic" secondary autofocus>Copy</n-button>
|
||||
</n-space>
|
||||
</n-card>
|
||||
</div>
|
||||
<div>
|
||||
<n-card title="Arabic to roman">
|
||||
<n-space
|
||||
align="center"
|
||||
justify="space-between"
|
||||
>
|
||||
<n-input-number
|
||||
v-model:value="inputNumeral"
|
||||
:min="1"
|
||||
style="width: 200px;"
|
||||
:show-button="false"
|
||||
/>
|
||||
<div class="result">
|
||||
{{ outputRoman }}
|
||||
</div>
|
||||
<n-button
|
||||
secondary
|
||||
autofocus
|
||||
@click="copyRoman"
|
||||
>
|
||||
Copy
|
||||
</n-button>
|
||||
</n-space>
|
||||
</n-card>
|
||||
<br>
|
||||
<n-card title="Roman to arabic">
|
||||
<n-space
|
||||
align="center"
|
||||
justify="space-between"
|
||||
>
|
||||
<n-input
|
||||
v-model:value="inputRoman"
|
||||
style="width: 200px;"
|
||||
/>
|
||||
<div class="result">
|
||||
{{ outputNumeral }}
|
||||
</div>
|
||||
<n-button
|
||||
secondary
|
||||
autofocus
|
||||
@click="copyArabic"
|
||||
>
|
||||
Copy
|
||||
</n-button>
|
||||
</n-space>
|
||||
</n-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue