重构前端:迁移商品展示辅助方法
This commit is contained in:
@@ -34,7 +34,7 @@ import {
|
|||||||
hasGiftResources,
|
hasGiftResources,
|
||||||
readAssetNumber,
|
readAssetNumber,
|
||||||
readAssetString,
|
readAssetString,
|
||||||
} from "./listingDisplay";
|
} from "@/utils/listingDisplay";
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import {
|
|||||||
getServerRegion,
|
getServerRegion,
|
||||||
readAssetNumber,
|
readAssetNumber,
|
||||||
readAssetString,
|
readAssetString,
|
||||||
} from "./listingDisplay";
|
} from "@/utils/listingDisplay";
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import {
|
|||||||
getServerRegion,
|
getServerRegion,
|
||||||
hasAcceleratedSaleRatio,
|
hasAcceleratedSaleRatio,
|
||||||
hasGiftResources,
|
hasGiftResources,
|
||||||
} from "@/views/mobile/listingDisplay";
|
} from "@/utils/listingDisplay";
|
||||||
|
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const listings = ref<Listing[]>([]);
|
const listings = ref<Listing[]>([]);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import {
|
|||||||
hasGiftResources,
|
hasGiftResources,
|
||||||
readAssetNumber,
|
readAssetNumber,
|
||||||
readAssetString,
|
readAssetString,
|
||||||
} from "@/views/mobile/listingDisplay";
|
} from "@/utils/listingDisplay";
|
||||||
import { listingStatusLabel } from "@/utils/statusLabels";
|
import { listingStatusLabel } from "@/utils/statusLabels";
|
||||||
|
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
|
|||||||
Reference in New Issue
Block a user