罗世杰:feat:通知条初始化、导航卡片完成

This commit is contained in:
luojie
2023-10-30 20:06:48 +08:00
parent 50a12d9ccb
commit 312666c186
2 changed files with 95 additions and 12 deletions

View File

@@ -27,21 +27,36 @@
export default{
name: "HomeHeader",
props: {
hotSearchWord:{
type: String,
default() {
return '热门关键词'
}
},
headerBgList:{
type: Array,
default() {
return ["https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg","https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg"]
}
},
position:{
type: String,
default() {
return '定位中'
}
}
},
data() {
return {
hotSearchWord:'热门关键词',
headerBgList:["https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg"]
// hotSearchWord:'',
// headerBgList:[]
}
},
options: {
styleIsolation: 'shared' // 解除样式隔离
},
computed:{
position(){
return '定位中...'
}
}
}
</script>