image
Gitea Actions Requirements / Explore-Gitea-Actions (push) Waiting to run
Details
Gitea Actions Requirements / Explore-Gitea-Actions (push) Waiting to run
Details
This commit is contained in:
parent
79d2a502b6
commit
66aaf30fdd
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
Loading…
Reference in New Issue