分类页、搜索页

This commit is contained in:
”chenxuelian“
2022-12-18 13:08:32 +08:00
parent 8057d75a52
commit 9d1526a28e
20 changed files with 2138 additions and 77 deletions

View File

@@ -1,6 +1,11 @@
{
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
"autoscan": true, //是否自动扫描组件
"custom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
"^ua-(.*)": "@/components/uview-ui/components/u-$1/u-$1.vue",
"^customer-(.*)": "@/components/uni-$1.vue" // 匹配components目录内的vue文件
}
},
"pages": [{
"path": "pages/index/index",
@@ -40,6 +45,26 @@
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
},
{
"path": "pages/index/search/search",
"style": {
"navigationBarTitleText": "顶部搜索",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/index/goods-category-search/category-index",
"style": {
"navigationBarTitleText": "分类详情",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
],
"tabBar": {
@@ -77,7 +102,7 @@
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationBarBackgroundColor": "#12CA64",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},