image
Gitea Actions Requirements / Explore-Gitea-Actions (push) Waiting to run Details

This commit is contained in:
Kseninia Mikhaylova 2024-04-27 10:35:48 +03:00
parent 79d2a502b6
commit 66aaf30fdd
2 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,9 @@ onMounted(async () => {
<div v-if="state.active_product"> <div v-if="state.active_product">
<model-fbx v-if="state.active_product.model3d" class="product-model" <model-fbx v-if="state.active_product.model3d" class="product-model"
:src="`${SERVER_URL}/${state.active_product.model3d.replace('/back', '')}`"></model-fbx> :src="`${SERVER_URL}/${state.active_product.model3d.replace('/back', '')}`"></model-fbx>
<div class="model-image" v-if="state.active_product.image1">
<img :src="state.active_product.image1" />
</div>
<div class="product-description"> <div class="product-description">
{{ state.active_product.description }} {{ state.active_product.description }}
</div> </div>

View File

@ -26,6 +26,9 @@ export const useProductStore = defineStore('product', {
export interface ProductInfo { export interface ProductInfo {
id: number id: number
title: string title: string
model3d: string
description: string description: string
model3d?: string
image1?: string
image2?: string
image3?: string
} }