This commit is contained in:
X1627315083@163.com
2026-05-21 14:56:37 +08:00
parent d772cae6bc
commit 59803cf2ea

View File

@@ -5,12 +5,14 @@ import MerchantInfo from "./merchant-info.vue";
import { useRouter } from "vue-router";
import scListNull from '@/views/shoppingCart/sc-list-null.vue'
import { getListingMallListApi } from '@/api/listing'
import { get } from "http";
// 定义组件名称
defineOptions({
name: 'digitalItem'
})
const categories = ref([''])
const gender = ref([''])
//const props = defineProps({
//})
//const emit = defineEmits([
@@ -19,7 +21,7 @@ const digitalItemRef = ref(null)
const scrollTop = ref(0)
const router = useRouter()
const categoriesList = ref([
const searechTypeList = ref([
{
value:'Best Selling',
label:'Best Selling'
@@ -31,7 +33,7 @@ const categoriesList = ref([
label:'Newest First'
},
])
const categories = ref('Newest First')
const searechType = ref('Newest First')
const addShopping = (item) => {}
const openDetail = (item) => {
scrollTop.value = digitalItemRef.value.scrollTop
@@ -46,9 +48,9 @@ const getListingMallList = ()=>{
let data = {
// designFor
}
getListingMallListApi().then(res => {
// getListingMallListApi().then(res => {
})
// })
}
onActivated(()=>{
digitalItemRef.value.scrollTop = scrollTop.value