|
1 | 1 | <template> |
2 | 2 | <s-scroll-view> |
3 | | - <s-empty>{{ t('title.inDev') }}</s-empty> |
| 3 | + <div id="options"> |
| 4 | + |
| 5 | + <s-divider>{{ t("title.global") }}</s-divider> |
| 6 | + |
| 7 | + <div class="option"> |
| 8 | + <span class="label">{{ t("inputs.grid") }}</span> |
| 9 | + <s-switch></s-switch> |
| 10 | + </div> |
| 11 | + <div class="option"> |
| 12 | + <span class="label">{{ t("inputs.caption") }}</span> |
| 13 | + <s-text-field :label="t('inputs.caption')"></s-text-field> |
| 14 | + </div> |
| 15 | + |
| 16 | + <s-divider>{{ t("title.horizontal") }}</s-divider> |
| 17 | + <div class="option"> |
| 18 | + <span class="label">{{ t("inputs.grow") }}</span> |
| 19 | + <s-picker :label="t('inputs.grow')" :key="locale"> |
| 20 | + <s-picker-item value="linear" selected>{{ |
| 21 | + t("inputs.linear") |
| 22 | + }}</s-picker-item> |
| 23 | + <s-picker-item value="log">{{ t("inputs.log") }}</s-picker-item> |
| 24 | + </s-picker> |
| 25 | + </div> |
| 26 | + <div class="option"> |
| 27 | + <span class="label">{{ t("inputs.caption") }}</span> |
| 28 | + <s-text-field :label="t('inputs.caption')"></s-text-field> |
| 29 | + </div> |
| 30 | + <div class="option"> |
| 31 | + <span class="label">{{ t("inputs.range") }}</span> |
| 32 | + <s-text-field :label="t('inputs.caption')"></s-text-field> |
| 33 | + </div> |
| 34 | + |
| 35 | + <s-divider>{{ t("title.vertical") }}</s-divider> |
| 36 | + <div class="option"> |
| 37 | + <span class="label">{{ t("inputs.grow") }}</span> |
| 38 | + <s-picker :label="t('inputs.grow')" :key="locale"> |
| 39 | + <s-picker-item value="linear" selected>{{ |
| 40 | + t("inputs.linear") |
| 41 | + }}</s-picker-item> |
| 42 | + <s-picker-item value="log">{{ t("inputs.log") }}</s-picker-item> |
| 43 | + </s-picker> |
| 44 | + </div> |
| 45 | + <div class="option"> |
| 46 | + <span class="label">{{ t("inputs.caption") }}</span> |
| 47 | + <s-text-field :label="t('inputs.caption')"></s-text-field> |
| 48 | + </div> |
| 49 | + <div class="option"> |
| 50 | + <span class="label">{{ t("inputs.range") }}</span> |
| 51 | + <s-text-field :label="t('inputs.caption')"></s-text-field> |
| 52 | + </div> |
| 53 | + </div> |
4 | 54 | </s-scroll-view> |
5 | 55 | </template> |
6 | 56 |
|
7 | 57 | <script setup lang="ts"> |
8 | 58 | import { useI18n } from "vue-i18n"; |
9 | | -const { t } = useI18n(); |
| 59 | +const { t ,locale} = useI18n(); |
10 | 60 | </script> |
| 61 | + |
| 62 | +<style> |
| 63 | +#options { |
| 64 | + display: flex; |
| 65 | + flex-direction: column; |
| 66 | + gap: 10px; |
| 67 | + padding-top: 5px; |
| 68 | +} |
| 69 | +#options s-divider { |
| 70 | + font-size: 0.8em; |
| 71 | + margin: 5px 15px; |
| 72 | +} |
| 73 | +.option { |
| 74 | + display: flex; |
| 75 | + align-items: center; |
| 76 | + justify-content: space-between; |
| 77 | + margin: 0 30px; |
| 78 | +} |
| 79 | +</style> |
0 commit comments