[WIP] Добавил переключение изображений в просмотре

This commit is contained in:
DwCay
2023-06-28 17:42:08 +03:00
parent e984a50645
commit 37da2dbb20
4 changed files with 98 additions and 13 deletions

View File

@@ -11,7 +11,8 @@
.flex.w-full.gap-x-4
base-modal-showing-picture(
v-model="isShowsPicture",
:picture="value.pictures.find((el) => el.id === pictureId)?.photo",
:init-picture="value.pictures.find((el) => el.id === pictureId)",
:list-pictures="value.pictures"
)
.flex.flex-col.gap-y-2.p-2.rounded(
v-if="value.pictures.length || isEdit",

View File

@@ -1,5 +1,5 @@
<template lang="pug">
.flex.flex-col.w-full.gap-y-2
.wrapper.flex.flex-col.w-full.h-full.gap-y-2.overflow-y-auto
health-state-header
.flex(v-for="(data, i) in healthState")
health-state-form(v-model="healthState[i]")
@@ -20,3 +20,9 @@ export default {
},
};
</script>
<style lang="sass" scoped>
.wrapper
&::-webkit-scrollbar
width: 0
</style>