[WIP] Добавил переключение изображений в просмотре
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user