|
|
|
@ -41,7 +41,7 @@ import { getColumnList } from '@/http/api/base' |
|
|
|
import Brand from '@/utils/Class/Brand' |
|
|
|
import ScrollView from '@/base/ScrollView/ScrollView.vue' |
|
|
|
const store = useRootStore() |
|
|
|
const { columnList, showColumnList, shopMap } = toRefs(store) |
|
|
|
const { columnList, showColumnList, shopMap, shop } = toRefs(store) |
|
|
|
const router = useRouter() |
|
|
|
const { switchLanguage } = useSwitchLanguage() |
|
|
|
|
|
|
|
@ -50,6 +50,9 @@ function close() { |
|
|
|
} |
|
|
|
function clickShop(item: FeaturedList) { |
|
|
|
if (item.content.shopCode) { |
|
|
|
if (shop.value) { |
|
|
|
store.SET_PREV_SHOP(shop.value) |
|
|
|
} |
|
|
|
store.SET_SHOP(shopMap.value[item.content.shopCode]) |
|
|
|
store.SET_SHOW_DETAIL(true) |
|
|
|
} else if (item.content.point) { |
|
|
|
@ -109,6 +112,7 @@ getColumnList().then(({ data }) => { |
|
|
|
border: 2px solid #fff; |
|
|
|
border-radius: 50px; |
|
|
|
backdrop-filter: blur(20px); |
|
|
|
box-shadow: 0 20px 30px 0 rgb(0 0 0 / 10%); |
|
|
|
img { |
|
|
|
width: 48px; |
|
|
|
height: 48px; |
|
|
|
|