863 lines
99 KiB
Plaintext
863 lines
99 KiB
Plaintext
import { createHotContext as __vite__createHotContext } from "/@vite/client";import.meta.hot = __vite__createHotContext("/src/views/HomeView.vue");/* unplugin-vue-components disabled */import { Spin as __unplugin_components_2 } from "/node_modules/.vite/deps/ant-design-vue_es.js?v=e2549d3d";import "/node_modules/.vite/deps/ant-design-vue_es_spin_style.js?v=e2549d3d";
|
||||
|
|
import { Modal as __unplugin_components_1 } from "/node_modules/.vite/deps/ant-design-vue_es.js?v=e2549d3d";import "/node_modules/.vite/deps/ant-design-vue_es_modal_style.js?v=e2549d3d";
|
|||
|
|
import { Avatar as __unplugin_components_0 } from "/node_modules/.vite/deps/ant-design-vue_es.js?v=e2549d3d";import "/node_modules/.vite/deps/ant-design-vue_es_avatar_style.js?v=e2549d3d";
|
|||
|
|
import { defineComponent as _defineComponent } from "/node_modules/.vite/deps/vue.js?v=e2549d3d";
|
|||
|
|
import { computed, onMounted, onUnmounted, ref } from "/node_modules/.vite/deps/vue.js?v=e2549d3d";
|
|||
|
|
import { useRouter } from "/node_modules/.vite/deps/vue-router.js?v=e2549d3d";
|
|||
|
|
import { message } from "/node_modules/.vite/deps/ant-design-vue.js?v=e2549d3d";
|
|||
|
|
import {
|
|||
|
|
CalendarOutlined,
|
|||
|
|
HeartOutlined,
|
|||
|
|
MenuOutlined,
|
|||
|
|
RightOutlined,
|
|||
|
|
SearchOutlined,
|
|||
|
|
ShopOutlined,
|
|||
|
|
ShoppingOutlined
|
|||
|
|
} from "/node_modules/.vite/deps/@ant-design_icons-vue.js?v=e2549d3d";
|
|||
|
|
import { userApi } from "/src/api/user.ts";
|
|||
|
|
import { productApi } from "/src/api/product.ts";
|
|||
|
|
import { shopApi } from "/src/api/shop.ts";
|
|||
|
|
import { fileApi } from "/src/api/file.ts";
|
|||
|
|
import { DEFAULT_AVATAR, DEFAULT_PRODUCT_IMAGE } from "/src/constants/index.ts";
|
|||
|
|
import { extractRichText, renderRichContent } from "/src/utils/rich-content.ts";
|
|||
|
|
const pageSize = 8;
|
|||
|
|
const _sfc_main = /* @__PURE__ */ _defineComponent({
|
|||
|
|
__name: "HomeView",
|
|||
|
|
setup(__props, { expose: __expose }) {
|
|||
|
|
__expose();
|
|||
|
|
const router = useRouter();
|
|||
|
|
const userInfo = ref(null);
|
|||
|
|
const publicShops = ref([]);
|
|||
|
|
const bannerImages = ref([]);
|
|||
|
|
const featuredItems = ref([]);
|
|||
|
|
const popularSource = ref([]);
|
|||
|
|
const popularItems = ref([]);
|
|||
|
|
const announcements = ref([]);
|
|||
|
|
const selectedAnnouncement = ref(null);
|
|||
|
|
const announcementDetailOpen = ref(false);
|
|||
|
|
const productImageCache = ref({});
|
|||
|
|
const searchQuery = ref("");
|
|||
|
|
const loading = ref(false);
|
|||
|
|
const hasMore = ref(true);
|
|||
|
|
const page = ref(1);
|
|||
|
|
const isLoggedIn = computed(() => Boolean(localStorage.getItem("accessToken") || sessionStorage.getItem("accessToken")));
|
|||
|
|
const greeting = computed(() => isLoggedIn.value ? "欢迎回来" : "游客模式");
|
|||
|
|
const displayName = computed(() => userInfo.value?.nickname || (isLoggedIn.value ? "用户" : "先看看门店和作品"));
|
|||
|
|
const announcementLoop = computed(() => [...announcements.value, ...announcements.value].map((item, index) => ({ ...item, loopKey: index })));
|
|||
|
|
const selectedAnnouncementContentHtml = computed(() => renderRichContent(selectedAnnouncement.value?.content || "暂无公告内容"));
|
|||
|
|
const heroBanner = computed(() => bannerImages.value[0]);
|
|||
|
|
const featuredPreview = computed(() => featuredItems.value.slice(0, 4));
|
|||
|
|
const popularPreview = computed(() => popularItems.value.slice(0, 4));
|
|||
|
|
const shopPreview = computed(() => bannerImages.value.slice(0, 3));
|
|||
|
|
const openAnnouncementDetail = (item) => {
|
|||
|
|
selectedAnnouncement.value = item;
|
|||
|
|
announcementDetailOpen.value = true;
|
|||
|
|
};
|
|||
|
|
const formatAnnouncementTime = (value) => {
|
|||
|
|
if (!value) return "";
|
|||
|
|
return value.replace("T", " ").slice(0, 16);
|
|||
|
|
};
|
|||
|
|
const getAnnouncementPreview = (item) => extractRichText(item.content) || item.title || "公告";
|
|||
|
|
const getRandomColor = () => {
|
|||
|
|
const colors = ["var(--theme-primary-soft)", "var(--secondary-bg-color)", "var(--theme-page-bg)"];
|
|||
|
|
return colors[Math.floor(Math.random() * colors.length)] ?? "var(--theme-primary-soft)";
|
|||
|
|
};
|
|||
|
|
const getProductCoverUrl = async (product) => {
|
|||
|
|
const firstImageId = product.imageFileIds?.split(",").map((id) => id.trim()).find(Boolean);
|
|||
|
|
if (!firstImageId) {
|
|||
|
|
return DEFAULT_PRODUCT_IMAGE;
|
|||
|
|
}
|
|||
|
|
if (!productImageCache.value[firstImageId]) {
|
|||
|
|
try {
|
|||
|
|
productImageCache.value[firstImageId] = await fileApi.getSignedUrl(firstImageId);
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("获取首页作品封面失败:", error);
|
|||
|
|
productImageCache.value[firstImageId] = DEFAULT_PRODUCT_IMAGE;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
return productImageCache.value[firstImageId] || DEFAULT_PRODUCT_IMAGE;
|
|||
|
|
};
|
|||
|
|
const formatProductCards = async (products) => Promise.all(products.map(async (item) => ({
|
|||
|
|
id: item.id,
|
|||
|
|
name: item.title || item.name || "未命名作品",
|
|||
|
|
price: Number(item.price || 0).toFixed(2),
|
|||
|
|
meta: item.approximateDuration || item.shopName || "支持预约",
|
|||
|
|
shopName: item.shopName,
|
|||
|
|
coverUrl: await getProductCoverUrl(item),
|
|||
|
|
bgColor: getRandomColor()
|
|||
|
|
})));
|
|||
|
|
const appendPopularItems = (loadMore = false) => {
|
|||
|
|
const nextItems = popularSource.value.slice(0, page.value * pageSize);
|
|||
|
|
popularItems.value = nextItems;
|
|||
|
|
hasMore.value = nextItems.length < popularSource.value.length;
|
|||
|
|
if (!loadMore && nextItems.length === 0) {
|
|||
|
|
hasMore.value = false;
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const loadUserInfo = async () => {
|
|||
|
|
if (!isLoggedIn.value) {
|
|||
|
|
userInfo.value = null;
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
try {
|
|||
|
|
const response = await userApi.getUserInfo();
|
|||
|
|
userInfo.value = response || null;
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("获取用户信息失败:", error);
|
|||
|
|
userInfo.value = null;
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const loadPublicShops = async () => {
|
|||
|
|
try {
|
|||
|
|
const shops = await shopApi.getPublicShops();
|
|||
|
|
publicShops.value = Array.isArray(shops) ? shops : [];
|
|||
|
|
await loadBannerImages();
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("获取门店列表失败:", error);
|
|||
|
|
publicShops.value = [];
|
|||
|
|
bannerImages.value = [];
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const loadBannerImages = async () => {
|
|||
|
|
const banners = [];
|
|||
|
|
for (const shop of publicShops.value) {
|
|||
|
|
const coverIds = (shop.coverImageFileId || shop.imageFileIds || "").split(",").map((id) => id.trim()).filter(Boolean);
|
|||
|
|
for (const id of coverIds) {
|
|||
|
|
try {
|
|||
|
|
const url = await fileApi.getSignedUrl(id);
|
|||
|
|
if (url) {
|
|||
|
|
banners.push({
|
|||
|
|
id: `${shop.id}-${id}`,
|
|||
|
|
shopId: shop.id,
|
|||
|
|
shopName: shop.shopName,
|
|||
|
|
businessHours: shop.businessHours,
|
|||
|
|
url
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("获取门店轮播图失败:", error);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
bannerImages.value = banners.slice(0, 8);
|
|||
|
|
};
|
|||
|
|
const loadFeaturedProducts = async () => {
|
|||
|
|
try {
|
|||
|
|
let products = await productApi.getProductsByTag("精选");
|
|||
|
|
if (!Array.isArray(products) || products.length === 0) {
|
|||
|
|
products = await productApi.getAllProducts();
|
|||
|
|
}
|
|||
|
|
featuredItems.value = await formatProductCards((products || []).slice(0, 6));
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("获取精选作品失败:", error);
|
|||
|
|
featuredItems.value = [];
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const loadPopularProducts = async () => {
|
|||
|
|
loading.value = true;
|
|||
|
|
try {
|
|||
|
|
let products = await productApi.getProductsByTag("热门");
|
|||
|
|
if (!Array.isArray(products) || products.length === 0) {
|
|||
|
|
products = await productApi.getAllProducts();
|
|||
|
|
}
|
|||
|
|
popularSource.value = await formatProductCards(products || []);
|
|||
|
|
page.value = 1;
|
|||
|
|
appendPopularItems();
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("获取热门作品失败:", error);
|
|||
|
|
popularSource.value = [];
|
|||
|
|
popularItems.value = [];
|
|||
|
|
hasMore.value = false;
|
|||
|
|
} finally {
|
|||
|
|
loading.value = false;
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const loadAnnouncements = async () => {
|
|||
|
|
if (!isLoggedIn.value) {
|
|||
|
|
announcements.value = [];
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
try {
|
|||
|
|
announcements.value = await userApi.listMyAnnouncements() || [];
|
|||
|
|
} catch (error) {
|
|||
|
|
console.error("加载公告失败:", error);
|
|||
|
|
announcements.value = [];
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const handleScroll = () => {
|
|||
|
|
if (loading.value || !hasMore.value) {
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
|
|||
|
|
const scrollHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
|
|||
|
|
const clientHeight = document.documentElement.clientHeight;
|
|||
|
|
if (scrollTop + clientHeight >= scrollHeight - 120) {
|
|||
|
|
page.value += 1;
|
|||
|
|
appendPopularItems(true);
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
const handleUserClick = () => {
|
|||
|
|
if (isLoggedIn.value) {
|
|||
|
|
router.push("/profile");
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
message.info("登录后可查看个人中心、收藏和订单");
|
|||
|
|
router.push("/");
|
|||
|
|
};
|
|||
|
|
const handleSearch = () => {
|
|||
|
|
const keyword = searchQuery.value.trim();
|
|||
|
|
router.push(keyword ? { path: "/products", query: { keyword } } : "/products");
|
|||
|
|
};
|
|||
|
|
const handleSeeAll = (type) => {
|
|||
|
|
router.push({
|
|||
|
|
path: "/products",
|
|||
|
|
query: type === "featured" ? { tag: "精选" } : { tag: "热门" }
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
const handleProductClick = (item) => {
|
|||
|
|
router.push(`/product/${item.id}`);
|
|||
|
|
};
|
|||
|
|
const openShopById = (shopId) => {
|
|||
|
|
router.push(`/shop/${shopId}`);
|
|||
|
|
};
|
|||
|
|
onMounted(async () => {
|
|||
|
|
const homeTasks = [
|
|||
|
|
loadUserInfo(),
|
|||
|
|
loadAnnouncements(),
|
|||
|
|
loadFeaturedProducts(),
|
|||
|
|
loadPopularProducts()
|
|||
|
|
];
|
|||
|
|
if (!isLoggedIn.value) {
|
|||
|
|
homeTasks.push(loadPublicShops());
|
|||
|
|
}
|
|||
|
|
await Promise.all(homeTasks);
|
|||
|
|
window.addEventListener("scroll", handleScroll);
|
|||
|
|
});
|
|||
|
|
onUnmounted(() => {
|
|||
|
|
window.removeEventListener("scroll", handleScroll);
|
|||
|
|
});
|
|||
|
|
const __returned__ = { router, userInfo, publicShops, bannerImages, featuredItems, popularSource, popularItems, announcements, selectedAnnouncement, announcementDetailOpen, productImageCache, searchQuery, loading, hasMore, page, pageSize, isLoggedIn, greeting, displayName, announcementLoop, selectedAnnouncementContentHtml, heroBanner, featuredPreview, popularPreview, shopPreview, openAnnouncementDetail, formatAnnouncementTime, getAnnouncementPreview, getRandomColor, getProductCoverUrl, formatProductCards, appendPopularItems, loadUserInfo, loadPublicShops, loadBannerImages, loadFeaturedProducts, loadPopularProducts, loadAnnouncements, handleScroll, handleUserClick, handleSearch, handleSeeAll, handleProductClick, openShopById, get CalendarOutlined() {
|
|||
|
|
return CalendarOutlined;
|
|||
|
|
}, get HeartOutlined() {
|
|||
|
|
return HeartOutlined;
|
|||
|
|
}, get MenuOutlined() {
|
|||
|
|
return MenuOutlined;
|
|||
|
|
}, get RightOutlined() {
|
|||
|
|
return RightOutlined;
|
|||
|
|
}, get SearchOutlined() {
|
|||
|
|
return SearchOutlined;
|
|||
|
|
}, get ShopOutlined() {
|
|||
|
|
return ShopOutlined;
|
|||
|
|
}, get ShoppingOutlined() {
|
|||
|
|
return ShoppingOutlined;
|
|||
|
|
}, get DEFAULT_AVATAR() {
|
|||
|
|
return DEFAULT_AVATAR;
|
|||
|
|
}, get DEFAULT_PRODUCT_IMAGE() {
|
|||
|
|
return DEFAULT_PRODUCT_IMAGE;
|
|||
|
|
} };
|
|||
|
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|||
|
|
return __returned__;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
import { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, vModelText as _vModelText, withDirectives as _withDirectives, withModifiers as _withModifiers, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from "/node_modules/.vite/deps/vue.js?v=e2549d3d";
|
|||
|
|
const _hoisted_1 = { class: "mobile-container home-page" };
|
|||
|
|
const _hoisted_2 = { class: "home-topbar" };
|
|||
|
|
const _hoisted_3 = { class: "hero" };
|
|||
|
|
const _hoisted_4 = { class: "hero-kicker" };
|
|||
|
|
const _hoisted_5 = {
|
|||
|
|
key: 0,
|
|||
|
|
class: "announcement-bar"
|
|||
|
|
};
|
|||
|
|
const _hoisted_6 = { class: "announcement-track" };
|
|||
|
|
const _hoisted_7 = ["onClick"];
|
|||
|
|
const _hoisted_8 = {
|
|||
|
|
key: 0,
|
|||
|
|
class: "announcement-detail"
|
|||
|
|
};
|
|||
|
|
const _hoisted_9 = { class: "announcement-detail__meta" };
|
|||
|
|
const _hoisted_10 = ["innerHTML"];
|
|||
|
|
const _hoisted_11 = ["src", "alt"];
|
|||
|
|
const _hoisted_12 = ["src"];
|
|||
|
|
const _hoisted_13 = { class: "feature-banner__copy" };
|
|||
|
|
const _hoisted_14 = {
|
|||
|
|
class: "quick-actions",
|
|||
|
|
"aria-label": "快捷入口"
|
|||
|
|
};
|
|||
|
|
const _hoisted_15 = { class: "section" };
|
|||
|
|
const _hoisted_16 = { class: "section-header" };
|
|||
|
|
const _hoisted_17 = { class: "product-grid" };
|
|||
|
|
const _hoisted_18 = ["onClick"];
|
|||
|
|
const _hoisted_19 = { class: "product-img" };
|
|||
|
|
const _hoisted_20 = ["src", "alt"];
|
|||
|
|
const _hoisted_21 = { key: 1 };
|
|||
|
|
const _hoisted_22 = { class: "product-info" };
|
|||
|
|
const _hoisted_23 = { class: "name" };
|
|||
|
|
const _hoisted_24 = { class: "meta" };
|
|||
|
|
const _hoisted_25 = { class: "product-foot" };
|
|||
|
|
const _hoisted_26 = { class: "price" };
|
|||
|
|
const _hoisted_27 = { class: "section popular-section" };
|
|||
|
|
const _hoisted_28 = { class: "section-header" };
|
|||
|
|
const _hoisted_29 = { class: "product-grid" };
|
|||
|
|
const _hoisted_30 = ["onClick"];
|
|||
|
|
const _hoisted_31 = { class: "product-img" };
|
|||
|
|
const _hoisted_32 = ["src", "alt"];
|
|||
|
|
const _hoisted_33 = { key: 1 };
|
|||
|
|
const _hoisted_34 = { class: "product-info" };
|
|||
|
|
const _hoisted_35 = { class: "name" };
|
|||
|
|
const _hoisted_36 = { class: "meta" };
|
|||
|
|
const _hoisted_37 = { class: "product-foot" };
|
|||
|
|
const _hoisted_38 = { class: "price" };
|
|||
|
|
const _hoisted_39 = {
|
|||
|
|
key: 0,
|
|||
|
|
class: "loading-more"
|
|||
|
|
};
|
|||
|
|
const _hoisted_40 = {
|
|||
|
|
key: 1,
|
|||
|
|
class: "no-more"
|
|||
|
|
};
|
|||
|
|
const _hoisted_41 = {
|
|||
|
|
key: 2,
|
|||
|
|
class: "no-products"
|
|||
|
|
};
|
|||
|
|
const _hoisted_42 = {
|
|||
|
|
key: 1,
|
|||
|
|
class: "section shop-section"
|
|||
|
|
};
|
|||
|
|
const _hoisted_43 = { class: "section-header" };
|
|||
|
|
const _hoisted_44 = { class: "shop-strip" };
|
|||
|
|
const _hoisted_45 = ["onClick"];
|
|||
|
|
const _hoisted_46 = ["src", "alt"];
|
|||
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
|
|
const _component_a_avatar = __unplugin_components_0;
|
|||
|
|
const _component_a_modal = __unplugin_components_1;
|
|||
|
|
const _component_a_spin = __unplugin_components_2;
|
|||
|
|
return _openBlock(), _createElementBlock("div", _hoisted_1, [
|
|||
|
|
_createElementVNode("header", _hoisted_2, [
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
class: "yumi-icon-button",
|
|||
|
|
type: "button",
|
|||
|
|
"aria-label": "打开菜单",
|
|||
|
|
onClick: _cache[0] || (_cache[0] = ($event) => $setup.router.push("/profile"))
|
|||
|
|
}, [
|
|||
|
|
_createVNode($setup["MenuOutlined"])
|
|||
|
|
]),
|
|||
|
|
_cache[12] || (_cache[12] = _createElementVNode(
|
|||
|
|
"strong",
|
|||
|
|
{ class: "home-brand" },
|
|||
|
|
"YumiNail",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
class: "yumi-icon-button",
|
|||
|
|
type: "button",
|
|||
|
|
"aria-label": "查看购物车",
|
|||
|
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.router.push("/cart"))
|
|||
|
|
}, [
|
|||
|
|
_createVNode($setup["ShoppingOutlined"])
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("section", _hoisted_3, [
|
|||
|
|
_createElementVNode("div", {
|
|||
|
|
class: "hero-copy",
|
|||
|
|
onClick: $setup.handleUserClick
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_4,
|
|||
|
|
_toDisplayString($setup.greeting),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"h1",
|
|||
|
|
null,
|
|||
|
|
"早上好," + _toDisplayString($setup.displayName),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString($setup.isLoggedIn ? "为你挑选今天适合预约的美甲灵感。" : "先看看门店和作品,喜欢了再登录也可以。"),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
class: "avatar-button",
|
|||
|
|
type: "button",
|
|||
|
|
onClick: $setup.handleUserClick
|
|||
|
|
}, [
|
|||
|
|
_createVNode(_component_a_avatar, {
|
|||
|
|
size: 42,
|
|||
|
|
src: $setup.userInfo?.avatar || $setup.DEFAULT_AVATAR
|
|||
|
|
}, null, 8, ["src"])
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"form",
|
|||
|
|
{
|
|||
|
|
class: "search-card",
|
|||
|
|
onSubmit: _withModifiers($setup.handleSearch, ["prevent"])
|
|||
|
|
},
|
|||
|
|
[
|
|||
|
|
_createVNode($setup["SearchOutlined"], { class: "search-card__icon" }),
|
|||
|
|
_withDirectives(_createElementVNode(
|
|||
|
|
"input",
|
|||
|
|
{
|
|||
|
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.searchQuery = $event),
|
|||
|
|
type: "search",
|
|||
|
|
placeholder: "搜索美甲风格或美甲师..."
|
|||
|
|
},
|
|||
|
|
null,
|
|||
|
|
512
|
|||
|
|
/* NEED_PATCH */
|
|||
|
|
), [
|
|||
|
|
[_vModelText, $setup.searchQuery]
|
|||
|
|
]),
|
|||
|
|
_cache[13] || (_cache[13] = _createElementVNode(
|
|||
|
|
"button",
|
|||
|
|
{ type: "submit" },
|
|||
|
|
"搜索",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
))
|
|||
|
|
],
|
|||
|
|
32
|
|||
|
|
/* NEED_HYDRATION */
|
|||
|
|
),
|
|||
|
|
$setup.announcements.length ? (_openBlock(), _createElementBlock("div", _hoisted_5, [
|
|||
|
|
_createElementVNode("div", _hoisted_6, [
|
|||
|
|
(_openBlock(true), _createElementBlock(
|
|||
|
|
_Fragment,
|
|||
|
|
null,
|
|||
|
|
_renderList($setup.announcementLoop, (item) => {
|
|||
|
|
return _openBlock(), _createElementBlock("button", {
|
|||
|
|
key: `${item.id}-${item.loopKey}`,
|
|||
|
|
class: "announcement-item",
|
|||
|
|
type: "button",
|
|||
|
|
onClick: ($event) => $setup.openAnnouncementDetail(item)
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"b",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString(item.publisherName || "平台"),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createTextVNode(
|
|||
|
|
":" + _toDisplayString($setup.getAnnouncementPreview(item)),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
], 8, _hoisted_7);
|
|||
|
|
}),
|
|||
|
|
128
|
|||
|
|
/* KEYED_FRAGMENT */
|
|||
|
|
))
|
|||
|
|
])
|
|||
|
|
])) : _createCommentVNode("v-if", true),
|
|||
|
|
_createVNode(_component_a_modal, {
|
|||
|
|
open: $setup.announcementDetailOpen,
|
|||
|
|
"onUpdate:open": _cache[3] || (_cache[3] = ($event) => $setup.announcementDetailOpen = $event),
|
|||
|
|
title: "公告详情",
|
|||
|
|
footer: null,
|
|||
|
|
centered: ""
|
|||
|
|
}, {
|
|||
|
|
default: _withCtx(() => [
|
|||
|
|
$setup.selectedAnnouncement ? (_openBlock(), _createElementBlock("div", _hoisted_8, [
|
|||
|
|
_createElementVNode("div", _hoisted_9, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString($setup.selectedAnnouncement.publisherName || "平台"),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString($setup.formatAnnouncementTime($setup.selectedAnnouncement.publishTime)),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("div", {
|
|||
|
|
class: "announcement-rich-content",
|
|||
|
|
innerHTML: $setup.selectedAnnouncementContentHtml
|
|||
|
|
}, null, 8, _hoisted_10)
|
|||
|
|
])) : _createCommentVNode("v-if", true)
|
|||
|
|
]),
|
|||
|
|
_: 1
|
|||
|
|
/* STABLE */
|
|||
|
|
}, 8, ["open"]),
|
|||
|
|
_createElementVNode("section", {
|
|||
|
|
class: "feature-banner",
|
|||
|
|
onClick: _cache[4] || (_cache[4] = ($event) => $setup.heroBanner ? $setup.openShopById($setup.heroBanner.shopId) : $setup.router.push("/products"))
|
|||
|
|
}, [
|
|||
|
|
$setup.heroBanner ? (_openBlock(), _createElementBlock("img", {
|
|||
|
|
key: 0,
|
|||
|
|
src: $setup.heroBanner.url,
|
|||
|
|
alt: $setup.heroBanner.shopName,
|
|||
|
|
class: "feature-banner__image"
|
|||
|
|
}, null, 8, _hoisted_11)) : (_openBlock(), _createElementBlock("img", {
|
|||
|
|
key: 1,
|
|||
|
|
src: $setup.DEFAULT_PRODUCT_IMAGE,
|
|||
|
|
alt: "春日柔彩系列",
|
|||
|
|
class: "feature-banner__image"
|
|||
|
|
}, null, 8, _hoisted_12)),
|
|||
|
|
_cache[15] || (_cache[15] = _createElementVNode(
|
|||
|
|
"div",
|
|||
|
|
{ class: "feature-banner__shade" },
|
|||
|
|
null,
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createElementVNode("div", _hoisted_13, [
|
|||
|
|
_cache[14] || (_cache[14] = _createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
"新品上线",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"h2",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString($setup.heroBanner?.shopName || "春日柔彩系列"),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString($setup.heroBanner?.businessHours || "轻盈裸粉、微闪珠光与日常通勤都刚好。"),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("nav", _hoisted_14, [
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[5] || (_cache[5] = ($event) => $setup.router.push("/products"))
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("span", null, [
|
|||
|
|
_createVNode($setup["CalendarOutlined"])
|
|||
|
|
]),
|
|||
|
|
_cache[16] || (_cache[16] = _createElementVNode(
|
|||
|
|
"b",
|
|||
|
|
null,
|
|||
|
|
"约时间",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
))
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[6] || (_cache[6] = ($event) => $setup.router.push("/products"))
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("span", null, [
|
|||
|
|
_createVNode($setup["ShopOutlined"])
|
|||
|
|
]),
|
|||
|
|
_cache[17] || (_cache[17] = _createElementVNode(
|
|||
|
|
"b",
|
|||
|
|
null,
|
|||
|
|
"找门店",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
))
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[7] || (_cache[7] = ($event) => $setup.router.push("/cart"))
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("span", null, [
|
|||
|
|
_createVNode($setup["ShoppingOutlined"])
|
|||
|
|
]),
|
|||
|
|
_cache[18] || (_cache[18] = _createElementVNode(
|
|||
|
|
"b",
|
|||
|
|
null,
|
|||
|
|
"购物车",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
))
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[8] || (_cache[8] = ($event) => $setup.router.push("/wishlist"))
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("span", null, [
|
|||
|
|
_createVNode($setup["HeartOutlined"])
|
|||
|
|
]),
|
|||
|
|
_cache[19] || (_cache[19] = _createElementVNode(
|
|||
|
|
"b",
|
|||
|
|
null,
|
|||
|
|
"我的收藏",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
))
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("section", _hoisted_15, [
|
|||
|
|
_createElementVNode("div", _hoisted_16, [
|
|||
|
|
_cache[21] || (_cache[21] = _createElementVNode(
|
|||
|
|
"div",
|
|||
|
|
null,
|
|||
|
|
[
|
|||
|
|
_createElementVNode("span", { class: "section-kicker" }, "Curated"),
|
|||
|
|
_createElementVNode("h3", null, "精选作品")
|
|||
|
|
],
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
class: "see-all",
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[9] || (_cache[9] = ($event) => $setup.handleSeeAll("featured"))
|
|||
|
|
}, [
|
|||
|
|
_cache[20] || (_cache[20] = _createTextVNode(
|
|||
|
|
" 查看全部 ",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createVNode($setup["RightOutlined"])
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("div", _hoisted_17, [
|
|||
|
|
(_openBlock(true), _createElementBlock(
|
|||
|
|
_Fragment,
|
|||
|
|
null,
|
|||
|
|
_renderList($setup.featuredPreview, (item) => {
|
|||
|
|
return _openBlock(), _createElementBlock("article", {
|
|||
|
|
key: item.id,
|
|||
|
|
class: "product-card",
|
|||
|
|
onClick: ($event) => $setup.handleProductClick(item)
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("div", _hoisted_19, [
|
|||
|
|
item.coverUrl ? (_openBlock(), _createElementBlock("img", {
|
|||
|
|
key: 0,
|
|||
|
|
src: item.coverUrl,
|
|||
|
|
alt: item.name,
|
|||
|
|
class: "product-cover"
|
|||
|
|
}, null, 8, _hoisted_20)) : (_openBlock(), _createElementBlock(
|
|||
|
|
"span",
|
|||
|
|
_hoisted_21,
|
|||
|
|
_toDisplayString(item.name[0]),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
))
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("div", _hoisted_22, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_23,
|
|||
|
|
_toDisplayString(item.name),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_24,
|
|||
|
|
_toDisplayString(item.shopName || item.meta),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode("div", _hoisted_25, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_26,
|
|||
|
|
"¥" + _toDisplayString(item.price),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString(item.meta),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
])
|
|||
|
|
])
|
|||
|
|
], 8, _hoisted_18);
|
|||
|
|
}),
|
|||
|
|
128
|
|||
|
|
/* KEYED_FRAGMENT */
|
|||
|
|
))
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("section", _hoisted_27, [
|
|||
|
|
_createElementVNode("div", _hoisted_28, [
|
|||
|
|
_cache[23] || (_cache[23] = _createElementVNode(
|
|||
|
|
"div",
|
|||
|
|
null,
|
|||
|
|
[
|
|||
|
|
_createElementVNode("span", { class: "section-kicker" }, "Trending"),
|
|||
|
|
_createElementVNode("h3", null, "热门作品")
|
|||
|
|
],
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
class: "see-all",
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[10] || (_cache[10] = ($event) => $setup.handleSeeAll("popular"))
|
|||
|
|
}, [
|
|||
|
|
_cache[22] || (_cache[22] = _createTextVNode(
|
|||
|
|
" 查看全部 ",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createVNode($setup["RightOutlined"])
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("div", _hoisted_29, [
|
|||
|
|
(_openBlock(true), _createElementBlock(
|
|||
|
|
_Fragment,
|
|||
|
|
null,
|
|||
|
|
_renderList($setup.popularPreview, (item) => {
|
|||
|
|
return _openBlock(), _createElementBlock("article", {
|
|||
|
|
key: item.id,
|
|||
|
|
class: "product-card grid-item",
|
|||
|
|
onClick: ($event) => $setup.handleProductClick(item)
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("div", _hoisted_31, [
|
|||
|
|
item.coverUrl ? (_openBlock(), _createElementBlock("img", {
|
|||
|
|
key: 0,
|
|||
|
|
src: item.coverUrl,
|
|||
|
|
alt: item.name,
|
|||
|
|
class: "product-cover"
|
|||
|
|
}, null, 8, _hoisted_32)) : (_openBlock(), _createElementBlock(
|
|||
|
|
"span",
|
|||
|
|
_hoisted_33,
|
|||
|
|
_toDisplayString(item.name[0]),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
))
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("div", _hoisted_34, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_35,
|
|||
|
|
_toDisplayString(item.name),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_36,
|
|||
|
|
_toDisplayString(item.shopName || item.meta),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode("div", _hoisted_37, [
|
|||
|
|
_createElementVNode(
|
|||
|
|
"p",
|
|||
|
|
_hoisted_38,
|
|||
|
|
"¥" + _toDisplayString(item.price),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString(item.meta),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
])
|
|||
|
|
])
|
|||
|
|
], 8, _hoisted_30);
|
|||
|
|
}),
|
|||
|
|
128
|
|||
|
|
/* KEYED_FRAGMENT */
|
|||
|
|
))
|
|||
|
|
]),
|
|||
|
|
$setup.loading ? (_openBlock(), _createElementBlock("div", _hoisted_39, [
|
|||
|
|
_createVNode(_component_a_spin, { size: "small" }),
|
|||
|
|
_cache[24] || (_cache[24] = _createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
"加载中...",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
))
|
|||
|
|
])) : !$setup.hasMore && $setup.popularItems.length > 0 ? (_openBlock(), _createElementBlock("div", _hoisted_40, " 没有更多热门推荐了 ")) : $setup.popularItems.length === 0 && !$setup.loading ? (_openBlock(), _createElementBlock("div", _hoisted_41, " 暂无热门作品 ")) : _createCommentVNode("v-if", true)
|
|||
|
|
]),
|
|||
|
|
$setup.shopPreview.length ? (_openBlock(), _createElementBlock("section", _hoisted_42, [
|
|||
|
|
_createElementVNode("div", _hoisted_43, [
|
|||
|
|
_cache[26] || (_cache[26] = _createElementVNode(
|
|||
|
|
"div",
|
|||
|
|
null,
|
|||
|
|
[
|
|||
|
|
_createElementVNode("span", { class: "section-kicker" }, "Stores"),
|
|||
|
|
_createElementVNode("h3", null, "门店环境")
|
|||
|
|
],
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createElementVNode("button", {
|
|||
|
|
class: "see-all",
|
|||
|
|
type: "button",
|
|||
|
|
onClick: _cache[11] || (_cache[11] = ($event) => $setup.router.push("/products"))
|
|||
|
|
}, [
|
|||
|
|
_cache[25] || (_cache[25] = _createTextVNode(
|
|||
|
|
" 去预约 ",
|
|||
|
|
-1
|
|||
|
|
/* CACHED */
|
|||
|
|
)),
|
|||
|
|
_createVNode($setup["RightOutlined"])
|
|||
|
|
])
|
|||
|
|
]),
|
|||
|
|
_createElementVNode("div", _hoisted_44, [
|
|||
|
|
(_openBlock(true), _createElementBlock(
|
|||
|
|
_Fragment,
|
|||
|
|
null,
|
|||
|
|
_renderList($setup.shopPreview, (shop) => {
|
|||
|
|
return _openBlock(), _createElementBlock("button", {
|
|||
|
|
key: shop.id,
|
|||
|
|
class: "shop-card",
|
|||
|
|
type: "button",
|
|||
|
|
onClick: ($event) => $setup.openShopById(shop.shopId)
|
|||
|
|
}, [
|
|||
|
|
_createElementVNode("img", {
|
|||
|
|
src: shop.url,
|
|||
|
|
alt: shop.shopName
|
|||
|
|
}, null, 8, _hoisted_46),
|
|||
|
|
_createElementVNode(
|
|||
|
|
"span",
|
|||
|
|
null,
|
|||
|
|
_toDisplayString(shop.shopName),
|
|||
|
|
1
|
|||
|
|
/* TEXT */
|
|||
|
|
)
|
|||
|
|
], 8, _hoisted_45);
|
|||
|
|
}),
|
|||
|
|
128
|
|||
|
|
/* KEYED_FRAGMENT */
|
|||
|
|
))
|
|||
|
|
])
|
|||
|
|
])) : _createCommentVNode("v-if", true)
|
|||
|
|
]);
|
|||
|
|
}
|
|||
|
|
import "/src/views/HomeView.vue?t=1780025129387&vue&type=style&index=0&scoped=b4e148ca&lang.css";
|
|||
|
|
_sfc_main.__hmrId = "b4e148ca";
|
|||
|
|
typeof __VUE_HMR_RUNTIME__ !== "undefined" && __VUE_HMR_RUNTIME__.createRecord(_sfc_main.__hmrId, _sfc_main);
|
|||
|
|
import.meta.hot.on("file-changed", ({ file }) => {
|
|||
|
|
__VUE_HMR_RUNTIME__.CHANGED_FILE = file;
|
|||
|
|
});
|
|||
|
|
import.meta.hot.accept((mod) => {
|
|||
|
|
if (!mod) return;
|
|||
|
|
const { default: updated, _rerender_only } = mod;
|
|||
|
|
if (_rerender_only) {
|
|||
|
|
__VUE_HMR_RUNTIME__.rerender(updated.__hmrId, updated.render);
|
|||
|
|
} else {
|
|||
|
|
__VUE_HMR_RUNTIME__.reload(updated.__hmrId, updated);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
import _export_sfc from "/@id/__x00__plugin-vue:export-helper";
|
|||
|
|
export default /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b4e148ca"], ["__file", "E:/code/xiaowang/YumiNail-Frontend/src/views/HomeView.vue"]]);
|
|||
|
|
|
|||
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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