[WIP] Заменил инпуты с датой на baseInput, исправил стили, фикс станицы логина

This commit is contained in:
megavrilinvv
2023-01-17 16:01:41 +03:00
parent e667365f2d
commit 9d2dfbffa3
20 changed files with 86 additions and 107 deletions

View File

@@ -4,19 +4,16 @@
.flex.items-center(v-if="field.type === 'text' || field.type === 'textarea'" class="gap-x-2.5")
span.w-4.icon(v-if="field.icon" :class="field.icon")
base-input(v-model="data[field.label]" :with-icon="field.copy")
.copy.icon-copy.cursor-pointer(
v-if="field.copy && data[field.label]",
@click="() => copyValue(data[field.label])"
)
base-input-date(v-if="field.type === 'date'" v-model="data[field.label]")
.flex.items-center(v-if="field.copy && data[field.label]")
.copy.icon-copy.cursor-pointer(@click="() => copyValue(data[field.label])")
base-input(v-if="field.type === 'date'" v-model="data[field.label]")
</template>
<script>
import BaseInput from "@/components/base/BaseInput.vue";
import BaseInputDate from "@/components/base/BaseInputDate.vue";
export default {
name: "BaseDetailInput",
components: { BaseInput, BaseInputDate },
components: { BaseInput },
props: {
value: String,
field: Object,