{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "uni-app", "enablePullDownRefresh":true, "app-plus":{ "titleNView":false, "bounce": "none", "pullToRefresh": { "style": "circle", "backgroundColor": "#000000", "color": "#aa0000" } // "renderer": "native" }, "navigationBarTextStyle":"white" } }, { "path": "pages/index/first", "style": { "navigationStyle":"custom", "app-plus": { // "renderer": "native", "safearea":{ "background" : "none", "bottom":{ "offset":"none" } } } } }, { "path": "pages/index/search", "style": { "app-plus":{ "titleNView":false } } }, { "path": "pages/index/address", "style": { "navigationStyle":"custom", "navigationBarTextStyle":"black" } }, { "path": "pages/category/index", "style": { "app-plus":{ "titleNView":false }, "navigationBarTextStyle":"white" } }, { "path": "pages/account/index", "style": { "app-plus":{ "titleNView":false }, "navigationBarBackgroundColor":"#000000", "navigationBarTextStyle":"white", "enablePullDownRefresh":true } }, { "path": "pages/account/deleteCount", "style": { "navigationBarBackgroundColor":"#000000", "navigationStyle":"custom", "navigationBarTextStyle":"white" } }, { "path": "pages/account/deleteOk", "style": { "navigationBarBackgroundColor":"#000000", "navigationStyle":"custom", "navigationBarTextStyle":"white" } }, { "path": "pages/account/myProfile", "style": { "navigationBarTitleText": "My Profile", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/settings", "style": { "navigationBarTitleText": "Settings", "navigationBarBackgroundColor":"#000000" } }, { "path" : "pages/account/changeImg", "style" :{ "app-plus":{ "titleNView":false //去掉当前页的顶部导航栏 }, "navigationBarBackgroundColor":"white", "navigationStyle":"custom", "navigationBarTextStyle":"#000000" } }, { "path": "pages/account/wishlist", "style": { "titleNView":false, "enablePullDownRefresh":true } }, { "path": "pages/account/favorites", "style": { "titleNView":false, "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/message", "style": { "titleNView":false, "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/new", "style": { "navigationBarTitleText": "nothing", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/login/index", "style": { "navigationStyle":"custom", "navigationBarBackgroundColor":"#000000" // "navigationBarTextStyle":"white" } }, { "path": "pages/login/verifyEmail", "style": { "navigationBarTitleText": "Verify Email Address", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/login/changePwd", "style": { "navigationBarTitleText": "Change Password", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/myOrders", "style": { "navigationBarTitleText": "My orders", "navigationBarBackgroundColor":"#000000", "navigationBarTextStyle": "white" } }, { "path": "pages/order/additems", "style": { "app-plus":{ "titleNView":false } } }, { "path": "pages/order/confirmation", "style": { "navigationBarTitleText": "Order Confirmation", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/order/paypalWebview", "style": { "navigationBarTitleText": " ", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/myCoupons", "style": { "titleNView":false } }, { "path": "pages/index/pickUpCentre", "style": { "titleNView":false } }, { "path": "pages/index/index2", "style": { "titleNView":false } }, { "path": "pages/order/paySuccess", "style": { "navigationBarTitleText": "Pay success", "navigationBarBackgroundColor":"#000000", "enablePullDownRefresh":true } }, { "path": "pages/account/address", "style": { "navigationBarTitleText": "Shipping Address", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/addAddress", "style": { "navigationBarTitleText": "Shipping Address", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/account/pointsDetails", "style": { "titleNView":false, "enablePullDownRefresh":true } }, { "path": "pages/order/details", "style": { "navigationBarTitleText": "Order details", "navigationBarBackgroundColor":"#000000" // "app-plus": { // "titleNView": { // "splitLine":{ // "color":"#F6F5FA", // "height":"5px" // } // } // } } }, { "path": "pages/order/logisticsDetails", "style": { "navigationBarTitleText": "Logistics details", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/order/refund", "style": { "navigationBarTitleText": "Refund", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/order/refundDetails", "style": { "navigationBarTitleText": "Refund Details", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/category/productList", "style": { "titleNView":false, // "enablePullDownRefresh":true, // "navigationBarTextStyle":"white", "navigationBarBackgroundColor": "#000000" } }, { "path": "pages/shippingCart/index", "style": { "titleNView":false, "enablePullDownRefresh":true } }, { "path": "pages/productDetails/index", "style": { "titleNView":false, "navigationBarBackgroundColor": "#000000", "navigationBarTextStyle": "white" } }, { "path": "pages/productDetails/goodsReview", "style": { "navigationBarTitleText":"Review" } }, { "path": "pages/account/myReview", "style": { "navigationBarTitleText": "My Review", "navigationBarBackgroundColor":"#000000", "navigationBarTextStyle": "white" } }, { "path": "pages/account/demo1", "style": { "navigationBarTitleText": "My demo", "navigationBarBackgroundColor":"#000000" } }, { "path": "pages/productDetails/review", "style": { "titleNView":false, "enablePullDownRefresh":true } }, { "path": "pages/index/flashSale", "style": { "titleNView":false, "navigationBarBackgroundColor":"#000000", "navigationBarTextStyle": "white" } } ,{ "path" : "pages/specialTitle/index", "style" : { "navigationStyle":"custom", "enablePullDownRefresh": false } }, { "path" : "pages/specialTitle/index2", "style" : { "navigationStyle":"custom", "enablePullDownRefresh": false } } ], "globalStyle": { "navigationBarBackgroundColor": "#000000", "navigationBarTextStyle": "white", "navigationBarTitleText": "DOPE PLUS", "enablePullDownRefresh": true, "app-plus": { // 将回弹属性关掉 "bounce": "none", "usingComponents" : false, // "subPackages": true, "optimization": { "subPackages": true }, "pullToRefresh": { "style": "circle", "color": "#aa0000" }, "runmode" : "liberate" // 开启分包优化后,必须配置资源释放模式 } }, "tabBar": { "borderStyle": "white", "backgroundColor": "#FFFFFF", "color": "#999999", "selectedColor": "#000000", "height":"60px", "midButton":{ "width": "80px", "height":"70px", "iconWidth":"60px", "iconPath":"static/img/tabbar_img.png" }, "list": [{ "pagePath": "pages/index/index", "iconPath": "static/icon/home3.png", "selectedIconPath": "static/icon/home4.png", "text": "Home" }, { "pagePath": "pages/category/index", "iconPath": "static/img/Category.png", "selectedIconPath": "static/img/Category1.png", "text": "Category" }, { "pagePath": "pages/shippingCart/index", "iconPath": "static/img/Cart.png", "selectedIconPath": "static/img/cart1.png", "navigationBarTextStyle": "#000000", "text": "Cart" }, { "pagePath": "pages/account/index", "iconPath": "static/img/Account.png", "selectedIconPath": "static/img/Account1.png", "text": "Account" } ] }, "condition" : { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [ { "name": "", //模式名称 "path": "", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 } ] } }