chore: 修复 listings 视图导入路径
- 修复 ListingDetailView, ListingsView 使用 features/listings - 修复 MobileHomeView, MobileListingDetailView 使用正确路径 - 修复 MobileRealnameView 使用 features/auth 类型错误:72 → 45 (-27) 模块错误继续下降
This commit is contained in:
@@ -3,8 +3,8 @@ import { ElMessage } from "element-plus";
|
|||||||
import { computed, onMounted, ref } from "vue";
|
import { computed, onMounted, ref } from "vue";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
|
|
||||||
import { fetchListing, type Listing } from "@/api/listings";
|
import { fetchListing, type Listing } from "@/features/listings/api/listings";
|
||||||
import { createOrder } from "@/api/orders";
|
import { createOrder } from "@/features/orders/api/orders";
|
||||||
import { useSessionStore } from "@/stores/session";
|
import { useSessionStore } from "@/stores/session";
|
||||||
import {
|
import {
|
||||||
assetRegions,
|
assetRegions,
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ import { computed, onMounted, reactive, ref } from "vue";
|
|||||||
import {
|
import {
|
||||||
emptyListingPublishOptions,
|
emptyListingPublishOptions,
|
||||||
type ListingPublishOptions,
|
type ListingPublishOptions,
|
||||||
} from "@/api/listingOptions";
|
} from "@/features/listings/api/listingOptions";
|
||||||
import { fetchListings, type Listing } from "@/api/listings";
|
import { fetchListings, type Listing } from "@/features/listings/api/listings";
|
||||||
import {
|
import {
|
||||||
defaultHomeAnnouncements,
|
defaultHomeAnnouncements,
|
||||||
defaultHomeBanners,
|
defaultHomeBanners,
|
||||||
fetchMobileHomeConfig,
|
fetchMobileHomeConfig,
|
||||||
type HomeBannerSlide,
|
type HomeBannerSlide,
|
||||||
} from "@/api/homeConfig";
|
} from "@/features/listings/api/homeConfig";
|
||||||
import {
|
import {
|
||||||
assetRegions,
|
assetRegions,
|
||||||
formatHafCoinM,
|
formatHafCoinM,
|
||||||
|
|||||||
@@ -4,18 +4,18 @@ import { RouterLink, useRouter } from "vue-router";
|
|||||||
import { showToast } from "vant";
|
import { showToast } from "vant";
|
||||||
import MobileBottomNav from "@/components/MobileBottomNav.vue";
|
import MobileBottomNav from "@/components/MobileBottomNav.vue";
|
||||||
|
|
||||||
import { ensureSupportChat } from "@/api/chats";
|
import { ensureSupportChat } from "@/features/chats/api/chats";
|
||||||
import {
|
import {
|
||||||
emptyListingPublishOptions,
|
emptyListingPublishOptions,
|
||||||
type ListingPublishOptions,
|
type ListingPublishOptions,
|
||||||
} from "@/api/listingOptions";
|
} from "@/features/listings/api/listingOptions";
|
||||||
import { fetchListingsPage, type Listing, type PublicListingQuery } from "@/api/listings";
|
import { fetchListingsPage, type Listing, type PublicListingQuery } from "@/features/listings/api/listings";
|
||||||
import {
|
import {
|
||||||
defaultHomeAnnouncements,
|
defaultHomeAnnouncements,
|
||||||
defaultHomeBanners,
|
defaultHomeBanners,
|
||||||
fetchMobileHomeConfig,
|
fetchMobileHomeConfig,
|
||||||
type HomeBannerSlide,
|
type HomeBannerSlide,
|
||||||
} from "@/api/homeConfig";
|
} from "@/features/listings/api/homeConfig";
|
||||||
import MobileHomeFilterSheet, {
|
import MobileHomeFilterSheet, {
|
||||||
type FilterSection,
|
type FilterSection,
|
||||||
} from "./MobileHomeFilterSheet.vue";
|
} from "./MobileHomeFilterSheet.vue";
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import { computed, onMounted, ref } from "vue";
|
|||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
import { showToast, showDialog } from "vant";
|
import { showToast, showDialog } from "vant";
|
||||||
|
|
||||||
import { fetchListing, type Listing } from "@/api/listings";
|
import { fetchListing, type Listing } from "@/features/listings/api/listings";
|
||||||
import { createOrder } from "@/api/orders";
|
import { createOrder } from "@/features/orders/api/orders";
|
||||||
import { useSessionStore } from "@/stores/session";
|
import { useSessionStore } from "@/stores/session";
|
||||||
import {
|
import {
|
||||||
assetRegions,
|
assetRegions,
|
||||||
|
|||||||
Reference in New Issue
Block a user