Chore:公共代码统一引用

This commit is contained in:
lifizer
2024-04-01 21:55:22 +08:00
parent 624c7f17a2
commit fbe7b0b419
4 changed files with 2 additions and 12 deletions
-2
View File
@@ -75,11 +75,9 @@
<script> <script>
import { getHotelList, getHotelTypeList } from "@/api/inn.js" import { getHotelList, getHotelTypeList } from "@/api/inn.js"
import { getCurAddress, getLocation } from "@/utils/common" import { getCurAddress, getLocation } from "@/utils/common"
import GooSkeleton from '@/components/GooSkeleton/index.vue'
import FunHotelItem from './components/HotelItem' import FunHotelItem from './components/HotelItem'
export default { export default {
components: { components: {
GooSkeleton,
FunHotelItem FunHotelItem
}, },
data() { data() {
+1 -3
View File
@@ -55,12 +55,10 @@ import {
getHotelGoodList getHotelGoodList
} from "@/api/inn.js"; } from "@/api/inn.js";
import imgBox from '@/components/imageTypeSet/imagebox.vue' import imgBox from '@/components/imageTypeSet/imagebox.vue'
import GooSkeleton from '@/components/GooSkeleton/index.vue'
export default { export default {
components: { components: {
imgBox, imgBox
GooSkeleton
}, },
data() { data() {
return { return {
+1 -3
View File
@@ -428,12 +428,10 @@ import {getUrlParam} from "@/utils/common.js"
import imgBox from '@/components/imageTypeSet/imagebox.vue' import imgBox from '@/components/imageTypeSet/imagebox.vue'
import cookie from "@/utils/store/cookie" import cookie from "@/utils/store/cookie"
import {addStore, removeStore} from "@/api/favorite" import {addStore, removeStore} from "@/api/favorite"
import GooSkeleton from '@/components/GooSkeleton/index.vue'
export default { export default {
components: { components: {
imgBox, imgBox
GooSkeleton
}, },
data() { data() {
return { return {
-4
View File
@@ -46,12 +46,8 @@
<script> <script>
// 节日专题 // 节日专题
import { getFestival } from '@/api/product' import { getFestival } from '@/api/product'
import GooSkeleton from '@/components/GooSkeleton/index.vue'
export default { export default {
name: 'Festival', name: 'Festival',
components: {
GooSkeleton
},
data() { data() {
return { return {
isLoad: false, isLoad: false,