| | |
| | | "easycom": { |
| | | "autoscan": true, |
| | | "custom": { |
| | | "^u-(.*)": "@/uview-components/uview-ui/components/u-$1/u-$1.vue", //uview, |
| | | "^u-(.*)": "@/components/uview-components/uview-ui/components/u-$1/u-$1.vue", //uview, |
| | | "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp组件 |
| | | } |
| | | }, |
| | |
| | | { |
| | | "network": "all", // all(不限网络) wifi(仅wifi下预下载) |
| | | "packages": [ |
| | | "uview-components" |
| | | "components/uview-components" |
| | | ] // 预下载分包的 root 或 name。__APP__ 表示主包 |
| | | } |
| | | }, |
| | |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-popup": "view", |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "components/popups/popups", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | |
| | | ], |
| | | "subPackages": [ |
| | | { |
| | | "root": "uview-components", // 必须与preloadRule中的名称完全一致 |
| | | "root": "components/uview-components", // 必须与preloadRule中的名称完全一致 |
| | | "name": "uview-components", |
| | | "pages": [ |
| | | { |
| | |
| | | "path": "address/address", |
| | | "style": { |
| | | "enablePullDownRefresh": true, |
| | | "navigationBarTitleText": "地址管理" |
| | | "navigationBarTitleText": "地址管理", |
| | | "componentPlaceholder": { |
| | | "u-empty": "view", |
| | | "u-icon": "view", |
| | | "u-action-sheet": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "invoice/setInvoice", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-popup": "view", |
| | | "u-input": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "complain/complainList", |
| | | "style": { |
| | | "navigationBarTitleText": "投诉列表", |
| | |
| | | { |
| | | "path": "fillorder", |
| | | "style": { |
| | | "navigationBarTitleText": "填写订单" |
| | | "navigationBarTitleText": "填写订单", |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-row": "view", |
| | | "u-col": "view", |
| | | "u-input": "view", |
| | | "u-icon": "view", |
| | | "u-select": "view", |
| | | "u-notice-bar": "view" |
| | | } |
| | | } |
| | | } |
| | | ] |