diff --git a/config.js b/config.js index 5f19b57..6da5b30 100644 --- a/config.js +++ b/config.js @@ -6,12 +6,12 @@ module.exports = { // 必填: 后端api地址, 斜杠/结尾, 参照下面格式 // 例如: https://www.你的域名.com/index.php?s=/api/ //apiUrl: "https://www.你的域名.com/index.php?s=/api/", - apiUrl: "https://aigh.chjyj.cn/index.php?s=/api/", + apiUrl: "https://192.168.66.16:8089/index.php?s=/api/", /** * 是否启用商城设置缓存 * 将减少用户端重复请求; 正式运营时请设为true, 开启后商城设置同步前端需10分钟缓存 */ - enabledSettingCache: true, + enabledSettingCache: false, } diff --git a/pages.json b/pages.json index 0626778..4a5a4b1 100644 --- a/pages.json +++ b/pages.json @@ -5,16 +5,21 @@ "borderStyle": "black", "backgroundColor": "#ffffff", "list": [{ - "pagePath": "pages/index/home", + "pagePath": "pages/index/index", "iconPath": "static/tabbar/home.png", "selectedIconPath": "static/tabbar/home-active.png", - "text": "总览" + "text": "首页" }, { "pagePath": "pages/category/index", "iconPath": "static/tabbar/cate.png", "selectedIconPath": "static/tabbar/cate-active.png", - "text": "体育馆" - },{ + "text": "分类" + }, { + "pagePath": "pages/cart/index", + "iconPath": "static/tabbar/cart.png", + "selectedIconPath": "static/tabbar/cart-active.png", + "text": "订单" + }, { "pagePath": "pages/user/index", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/user-active.png", @@ -25,7 +30,8 @@ { "path": "pages/index/home", "style": { - "enablePullDownRefresh": true + "enablePullDownRefresh": true, + "navigationStyle": "custom" } }, { diff --git a/static/01.png b/static/01.png new file mode 100644 index 0000000..dda085b Binary files /dev/null and b/static/01.png differ