客户问题修改

This commit is contained in:
zzyuan 2025-06-10 17:08:52 +08:00
parent 202b06f516
commit f40cb2db27
2 changed files with 17 additions and 2 deletions

View File

@ -154,7 +154,7 @@ export default {
uni.navigateTo({
url: '/pages/login'
})
},500)
},1000)
}
})
}

View File

@ -127,7 +127,7 @@ export default {
this.tabList=[]
//
this.menuData.forEach(item=>{//
this.tabList.push(item.mealtimeName)
this.tabList.push(this.handleRecipeType(item.mealtimeType))
})
this.$refs.Tabs.handleTab(0)
// this.changeTab(0)
@ -147,6 +147,21 @@ export default {
this.tIndex=0
}
},
// recipeType
handleRecipeType(type) {
if (type === 1) {
return '早餐'
} else if (type === 2) {
return '午餐'
} else if (type === 3) {
return '外卖'
// return ''
} else if (type === 4) {
return '晚餐'
}else if (type === 5) {
return '夜宵'
}
},
//
changeDay(index){
this.hIndex=index;