|
@@ -22,7 +22,7 @@ const { name } = storeToRefs(addressStore)
|
|
|
const { userInfo } = storeToRefs(useUserStore())
|
|
const { userInfo } = storeToRefs(useUserStore())
|
|
|
const { getTotalNum } = storeToRefs(useSmqjhCartStore())
|
|
const { getTotalNum } = storeToRefs(useSmqjhCartStore())
|
|
|
const { data: goodsList, isLastPage, page, reload, error, loading, refresh } = usePagination((pageNum, pageSize) =>
|
|
const { data: goodsList, isLastPage, page, reload, error, loading, refresh } = usePagination((pageNum, pageSize) =>
|
|
|
- Apis.xsb.getSearchProductList({ data: { pageNum, pageSize, salesNum: 'DESC', shopId: 1, channelId: userInfo.value.channelId || 1 } }), {
|
|
|
|
|
|
|
+ Apis.xsb.getSearchProductList({ data: { pageNum, pageSize, salesNum: 'DESC', shopId: 2, channelId: userInfo.value.channelId || 1 } }), {
|
|
|
data: resp => resp.data?.list,
|
|
data: resp => resp.data?.list,
|
|
|
initialData: [],
|
|
initialData: [],
|
|
|
initialPage: 1,
|
|
initialPage: 1,
|
|
@@ -45,16 +45,19 @@ onReachBottom(() => {
|
|
|
page.value++
|
|
page.value++
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
-const navList = ref([
|
|
|
|
|
- { icon: `${StaticUrl}/xsb.png`, title: '星闪豹', name: 'xsb-homeTabbar', show: true },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-index-cd.png`, title: '充电', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-sp.png`, title: '电影演出', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-vip.png`, title: '视频权益', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-diancan.png`, title: '大牌点餐', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-jiayou.png`, title: '加油', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-jiudian.png`, title: '酒店民宿', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
- { icon: `${StaticUrl}/smqjh-daijia.png`, title: '代驾', name: '', show: !unref(isOnlineAudit) },
|
|
|
|
|
-])
|
|
|
|
|
|
|
+const navList = computed(() => {
|
|
|
|
|
+ const list = [
|
|
|
|
|
+ { icon: `${StaticUrl}/xsb.png`, title: '星闪豹', name: 'xsb-homeTabbar', show: true },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-index-cd.png`, title: '充电', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-sp.png`, title: '电影演出', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-vip.png`, title: '视频权益', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-diancan.png`, title: '大牌点餐', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-jiayou.png`, title: '加油', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-jiudian.png`, title: '酒店民宿', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ { icon: `${StaticUrl}/smqjh-daijia.png`, title: '代驾', name: '', show: !isOnlineAudit.value },
|
|
|
|
|
+ ]
|
|
|
|
|
+ return list
|
|
|
|
|
+})
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
addressStore.getLocation()
|
|
addressStore.getLocation()
|
|
|
opcity.value = 0
|
|
opcity.value = 0
|