bx-1379-redesign #15

Merged
ksenia_mikhailova merged 124 commits from bx-1379-redesign into dev 2024-09-06 15:39:13 +03:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 857f3f0c03 - Show all commits

View File

@ -6,8 +6,9 @@ import { usePromoScene } from '../../stores/promo_scene';
const sidebar = usePromoSidebar() const sidebar = usePromoSidebar()
const sidebar_scene = usePromoScene() const sidebar_scene = usePromoScene()
const sidebar_obj = ref() const route = useRoute()
const sidebar_obj = ref()
const opened_desc = ref() const opened_desc = ref()
const openedChange = () => { const openedChange = () => {
@ -79,7 +80,9 @@ const toggleAccordion = (name: string) => {
v-for="p in (sidebar.description || sidebar_scene.description || '').replace(/(\n|\r)+/g, '\n').split('\n')"> v-for="p in (sidebar.description || sidebar_scene.description || '').replace(/(\n|\r)+/g, '\n').split('\n')">
<p>{{ p }}</p> <p>{{ p }}</p>
</template> </template>
<RouterLink :to="`/${route.params.item}/${sidebar.target}`" v-if="sidebar.target">
Перейти
</RouterLink>
</div> </div>
</div> </div>
</div> </div>