let footerapp = {
template: `
`,
setup() {
let data=reactive({
footerlist:[],
qiyejiej:'',
fcon1: [],
})
// 导航
const getmenu = () => {
requestdata('navigation',{
data_type: 'list',
page: 1,
limit: 99,
sort: 'sortasc',
category_id: '65e05465e5f419448c46bf7d'
},(res) => {
data.footerlist = res
})
}
getmenu()
const getqiyejiej = () => {
requestdata('site', null, (res) => {
console.log(res,213412)
data.qiyejiej = res
})
requestdata('text', {
data_type: 'show',
id: '65e1686859e978014f153234'
}, (res) => {
// res 根据条件筛选的数据
data.fcon1 = res.info
})
}
getqiyejiej()
return {
...torefs(data)
}
}
}