|
@@ -1,6 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<LoadingLogo v-if="hadVideo" :thumb="true" />
|
|
<LoadingLogo v-if="hadVideo" :thumb="true" />
|
|
<OpenVideo v-else @close="hadVideo = true" />
|
|
<OpenVideo v-else @close="hadVideo = true" />
|
|
|
|
+ <Guide />
|
|
|
|
|
|
<div class="ui-view-layout" :class="{ show: show }" is-mobile="true">
|
|
<div class="ui-view-layout" :class="{ show: show }" is-mobile="true">
|
|
<div class="scene" ref="scene$"></div>
|
|
<div class="scene" ref="scene$"></div>
|
|
@@ -53,6 +54,7 @@ import Information from "@/components/Information";
|
|
import Control from "@/components/Controls/Control.Mobile.vue";
|
|
import Control from "@/components/Controls/Control.Mobile.vue";
|
|
import LoadingLogo from "@/components/shared/Loading.vue";
|
|
import LoadingLogo from "@/components/shared/Loading.vue";
|
|
import OpenVideo from "@/components/openVideo/";
|
|
import OpenVideo from "@/components/openVideo/";
|
|
|
|
+import Guide from '@/components/shared/Guide.vue'
|
|
|
|
|
|
import { createApp } from "@/app";
|
|
import { createApp } from "@/app";
|
|
import { ref, onMounted, computed, nextTick, watch } from "vue";
|
|
import { ref, onMounted, computed, nextTick, watch } from "vue";
|
|
@@ -219,11 +221,11 @@ onMounted(async () => {
|
|
let priceMin = Math.min.apply(null, arr);
|
|
let priceMin = Math.min.apply(null, arr);
|
|
let priceMax = Math.max.apply(null, arr);
|
|
let priceMax = Math.max.apply(null, arr);
|
|
let price = priceMin == priceMax ? priceMax : `${priceMin}-${priceMax}`;
|
|
let price = priceMin == priceMax ? priceMax : `${priceMin}-${priceMax}`;
|
|
- let range = `${data.products[0].symbol} ${price}`;
|
|
|
|
|
|
+ let range = `${data.products[0]?data.products[0].symbol:'MOP$'} ${price}`;
|
|
return `<span class="tag-icon animate" style="background-image:url({{icon}})"></span>
|
|
return `<span class="tag-icon animate" style="background-image:url({{icon}})"></span>
|
|
<div class="tag-body">
|
|
<div class="tag-body">
|
|
<div data-id="${data.sid}" class="tag-commodity">
|
|
<div data-id="${data.sid}" class="tag-commodity">
|
|
- <div style="background-image:url(${data.products[0].pic})" class='tag-avatar'>
|
|
|
|
|
|
+ <div style="background-image:url(${data.products[0]?data.products[0].pic:''})" class='tag-avatar'>
|
|
</div>
|
|
</div>
|
|
<p class="tag-title">${data.title}</p>
|
|
<p class="tag-title">${data.title}</p>
|
|
<p class="tag-info">${range} | 查看 ></p>
|
|
<p class="tag-info">${range} | 查看 ></p>
|