修复官网选购咨询入口与图片失败降级

This commit is contained in:
cieanyau committed 2026-11-06 04:48:38 +08:00
1 parent d8224ec5b7
commit 08ffc51894
5 files changed
+463 -89

No files matched your search

+52 -49
View File
@@ -22,6 +22,7 @@ import { createVNode } from "vue";
import { openBlock } from "vue";
import { normalizeStyle } from "vue";
import { NuxtLink } from "#components";
import OfficialImage from "~/components/OfficialImage.vue";
import { i as useOfficialSiteContent_i } from "~/lib/useOfficialSiteContent.js";
import { n as useOfficialSiteContent_n } from "~/lib/useOfficialSiteContent.js";
import { r as useOfficialSiteContent_r } from "~/lib/useOfficialSiteContent.js";
@@ -32,7 +33,6 @@ var S = {
C = {
class: `official-header-inner`,
},
w = [`src`, `alt`],
T = {
key: 1,
class: `official-brand-mark`,
@@ -69,7 +69,6 @@ var S = {
I = {
class: `official-footer-brand`,
},
te = [`src`, `alt`],
L = {
key: 1,
class: `official-brand-mark`,
@@ -94,7 +93,6 @@ var S = {
key: 3,
class: `official-footer-qr`,
},
K = [`src`, `alt`],
q = {
class: `official-footer-bottom`,
},
@@ -149,28 +147,26 @@ var S = {
},
{
default: withCtx(() => [
unref($)
? (openBlock(),
createElementBlock(
`img`,
{
key: 0,
class: `official-brand-image`,
src: unref($),
alt: unref(Y).brand.name,
},
null,
8,
w,
))
: (openBlock(),
createElementBlock(`span`, T, [
...(i[3] ||= [
createElementVNode(`span`, null, null, -1),
createElementVNode(`span`, null, null, -1),
createElementVNode(`span`, null, null, -1),
createVNode(
OfficialImage,
{
class: `official-brand-image`,
src: unref($),
alt: unref(Y).brand.name,
},
{
default: withCtx(() => [
createElementVNode(`span`, T, [
createElementVNode(`span`),
createElementVNode(`span`),
createElementVNode(`span`),
]),
])),
]),
_: 1,
},
8,
[`src`, `alt`],
),
createElementVNode(`span`, E, [
createElementVNode(
`strong`,
@@ -337,28 +333,26 @@ var S = {
},
{
default: withCtx(() => [
unref($)
? (openBlock(),
createElementBlock(
`img`,
{
key: 0,
class: `official-brand-image`,
src: unref($),
alt: unref(Y).brand.name,
},
null,
8,
te,
))
: (openBlock(),
createElementBlock(`span`, L, [
...(i[5] ||= [
createElementVNode(`span`, null, null, -1),
createElementVNode(`span`, null, null, -1),
createElementVNode(`span`, null, null, -1),
createVNode(
OfficialImage,
{
class: `official-brand-image`,
src: unref($),
alt: unref(Y).brand.name,
},
{
default: withCtx(() => [
createElementVNode(`span`, L, [
createElementVNode(`span`),
createElementVNode(`span`),
createElementVNode(`span`),
]),
])),
]),
_: 1,
},
8,
[`src`, `alt`],
),
createElementVNode(`span`, R, [
createElementVNode(
`strong`,
@@ -523,17 +517,26 @@ var S = {
unref(Y).footer.qrImage
? (openBlock(),
createElementBlock(`div`, G, [
createElementVNode(
`img`,
createVNode(
OfficialImage,
{
src: unref(useOfficialSiteContent_i)(
unref(Y).footer.qrImage,
),
alt: unref(Y).footer.qrCaption,
},
null,
{
default: withCtx(() => [
createElementVNode(
`span`,
null,
`二维码暂时无法显示,请使用工单咨询`,
),
]),
_: 1,
},
8,
K,
[`src`, `alt`],
),
createElementVNode(
`span`,