Browse Source

更改页面配置

master
453530270@qq.com 3 years ago
parent
commit
7e5ded1585
  1. 4
      config.js
  2. 16
      pages.json
  3. BIN
      static/01.png

4
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,
}

16
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"
}
},
{

BIN
static/01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Loading…
Cancel
Save