{
|
"easycom": {
|
"autoscan": true,
|
"custom": {
|
"^u-(.*)": "@/uview-components/uview-ui/components/u-$1/u-$1.vue", //uview,
|
"^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp组件
|
}
|
},
|
"preloadRule": {
|
"pages/tabbar/index/home": // 页面路径
|
// 页面的预下载配置
|
{
|
"network": "all", // all(不限网络) wifi(仅wifi下预下载)
|
"packages": ["uview-components"] // 预下载分包的 root 或 name。__APP__ 表示主包
|
}
|
},
|
"pages": [
|
// 第一个就是首页
|
{
|
"path": "pages/tabbar/index/home",
|
"style": {
|
// "navigationBarTitleText" : "视频",
|
"enablePullDownRefresh": false,
|
"navigationStyle": "custom" // 隐藏顶部导航栏
|
}
|
},
|
{
|
"path": "pages/tabbar/home/index",
|
"style": {
|
"navigationBarTitleText": "首页",
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationBarTextStyle": "black",
|
"enablePullDownRefresh": true
|
}
|
},
|
{
|
"path": "pages/tabbar/home/title",
|
"style": {
|
"navigationBarTitleText": "消息"
|
}
|
},
|
{
|
"path": "pages/tabbar/cart/cartList",
|
"style": {
|
"navigationBarTitleText": "购物车",
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationBarBackgroundColor": "#fff",
|
"enablePullDownRefresh": true, //实现下拉刷新样式
|
"componentPlaceholder": {
|
"u-navbar": "view",
|
"u-checkbox-group": "view",
|
"u-checkbox": "view",
|
"u-swipe-action": "view",
|
"u-image": "view",
|
"u-icon": "view",
|
"u-count-down": "view",
|
"u-modal": "view",
|
"u-popup": "view",
|
"u-toast": "view"
|
}
|
}
|
}, {
|
"path": "pages/tabbar/category/category",
|
"style": {
|
"navigationBarTitleText": "分类",
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationBarTextStyle": "black",
|
"disableScroll": true,
|
"bounce": "none",
|
"scrollIndicator": "none",
|
"componentPlaceholder": {
|
"u-navbar": "view",
|
"u-search": "view",
|
"u-image": "view"
|
}
|
}
|
},
|
{
|
"path": "components/m-search-revision/m-search-revision",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"app-plus": {
|
//app页面不显示滚动条
|
"scrollIndicator": "none",
|
"bottom": "0",
|
"contentAdjust": "false",
|
"bounce": "none",
|
"safearea": {
|
"bottom": "none"
|
}
|
},
|
"componentPlaceholder": {
|
"u-icon": "view"
|
}
|
}
|
},
|
{
|
"path": "components/m-goods-list/list",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"app-plus": {
|
//app页面不显示滚动条
|
"scrollIndicator": "none",
|
"bottom": "0",
|
"contentAdjust": "false",
|
"bounce": "none",
|
"safearea": {
|
"bottom": "none"
|
}
|
},
|
"componentPlaceholder": {
|
"u-image": "view",
|
"u-loading": "view",
|
"u-tag": "view",
|
"u-icon": "view"
|
}
|
}
|
},
|
{
|
"path": "components/m-share/index",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-popup": "view",
|
"u-icon": "view"
|
}
|
}
|
},
|
{
|
"path": "components/m-buy/goods",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-popup": "view",
|
"u-image": "view",
|
"u-alert-tips": "view"
|
}
|
}
|
},
|
{
|
"path": "components/m-take-down-sale-goods/index",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-popup": "view"
|
}
|
}
|
},
|
{
|
"path": "pages/navigation/search/searchPage",
|
"style": {
|
"navigationBarTitleText": "搜索",
|
"navigationStyle": "custom",
|
"app-plus": {
|
//app页面不显示滚动条
|
"scrollIndicator": "none",
|
"bottom": "0",
|
"contentAdjust": "false",
|
"bounce": "none",
|
"safearea": {
|
"bottom": "none"
|
}
|
},
|
"componentPlaceholder": {
|
"u-navbar": "view",
|
"u-popup": "view",
|
"u-input": "view",
|
"u-back-top": "view"
|
}
|
}
|
}, {
|
"path": "pages/tabbar/user/my",
|
"style": {
|
"navigationBarTextStyle": "white",
|
"enablePullDownRefresh": true,
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-row": "view",
|
"u-col": "view"
|
}
|
}
|
},
|
|
{
|
"path": "pages/tabbar/home/web-view",
|
"style": {
|
|
}
|
},
|
{
|
"path": "pages/tabbar/special/special",
|
"style": {
|
"navigationBarTitleText": "专题"
|
}
|
},
|
{
|
"path": "pages/tabbar/video/video",
|
"style": {
|
"navigationBarTitleText": "发布视频",
|
"enablePullDownRefresh": false,
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-button": "view",
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-popup": "view",
|
"u-search": "view"
|
}
|
}
|
},
|
{
|
"path": "pages/goods-manager/goodsList/goodsList",
|
"style": {
|
"enablePullDownRefresh": true,
|
"navigationBarTitleText": "商品列表"
|
}
|
},
|
{
|
"path": "pages/goods-manager/addGoods/addGoods",
|
"style": {
|
"navigationBarTitleText": ""
|
}
|
},
|
{
|
"path": "pages/userPermissions/userPermissions",
|
"style": {
|
"navigationBarTitleText": "用户权限",
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-button": "view",
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-popup": "view",
|
"u-search": "view",
|
"u-loading": "view",
|
"u-navbar": "view"
|
}
|
|
}
|
},
|
|
{
|
"path": "pages/customerManager/customerManager",
|
"style": {
|
"navigationBarTitleText": "客户管理",
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-button": "view",
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-popup": "view",
|
"u-search": "view",
|
"u-loading": "view"
|
}
|
}
|
},
|
{
|
"path": "pages/userPermissions/addStoreMember",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom", // 隐藏顶部导航栏
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-button": "view",
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-popup": "view",
|
"u-search": "view",
|
"u-loading": "view",
|
"u-checkbox": "view",
|
"u-checkbox-group": "view",
|
"u-navbar": "view"
|
}
|
}
|
}
|
|
|
],
|
"subPackages": [{
|
"root": "uview-components", // 必须与preloadRule中的名称完全一致
|
"name": "uview-components",
|
"pages": [{
|
"path": "pages/empty-page/empty-page",
|
"style": {
|
"navigationBarTitleText": "",
|
"disableScroll": true
|
}
|
}]
|
},
|
{
|
"root": "pages/mine",
|
"pages": [
|
|
{
|
"path": "signIn",
|
"style": {
|
"navigationBarTitleText": "签到",
|
"componentPlaceholder": {
|
"u-icon": "view"
|
}
|
}
|
}, {
|
"path": "myTracks",
|
"style": {
|
"navigationBarTitleText": "我的足迹",
|
"enablePullDownRefresh": true,
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-navbar": "view",
|
"u-notice-bar": "view",
|
"u-empty": "view",
|
"u-swipe-action": "view",
|
"u-checkbox-group": "view",
|
"u-checkbox": "view"
|
}
|
}
|
}, {
|
"path": "myCollect",
|
"style": {
|
"navigationBarTitleText": "收藏",
|
"enablePullDownRefresh": true, //下拉刷新
|
"navigationStyle": "custom",
|
"app-plus": {
|
"scrollIndicator": "none"
|
},
|
"componentPlaceholder": {
|
"u-navbar": "view",
|
"u-tabs": "view",
|
"u-empty": "view",
|
"u-swipe-action": "view",
|
"u-image": "view",
|
"u-loading": "view",
|
"u-tag": "view"
|
}
|
}
|
},
|
{
|
"path": "distribution/list",
|
"style": {
|
"navigationBarTitleText": "推广分佣",
|
"app-plus": {
|
//app页面不显示滚动条
|
"scrollIndicator": "none"
|
},
|
"componentPlaceholder": {
|
"u-swipe-action": "view",
|
"u-image": "view",
|
"u-modal": "view"
|
}
|
}
|
},
|
{
|
"path": "distribution/withdrawal",
|
"style": {
|
"navigationBarTitleText": "提现",
|
"app-plus": {
|
//app页面不显示滚动条
|
"scrollIndicator": "none"
|
},
|
"componentPlaceholder": {
|
"u-input": "view"
|
}
|
}
|
},
|
{
|
"path": "distribution/join",
|
"style": {
|
"navigationBarTitleText": "推广资格申请",
|
"navigationBarTextStyle": "black",
|
"app-plus": {
|
//app页面不显示滚动条
|
"scrollIndicator": "none"
|
},
|
"componentPlaceholder": {
|
"u-tabs": "view",
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-button": "view"
|
}
|
}
|
},
|
{
|
"path": "distribution/history",
|
"style": {
|
"navigationBarTitleText": "提现历史",
|
"componentPlaceholder": {
|
"u-loadmore": "view"
|
}
|
}
|
},
|
{
|
"path": "distribution/auth",
|
"style": {
|
"navigationBarTitleText": "会员实名认证",
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-button": "view"
|
}
|
}
|
},
|
{
|
"path": "distribution/achievement",
|
"style": {
|
"navigationBarTitleText": "我的分销业绩"
|
}
|
},
|
{
|
"path": "distribution/home",
|
"style": {
|
"navigationBarTitleText": "推广分佣",
|
"componentPlaceholder": {
|
"u-icon": "view"
|
}
|
}
|
},
|
{
|
"path": "deposit/index",
|
"style": {
|
"navigationStyle": "custom"
|
|
}
|
},
|
{
|
"path": "deposit/operation",
|
"style": {
|
"navigationStyle": "custom"
|
|
}
|
},
|
{
|
"path": "deposit/recharge",
|
"style": {
|
"navigationBarTitleText": "充值金额"
|
|
}
|
},
|
{
|
"path": "deposit/withdrawal",
|
"style": {
|
"navigationBarTitleText": "提现金额"
|
|
}
|
},
|
|
{
|
"path": "deposit/info",
|
"style": {
|
"navigationBarTitleText": "预存款详情"
|
|
}
|
},
|
{
|
"path": "address/address",
|
"style": {
|
"enablePullDownRefresh": true,
|
"navigationBarTitleText": "地址管理"
|
}
|
},
|
{
|
"path": "address/storeAddress",
|
"style": {
|
"enablePullDownRefresh": true,
|
"navigationBarTitleText": "自提点"
|
}
|
},
|
{
|
"path": "address/add",
|
"style": {
|
"navigationBarTitleText": "收货人",
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-icon": "view",
|
"u-action-sheet": "view",
|
"u-checkbox-group": "view",
|
"u-checkbox": "view"
|
}
|
}
|
},
|
{
|
"path": "address/addressManage",
|
"style": {
|
"navigationBarTitleText": "地址管理",
|
"componentPlaceholder": {
|
"u-empty": "view",
|
"u-icon": "view",
|
"u-action-sheet": "view"
|
}
|
}
|
},
|
{
|
"path": "set/versionFunctionList",
|
"style": {
|
"navigationBarTitleText": "功能介绍"
|
}
|
},
|
|
{
|
"path": "set/securityCenter/fingerLogin",
|
"style": {
|
"navigationBarTitleText": "指纹登录"
|
}
|
},
|
{
|
"path": "set/securityCenter/faceLogin",
|
"style": {
|
"navigationBarTitleText": "面容登录"
|
}
|
},
|
|
|
{
|
"path": "set/securityCenter/editPassword",
|
"style": {
|
"navigationBarTitleText": "修改密码",
|
"app-plus": {
|
|
}
|
}
|
},
|
|
{
|
"path": "set/securityCenter/bindMobile",
|
"style": {
|
"navigationBarTitleText": "绑定手机号",
|
"app-plus": {
|
|
}
|
}
|
},
|
|
{
|
"path": "im/list",
|
"style": {
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"enablePullDownRefresh": true,
|
"app-plus": {}
|
|
}
|
},
|
{
|
"path": "im/index",
|
"style": {
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"enablePullDownRefresh": true,
|
"app-plus": {}
|
|
}
|
},
|
{
|
"path": "set/feedBack",
|
"style": {
|
"navigationBarTitleText": "意见反馈",
|
"componentPlaceholder": {
|
"u-input": "view",
|
"u-upload": "view"
|
}
|
}
|
},
|
{
|
"path": "set/securityCenter/securityCenter",
|
"style": {
|
"navigationBarTitleText": "安全中心"
|
}
|
},
|
|
{
|
"path": "set/editionIntro",
|
"style": {
|
"navigationBarTitleText": "关于我们",
|
"componentPlaceholder": {
|
"u-cell-group": "view",
|
"u-cell-item": "view"
|
}
|
}
|
},
|
{
|
"path": "set/setUp",
|
"style": {
|
"navigationBarTitleText": "设置",
|
"componentPlaceholder": {
|
"u-image": "view",
|
"u-icon": "view",
|
"u-cell-group": "view",
|
"u-cell-item": "view"
|
}
|
}
|
},
|
{
|
"path": "set/personMsg",
|
"style": {
|
"navigationBarTitleText": "个人信息",
|
"app-plus": {
|
"titleNView": {
|
"padding-right": "12",
|
"buttons": [{
|
"text": "保存",
|
"fontSize": "16",
|
"width": "auto",
|
"color": "#FFFFFF"
|
}]
|
}
|
},
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-radio-group": "view",
|
"u-radio": "view",
|
"u-picker": "view"
|
}
|
}
|
}, {
|
"path": "help/tips",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-parse": "view"
|
}
|
}
|
}, {
|
"path": "point/myPoint",
|
"style": {
|
"navigationBarTitleText": "我的积分",
|
"componentPlaceholder": {
|
"u-row": "view",
|
"u-col": "view"
|
}
|
}
|
},
|
{
|
"path": "msgTips/main",
|
"style": {
|
"navigationBarTitleText": "消息中心"
|
}
|
},
|
{
|
"path": "msgTips/sysMsg/index",
|
"style": {
|
"navigationBarTitleText": "系统消息"
|
}
|
},
|
{
|
"path": "msgTips/serviceMsg/index",
|
"style": {
|
"navigationBarTitleText": "客服记录"
|
}
|
},
|
{
|
"path": "msgTips/packageMsg/index",
|
"style": {
|
"navigationBarTitleText": "物流消息"
|
}
|
},
|
{
|
"path": "msgTips/packageMsg/logisticsDetail",
|
"style": {
|
"navigationBarTitleText": "订单跟踪"
|
}
|
}, {
|
"path": "activity/detail",
|
"style": {
|
"navigationBarTitleText": "活动详情",
|
"enablePullDownRefresh": true, //下拉刷新
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-icon": "view",
|
"u-action-sheet": "view",
|
"u-checkbox-group": "view",
|
"u-checkbox": "view",
|
"u-navbar": "view",
|
"u-button": "view",
|
"u-image": "view"
|
}
|
}
|
}, {
|
"path": "activity/myActivity",
|
"style": {
|
"navigationBarTitleText": "我的活动",
|
"enablePullDownRefresh": true, //下拉刷新
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-icon": "view",
|
"u-action-sheet": "view",
|
"u-checkbox-group": "view",
|
"u-checkbox": "view",
|
"u-navbar": "view",
|
"u-button": "view",
|
"u-image": "view"
|
}
|
}
|
}, {
|
"path": "activity/reportActivity",
|
"style": {
|
"navigationBarTitleText": "活动",
|
"enablePullDownRefresh": true, //下拉刷新
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-icon": "view",
|
"u-action-sheet": "view",
|
"u-checkbox-group": "view",
|
"u-checkbox": "view",
|
"u-navbar": "view",
|
"u-button": "view",
|
"u-image": "view",
|
"u-loadmore": "view"
|
}
|
}
|
}, {
|
"path": "myCollect/myCollect",
|
"style": {
|
"navigationBarTitleText": "我的收藏",
|
"enablePullDownRefresh": true, //下拉刷新
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-button": "view",
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-popup": "view",
|
"u-search": "view",
|
"u-loading": "view",
|
"u-navbar": "view",
|
"u-image": "view",
|
"u-loadmore": "view"
|
|
}
|
|
}
|
}
|
|
]
|
|
},
|
|
|
{
|
"root": "pages/product",
|
"pages": [{
|
"path": "shopPage",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom"
|
}
|
}, {
|
"path": "shopList",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom"
|
}
|
}, {
|
"path": "licencePhoto",
|
"style": {
|
"navigationBarTitleText": "营业执照"
|
}
|
}, {
|
"path": "shopPageGoods",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "goods",
|
"style": {
|
"backgroundColor": "#fff",
|
"navigationStyle": "custom",
|
"app-plus": {
|
// 将回弹属性关掉
|
"bounce": "none",
|
// 禁止页面滚动
|
"scrollIndicator": "none",
|
"safearea": {
|
"bottom": {
|
"offset": "none"
|
}
|
}
|
},
|
"componentPlaceholder": {
|
"u-icon": "view",
|
"u-navbar": "view",
|
"u-popup": "view"
|
}
|
}
|
},
|
{
|
"path": "askList",
|
"style": {
|
"navigationBarTitleText": "问答专区"
|
}
|
},
|
{
|
"path": "product/promotion/-promotion-details",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-tag": "view"
|
}
|
}
|
},
|
{
|
"path": "product/promotion/-promotion-assemble-promotions",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-tag": "view",
|
"u-count-down": "view"
|
}
|
}
|
},
|
{
|
"path": "product/promotion/-promotion-assemble-list",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-image": "view",
|
"u-button": "view",
|
"u-empty": "view"
|
}
|
}
|
},
|
{
|
"path": "product/goods/-goods-intro",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-empty": "view",
|
"u-parse": "view"
|
}
|
}
|
},
|
{
|
"path": "product/shop/-shop",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-image": "view",
|
"u-loading": "view"
|
}
|
}
|
},
|
{
|
"path": "product/evaluation/-evaluation",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-avatar": "view",
|
"u-read-more": "view",
|
"u-image": "view",
|
"u-empty": "view"
|
}
|
}
|
},
|
{
|
"path": "product/goods/-goods-swiper",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-loading": "view",
|
"u-image": "view"
|
}
|
}
|
},
|
{
|
"path": "product/popup/address",
|
"style": {
|
"navigationBarTitleText": "",
|
"componentPlaceholder": {
|
"u-popup": "view",
|
"u-icon": "view",
|
"u-empty": "view"
|
}
|
}
|
},
|
{ //商品评价
|
"path": "comment",
|
"navigationStyle": "custom",
|
"style": {
|
"navigationBarTitleText": "商品评价",
|
//app页面不显示滚动条
|
"scrollIndicator": "none"
|
}
|
},
|
{ // 客服
|
"path": "customerservice/index",
|
"style": {
|
"navigationBarTitleText": "客服",
|
"usingComponents": {
|
// #ifdef MP-WEIXIN
|
"chat": "plugin://myPlugin/chat"
|
// #endif
|
}
|
}
|
}
|
|
]
|
|
},
|
{
|
"root": "pages/floor",
|
"pages": [{
|
"path": "empty"
|
}]
|
|
},
|
{
|
"root": "pages/video",
|
"pages": [{
|
"path": "home-page",
|
"style": {
|
"navigationBarTitleText": "TA的主页"
|
}
|
},
|
{
|
"path" : "video-play",
|
"style" :
|
{
|
"navigationBarTitleText" : ""
|
}
|
},
|
{
|
"path" : "home-page-edit",
|
"style" :
|
{
|
"navigationBarTitleText" : "主页信息修改"
|
}
|
}
|
]
|
},
|
{
|
"root": "pages/passport",
|
"pages": [{
|
"path": "login",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"app-plus": {
|
"titleNView": false,
|
"animationType": "slide-in-bottom",
|
"scrollIndicator": "none",
|
"safearea": {
|
"bottom": {
|
"offset": "none"
|
}
|
}
|
}
|
}
|
},
|
|
{
|
"path": "entry/seller/index",
|
"style": {
|
"navigationBarTitleText": "店铺入驻",
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-navbar": "view"
|
}
|
}
|
},
|
{
|
"path": "entry/seller/step1",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-upload": "view"
|
}
|
}
|
},
|
{
|
"path": "entry/seller/step2",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view"
|
}
|
}
|
},
|
{
|
"path": "entry/seller/step3",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-form": "view",
|
"u-form-item": "view",
|
"u-input": "view",
|
"u-upload": "view",
|
"u-select": "view"
|
}
|
}
|
},
|
{
|
"path": "entry/seller/control",
|
"style": {
|
"navigationBarTitleText": "",
|
"navigationStyle": "custom",
|
"componentPlaceholder": {
|
"u-navbar": "view"
|
}
|
}
|
},
|
{
|
"path": "article",
|
"style": {
|
"navigationBarTitleText": "文章"
|
}
|
},
|
{
|
"path": "wechatMPLogin",
|
"style": {
|
"navigationBarTitleText": "小程序登录",
|
"navigationStyle": "custom",
|
"navigationBarTextStyle": "black",
|
"componentPlaceholder": {
|
"u-navbar": "view",
|
"u-modal": "view",
|
"u-checkbox": "view"
|
}
|
}
|
},
|
{
|
"path": "scannerCodeLoginConfirm",
|
"style": {
|
"navigationBarTitleText": "扫码登录",
|
"navigationStyle": "custom",
|
"navigationBarTextStyle": "black"
|
}
|
}
|
]
|
|
},
|
|
{
|
"root": "pages/promotion",
|
"pages": [{
|
"path": "seckill",
|
"style": {
|
"navigationBarTitleText": "限时抢购",
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationBarTextStyle": "black",
|
"app-plus": {
|
"titleNView": {
|
"homeButton": true
|
}
|
}
|
}
|
},
|
|
{
|
"path": "joinGroup",
|
"style": {
|
"navigationBarTitleText": "拼团活动",
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationBarTextStyle": "black",
|
"app-plus": {
|
// 将回弹属性关掉
|
"bounce": "none"
|
}
|
}
|
}, {
|
"path": "lives",
|
"style": {
|
"navigationStyle": "custom",
|
"navigationBarTextStyle": "black"
|
|
}
|
}, {
|
"path": "bargain/list",
|
"style": {
|
"navigationStyle": "custom",
|
"navigationBarTextStyle": "white"
|
|
}
|
}, {
|
"path": "bargain/detail",
|
"style": {
|
"navigationStyle": "custom",
|
"navigationBarTextStyle": "white"
|
|
}
|
}, {
|
"path": "bargain/log",
|
"style": {
|
"navigationBarTitleText": "砍价记录",
|
"componentPlaceholder": {
|
"u-image": "view",
|
"u-empty": "view"
|
}
|
}
|
}, {
|
"path": "point/detail",
|
"style": {
|
"navigationStyle": "custom",
|
"navigationBarTextStyle": "white"
|
|
}
|
}, {
|
"path": "point/pointList",
|
"style": {
|
"navigationBarTitleText": "积分商城"
|
|
|
}
|
}
|
|
]
|
|
},
|
{
|
"root": "pages/cart",
|
"pages": [{
|
"path": "coupon/myCoupon",
|
"style": {
|
"navigationBarTitleText": "我的优惠券",
|
"app-plus": {
|
"bounce": "coupon/none"
|
},
|
"componentPlaceholder": {
|
"u-empty": "view",
|
"u-icon": "view"
|
}
|
}
|
},
|
{
|
"path": "coupon/couponDetail",
|
"style": {
|
"navigationBarTitleText": "优惠券详情"
|
}
|
},
|
{
|
"path": "coupon/index",
|
"style": {
|
"navigationBarTitleText": "优惠券"
|
}
|
},
|
|
{
|
"path": "coupon/couponCenter",
|
"style": {
|
"navigationBarTitleText": "领券中心",
|
"enablePullDownRefresh": true,
|
"componentPlaceholder": {
|
"u-empty": "view"
|
}
|
}
|
},
|
{
|
"path": "payment/payOrder",
|
"style": {
|
"navigationBarTitleText": "支付订单",
|
"app-plus": {
|
"popGesture": "none" //禁止侧滑退出
|
|
}
|
}
|
},
|
{
|
"path": "payment/success",
|
"style": {
|
"navigationBarTitleText": "支付成功",
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
"navigationBarTextStyle": "white",
|
"app-plus": {
|
"popGesture": "none", //禁止侧滑退出
|
"titleNView": false
|
}
|
}
|
},
|
{
|
"path": "payment/shareOrderGoods",
|
"style": {
|
"navigationBarTitleText": "",
|
"app-plus": {
|
|
}
|
}
|
}
|
|
]
|
|
},
|
{
|
"root": "pages/order",
|
"pages": [{
|
"path": "complain/complain",
|
"style": {
|
"navigationBarTitleText": "订单商品投诉"
|
}
|
},
|
{
|
"path": "complain/complainInfo",
|
"style": {
|
"navigationBarTitleText": "投诉详情"
|
}
|
},
|
{
|
"path": "complain/complainList",
|
"style": {
|
"navigationBarTitleText": "投诉列表",
|
"componentPlaceholder": {
|
"u-line": "view",
|
"u-image": "view",
|
"u-tag": "view",
|
"u-empty": "view",
|
"u-modal": "view"
|
}
|
}
|
},
|
{
|
"path": "myOrder",
|
"style": {
|
"navigationBarTitleText": "我的订单",
|
"enablePullDownRefresh": true,
|
"app-plus": {
|
"bounce": "none"
|
},
|
"componentPlaceholder": {
|
"u-empty": "view",
|
"u-modal": "view",
|
"u-image": "view",
|
"u-popup": "view",
|
"u-radio-group": "view",
|
"u-radio": "view",
|
"u-button": "view",
|
"u-toast": "view",
|
"u-modal": "view"
|
}
|
}
|
},
|
{
|
"path": "invoice/invoiceDetail",
|
"style": {
|
"navigationBarTitleText": "发票详情"
|
}
|
},
|
{
|
"path": "orderDetail",
|
"style": {
|
"navigationBarTitleText": "订单详情"
|
}
|
},
|
{
|
"path": "deliverDetail",
|
"style": {
|
"navigationBarTitleText": "物流详情"
|
}
|
},
|
{
|
"path": "evaluate/evaluateDetail",
|
"style": {
|
"navigationBarTitleText": "评价详情"
|
}
|
},
|
|
{
|
"path": "evaluate/releaseEvaluate",
|
"style": {
|
"navigationBarTitleText": "发布评价"
|
}
|
},
|
{
|
"path": "evaluate/myEvaluate",
|
"style": {
|
"navigationBarTitleText": "我的评价",
|
"componentPlaceholder": {
|
"u-empty": "view",
|
"u-tabs": "view",
|
"u-image": "view",
|
"u-read-more": "view",
|
"u-tag": "view"
|
}
|
}
|
},
|
|
{
|
"path": "afterSales/applyProgress",
|
"style": {
|
"navigationBarTitleText": "售后服务"
|
}
|
},
|
{
|
"path": "afterSales/applyDetail",
|
"style": {
|
"navigationBarTitleText": "售后服务"
|
}
|
},
|
{
|
"path": "afterSales/applySuccess",
|
"style": {
|
"navigationBarTitleText": "提交成功",
|
"app-plus": {
|
"bounce": "none",
|
"titleNView": {
|
"titleColor": "#FFFFFF",
|
"buttons": [{
|
"text": "完成",
|
"fontSize": "14",
|
"color": "#FFFFFF",
|
"width": "36px"
|
// "background": "rgba(0,0,0,0)"
|
}]
|
}
|
}
|
}
|
},
|
{
|
"path": "afterSales/afterSalesDetailExpress"
|
},
|
{
|
"path": "afterSales/afterSalesSelect",
|
"style": {
|
"navigationBarTitleText": "申请售后"
|
}
|
},
|
{
|
"path": "afterSales/afterSalesDetail",
|
"style": {
|
"navigationBarTitleText": "申请售后"
|
}
|
},
|
{
|
"path": "afterSales/afterSales",
|
"style": {
|
"navigationBarTitleText": "售后管理",
|
"enablePullDownRefresh": true,
|
"componentPlaceholder": {
|
"u-modal": "view",
|
"u-tabs": "view",
|
"u-image": "view",
|
"u-search": "view",
|
"u-icon": "view",
|
"u-loadmore": "view"
|
}
|
}
|
},
|
{
|
"path": "fillorder",
|
"style": {
|
"navigationBarTitleText": "填写订单"
|
}
|
}
|
]
|
}
|
],
|
"globalStyle": {
|
"navigationBarTextStyle": "black",
|
"navigationBarTitleText": "绿满筐",
|
"titleColor": "#303133",
|
"navigationBarBackgroundColor": "#fff",
|
"backgroundColor": "#fff",
|
"color": "#FFFFFF",
|
"app-plus": {
|
// 全局关闭回弹功能
|
"bounce": "none"
|
|
}
|
},
|
"tabBar": {
|
"custom": true,
|
"color": "#666",
|
"selectedColor": "#ff573e",
|
"borderStyle": "black",
|
"backgroundColor": "#ffffff",
|
"list": [{
|
"pagePath": "pages/tabbar/index/home",
|
"iconPath": "static/tabbar/home.png",
|
"selectedIconPath": "static/tabbar/home-s.png",
|
"text": "首页"
|
},
|
{
|
"pagePath": "pages/tabbar/category/category",
|
"iconPath": "static/tabbar/category.png",
|
"selectedIconPath": "static/tabbar/category-s.png",
|
"text": "商城"
|
},
|
{
|
"pagePath": "pages/tabbar/video/video",
|
"iconPath": "static/tabbar/video.png",
|
"selectedIconPath": "static/tabbar/video-selected.png"
|
},
|
{
|
"pagePath": "pages/tabbar/cart/cartList",
|
"iconPath": "static/tabbar/cart.png",
|
"selectedIconPath": "static/tabbar/cart-s.png",
|
"text": "购物车"
|
},
|
{
|
"pagePath": "pages/tabbar/user/my",
|
"iconPath": "static/tabbar/mine.png",
|
"selectedIconPath": "static/tabbar/mine-s.png",
|
"text": "我的"
|
}
|
]
|
},
|
// #todo 为什么要注释condition下代码?
|
// IOS plus.runtime.arguments 添加 condition节点后, 框架会修改 runtime.arguments
|
// 会影响什么功能?
|
// -在h5中唤醒app会一直返回默认值 {"name":"","path":"","query":"","id":0}
|
"condition": { //模式配置,仅开发期间生效
|
// "current": 0, //当前激活的模式(list 的索引项)
|
// "list": [{
|
// "name": "", //模式名称
|
// "path":"", //启动页面,必选
|
// "query": "" //启动参数,在页面的onLoad函数里面得到
|
// }]
|
}
|
}
|