用户钱包及明细.搜索页修复.个人信息移除多余页面.商品列表字段优化,分类子商品展示
This commit is contained in:
@@ -27,11 +27,19 @@
|
||||
uni.hideTabBar();
|
||||
|
||||
const template = computed(() => sheep.$store('app').template?.home);
|
||||
// 在此处拦截改变一下首页轮播图 此处先写死后期复活
|
||||
|
||||
// 在此处拦截改变一下首页轮播图 此处先写死后期复活 放到启动函数里
|
||||
(async function() {
|
||||
console.log('原代码首页定制化数据',template)
|
||||
let {
|
||||
data
|
||||
} = await index2Api.decorate();
|
||||
console.log('首页导航配置化过高无法兼容',JSON.parse(data[1].value))
|
||||
// 改变首页底部数据 但是没有通过数组id获取商品数据接口
|
||||
// let {
|
||||
// data: datas
|
||||
// } = await index2Api.spids();
|
||||
// template.value.data[9].data.goodsIds = datas.list.map(item => item.id);
|
||||
template.value.data[0].data.list = JSON.parse(data[0].value).map(item => {
|
||||
return {
|
||||
src: item.picUrl,
|
||||
|
||||
Reference in New Issue
Block a user