new file: LICENSE new file: README.md new file: WMS_PDA.code-workspace new file: common/api.js new file: common/config.js new file: common/demo.scss new file: common/mixin.js new file: common/props.js new file: components/BluetoothDeviceSelector/BluetoothDeviceSelector.vue new file: components/BluetoothPrint/BluetoothPrint.vue new file: components/PrintPanel/PrintPanel.vue new file: components/WorkbenchPrint/WorkbenchPrint.vue new file: components/demo-com/demo-com.vue new file: components/inputAndSelect/inputAndSelect.vue new file: components/page-nav/page-nav.vue new file: components/pagination/pagination.vue new file: components/space-list/space-list.vue new file: components/uploadImgCos/uploadImgCos.vue new file: core/index.js new file: core/mixins/index.js new file: core/request/apis.js new file: core/request/index.js new file: core/request/request.js new file: core/router/index.js new file: core/router/uni-simple-router.js new file: core/store/index.js new file: core/store/modules/bluetoothPrint.js new file: core/store/modules/broadcast.js new file: core/store/modules/floatWindowManager.js new file: core/store/modules/print.js new file: core/store/modules/setting.js new file: core/store/modules/user.js new file: core/utils/auth.js new file: core/utils/base64.js new file: core/utils/broadcast.js new file: core/utils/dpi-converter.js new file: core/utils/encoding-indexes.js new file: core/utils/encoding.js new file: core/utils/floatWindowManager.js new file: core/utils/simpleFloat.js new file: core/utils/tool.js new file: core/utils/tsc.js new file: env.js new file: main.js new file: manifest.json new file: package.json new file: pages.json new file: pages/403.vue new file: pages/404.vue new file: pages/componentsA/backtop/backtop.nvue new file: pages/componentsA/button/button.nvue new file: pages/componentsA/cell/cell.nvue new file: pages/componentsA/checkbox/checkbox.nvue new file: pages/componentsA/divider/divider.nvue new file: pages/componentsA/empty/empty.nvue new file: pages/componentsA/gap/gap.nvue new file: pages/componentsA/grid/grid.nvue new file: pages/componentsA/icon/icon.nvue new file: pages/componentsA/image/image.nvue new file: pages/componentsA/line/line.nvue new file: pages/componentsA/link/link.nvue new file: pages/componentsA/loading-icon/loading-icon.nvue new file: pages/componentsA/loading-page/loading-page.nvue new file: pages/componentsA/overlay/overlay.nvue new file: pages/componentsA/popup/popup.nvue new file: pages/componentsA/radio/radio.nvue new file: pages/componentsA/rate/rate.nvue new file: pages/componentsA/sticky/sticky.nvue new file: pages/componentsA/swipeAction/swipeAction.nvue new file: pages/componentsA/test/test.vue new file: pages/componentsA/transition/transition.nvue new file: pages/componentsB/actionSheet/actionSheet.nvue new file: pages/componentsB/alert/alert.nvue new file: pages/componentsB/badge/badge.nvue new file: pages/componentsB/code/code.nvue new file: pages/componentsB/collapse/collapse.nvue new file: pages/componentsB/color/color.nvue new file: pages/componentsB/countDown/countDown.nvue new file: pages/componentsB/countTo/countTo.nvue new file: pages/componentsB/dropdown/dropdown.nvue new file: pages/componentsB/keyboard/keyboard.nvue new file: pages/componentsB/noticeBar/noticeBar.nvue new file: pages/componentsB/notify/notify.nvue new file: pages/componentsB/numberBox/numberBox.nvue new file: pages/componentsB/parse/content.js new file: pages/componentsB/parse/jump.vue new file: pages/componentsB/parse/parse.nvue new file: pages/componentsB/progress/progress.nvue new file: pages/componentsB/search/search.nvue new file: pages/componentsB/slider/slider.nvue new file: pages/componentsB/switch/switch.nvue new file: pages/componentsB/tabbar/tabbar.nvue new file: pages/componentsB/tag/tag.nvue new file: pages/componentsB/toast/toast.nvue new file: pages/componentsB/upload/upload.nvue new file: pages/componentsC/album/album.nvue new file: pages/componentsC/avatar/avatar.nvue new file: pages/componentsC/calendar/calendar.nvue new file: pages/componentsC/codeInput/codeInput.nvue new file: pages/componentsC/datetimePicker/datetimePicker.nvue new file: pages/componentsC/form/form.nvue new file: pages/componentsC/indexList/indexList.nvue new file: pages/componentsC/input/input.nvue new file: pages/componentsC/layout/layout.nvue new file: pages/componentsC/list/list.nvue new file: pages/componentsC/loadmore/loadmore.nvue new file: pages/componentsC/modal/modal.nvue new file: pages/componentsC/navbar/navbar.nvue new file: pages/componentsC/noNetwork/noNetwork.nvue new file: pages/componentsC/picker/picker.nvue new file: pages/componentsC/readMore/readMore.nvue new file: pages/componentsC/scrollList/scrollList.nvue new file: pages/componentsC/skeleton/skeleton.nvue new file: pages/componentsC/steps/steps.vue new file: pages/componentsC/subsection/subsection.nvue new file: pages/componentsC/swiper/swiper.nvue new file: pages/componentsC/table/table.nvue new file: pages/componentsC/tabs/tabs.nvue new file: pages/componentsC/text/text.nvue new file: pages/componentsC/textarea/textarea.nvue new file: pages/componentsC/tooltip/tooltip.vue new file: pages/index/index.vue new file: pages/login/index.vue new file: pages/message/index.vue new file: pages/oa/index.vue new file: pages/settings/broadcastSettings.vue new file: pages/settings/index.vue new file: pages/settings/networkTest.vue new file: pages/user/index.vue new file: pages/work/index.vue new file: pages/work/storage/receiving/components/ProductInfoEditor.vue new file: pages/work/storage/receiving/components/detail-container.vue new file: pages/work/storage/receiving/components/info-container.vue new file: pages/work/storage/receiving/components/stockList.vue new file: pages/work/storage/receiving/receiving.vue new file: pages/work/storage/receiving/receivingCreate.vue new file: pages/work/storage/receiving/receivingDetail.vue new file: pages/work/storage/receiving/receivingList.vue new file: pages/work/storage/relocation.vue new file: static/app-plus/mp-html/js/handler.js new file: static/app-plus/mp-html/js/uni.webview.min.js new file: static/app-plus/mp-html/local.html new file: static/common/js/touch-emulator.js new file: static/icon/index.png new file: static/icon/index_a.png new file: static/icon/mime.png new file: static/icon/mime_a.png new file: static/icon/oa.png new file: static/icon/oa_a.png new file: static/loginbg.jpg new file: template.h5.html new file: tree.md new file: uni.scss new file: uni_modules/uni-read-pages/README.md new file: uni_modules/uni-read-pages/index.js new file: uni_modules/uni-read-pages/package.json new file: uni_modules/uni-simple-router/.eslintignore new file: uni_modules/uni-simple-router/.eslintrc.js new file: uni_modules/uni-simple-router/.github/ISSUE_TEMPLATE/bug_report.md new file: uni_modules/uni-simple-router/.github/ISSUE_TEMPLATE/feature_request.md new file: uni_modules/uni-simple-router/CODE_OF_CONDUCT.md new file: uni_modules/uni-simple-router/LICENSE new file: uni_modules/uni-simple-router/README.md new file: uni_modules/uni-simple-router/RFC.md new file: uni_modules/uni-simple-router/api-extractor.json new file: uni_modules/uni-simple-router/dist/link.vue new file: uni_modules/uni-simple-router/dist/uni-simple-router.d.ts new file: uni_modules/uni-simple-router/dist/uni-simple-router.js new file: uni_modules/uni-simple-router/github.sh new file: uni_modules/uni-simple-router/jest.config.js new file: uni_modules/uni-simple-router/package.json new file: uni_modules/uni-simple-router/progress.md new file: uni_modules/uni-simple-router/src/H5/buildRouter.ts new file: uni_modules/uni-simple-router/src/H5/proxyHook.ts new file: uni_modules/uni-simple-router/src/app/appPatch.ts new file: uni_modules/uni-simple-router/src/applets/appletPatch.ts new file: uni_modules/uni-simple-router/src/component/link.vue new file: uni_modules/uni-simple-router/src/global.d.ts new file: uni_modules/uni-simple-router/src/helpers/config.ts new file: uni_modules/uni-simple-router/src/helpers/createRouteMap.ts new file: uni_modules/uni-simple-router/src/helpers/lifeCycle.ts new file: uni_modules/uni-simple-router/src/helpers/mixins.ts new file: uni_modules/uni-simple-router/src/helpers/utils.ts new file: uni_modules/uni-simple-router/src/helpers/warn.ts new file: uni_modules/uni-simple-router/src/index.ts new file: uni_modules/uni-simple-router/src/options/base.ts new file: uni_modules/uni-simple-router/src/options/config.ts new file: uni_modules/uni-simple-router/src/public/hooks.ts new file: uni_modules/uni-simple-router/src/public/methods.ts new file: uni_modules/uni-simple-router/src/public/page.ts new file: uni_modules/uni-simple-router/src/public/query.ts new file: uni_modules/uni-simple-router/src/public/rewrite.ts new file: uni_modules/uni-simple-router/src/public/router.ts new file: uni_modules/uni-simple-router/src/public/uniOrigin.ts new file: uni_modules/uni-simple-router/test/path-to-regexp.spec.ts new file: uni_modules/uni-simple-router/test/query-toggle.spec.ts new file: uni_modules/uni-simple-router/tsconfig.json new file: uni_modules/uni-simple-router/webpack/webpack.common.js new file: uni_modules/uni-simple-router/webpack/webpack.dev.js new file: uni_modules/uni-simple-router/webpack/webpack.prod.js new file: uni_modules/uview-ui/LICENSE new file: uni_modules/uview-ui/README.md new file: uni_modules/uview-ui/changelog.md new file: uni_modules/uview-ui/components/u--form/u--form.vue new file: uni_modules/uview-ui/components/u--image/u--image.vue new file: uni_modules/uview-ui/components/u--input/u--input.vue new file: uni_modules/uview-ui/components/u--text/u--text.vue new file: uni_modules/uview-ui/components/u--textarea/u--textarea.vue new file: uni_modules/uview-ui/components/u-action-sheet/props.js new file: uni_modules/uview-ui/components/u-action-sheet/u-action-sheet.vue new file: uni_modules/uview-ui/components/u-album/props.js new file: uni_modules/uview-ui/components/u-album/u-album.vue new file: uni_modules/uview-ui/components/u-alert/props.js new file: uni_modules/uview-ui/components/u-alert/u-alert.vue new file: uni_modules/uview-ui/components/u-avatar-group/props.js new file: uni_modules/uview-ui/components/u-avatar-group/u-avatar-group.vue new file: uni_modules/uview-ui/components/u-avatar/props.js new file: uni_modules/uview-ui/components/u-avatar/u-avatar.vue new file: uni_modules/uview-ui/components/u-back-top/props.js new file: uni_modules/uview-ui/components/u-back-top/u-back-top.vue new file: uni_modules/uview-ui/components/u-badge/props.js new file: uni_modules/uview-ui/components/u-badge/u-badge.vue new file: uni_modules/uview-ui/components/u-button/nvue.scss new file: uni_modules/uview-ui/components/u-button/props.js new file: uni_modules/uview-ui/components/u-button/u-button.vue new file: uni_modules/uview-ui/components/u-button/vue.scss new file: uni_modules/uview-ui/components/u-calendar/header.vue new file: uni_modules/uview-ui/components/u-calendar/month.vue new file: uni_modules/uview-ui/components/u-calendar/props.js new file: uni_modules/uview-ui/components/u-calendar/u-calendar.vue new file: uni_modules/uview-ui/components/u-calendar/util.js new file: uni_modules/uview-ui/components/u-car-keyboard/props.js new file: uni_modules/uview-ui/components/u-car-keyboard/u-car-keyboard.vue new file: uni_modules/uview-ui/components/u-cell-group/props.js new file: uni_modules/uview-ui/components/u-cell-group/u-cell-group.vue new file: uni_modules/uview-ui/components/u-cell/props.js new file: uni_modules/uview-ui/components/u-cell/u-cell.vue new file: uni_modules/uview-ui/components/u-checkbox-group/props.js new file: uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue new file: uni_modules/uview-ui/components/u-checkbox/props.js new file: uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue new file: uni_modules/uview-ui/components/u-circle-progress/props.js new file: uni_modules/uview-ui/components/u-circle-progress/u-circle-progress.vue new file: uni_modules/uview-ui/components/u-code-input/props.js new file: uni_modules/uview-ui/components/u-code-input/u-code-input.vue new file: uni_modules/uview-ui/components/u-code/props.js new file: uni_modules/uview-ui/components/u-code/u-code.vue new file: uni_modules/uview-ui/components/u-col/props.js new file: uni_modules/uview-ui/components/u-col/u-col.vue new file: uni_modules/uview-ui/components/u-collapse-item/props.js new file: uni_modules/uview-ui/components/u-collapse-item/u-collapse-item.vue new file: uni_modules/uview-ui/components/u-collapse/props.js new file: uni_modules/uview-ui/components/u-collapse/u-collapse.vue new file: uni_modules/uview-ui/components/u-column-notice/props.js new file: uni_modules/uview-ui/components/u-column-notice/u-column-notice.vue new file: uni_modules/uview-ui/components/u-count-down/props.js new file: uni_modules/uview-ui/components/u-count-down/u-count-down.vue new file: uni_modules/uview-ui/components/u-count-down/utils.js new file: uni_modules/uview-ui/components/u-count-to/props.js new file: uni_modules/uview-ui/components/u-count-to/u-count-to.vue new file: uni_modules/uview-ui/components/u-datetime-picker/props.js new file: uni_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue new file: uni_modules/uview-ui/components/u-divider/props.js new file: uni_modules/uview-ui/components/u-divider/u-divider.vue new file: uni_modules/uview-ui/components/u-dropdown-item/props.js new file: uni_modules/uview-ui/components/u-dropdown-item/u-dropdown-item.vue new file: uni_modules/uview-ui/components/u-dropdown/props.js new file: uni_modules/uview-ui/components/u-dropdown/u-dropdown.vue new file: uni_modules/uview-ui/components/u-empty/props.js new file: uni_modules/uview-ui/components/u-empty/u-empty.vue new file: uni_modules/uview-ui/components/u-form-item/props.js new file: uni_modules/uview-ui/components/u-form-item/u-form-item.vue new file: uni_modules/uview-ui/components/u-form/props.js new file: uni_modules/uview-ui/components/u-form/u-form.vue new file: uni_modules/uview-ui/components/u-gap/props.js new file: uni_modules/uview-ui/components/u-gap/u-gap.vue new file: uni_modules/uview-ui/components/u-grid-item/props.js new file: uni_modules/uview-ui/components/u-grid-item/u-grid-item.vue new file: uni_modules/uview-ui/components/u-grid/props.js new file: uni_modules/uview-ui/components/u-grid/u-grid.vue new file: uni_modules/uview-ui/components/u-icon/icons.js new file: uni_modules/uview-ui/components/u-icon/props.js new file: uni_modules/uview-ui/components/u-icon/u-icon.vue new file: uni_modules/uview-ui/components/u-image/props.js new file: uni_modules/uview-ui/components/u-image/u-image.vue new file: uni_modules/uview-ui/components/u-index-anchor/props.js new file: uni_modules/uview-ui/components/u-index-anchor/u-index-anchor.vue new file: uni_modules/uview-ui/components/u-index-item/props.js new file: uni_modules/uview-ui/components/u-index-item/u-index-item.vue new file: uni_modules/uview-ui/components/u-index-list/props.js new file: uni_modules/uview-ui/components/u-index-list/u-index-list.vue new file: uni_modules/uview-ui/components/u-input/props.js new file: uni_modules/uview-ui/components/u-input/u-input.vue new file: uni_modules/uview-ui/components/u-keyboard/props.js new file: uni_modules/uview-ui/components/u-keyboard/u-keyboard.vue new file: uni_modules/uview-ui/components/u-line-progress/props.js new file: uni_modules/uview-ui/components/u-line-progress/u-line-progress.vue new file: uni_modules/uview-ui/components/u-line/props.js new file: uni_modules/uview-ui/components/u-line/u-line.vue new file: uni_modules/uview-ui/components/u-link/props.js new file: uni_modules/uview-ui/components/u-link/u-link.vue new file: uni_modules/uview-ui/components/u-list-item/props.js new file: uni_modules/uview-ui/components/u-list-item/u-list-item.vue new file: uni_modules/uview-ui/components/u-list/props.js new file: uni_modules/uview-ui/components/u-list/u-list.vue new file: uni_modules/uview-ui/components/u-loading-icon/props.js new file: uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue new file: uni_modules/uview-ui/components/u-loading-page/props.js new file: uni_modules/uview-ui/components/u-loading-page/u-loading-page.vue new file: uni_modules/uview-ui/components/u-loadmore/props.js new file: uni_modules/uview-ui/components/u-loadmore/u-loadmore.vue new file: uni_modules/uview-ui/components/u-modal/props.js new file: uni_modules/uview-ui/components/u-modal/u-modal.vue new file: uni_modules/uview-ui/components/u-navbar/props.js new file: uni_modules/uview-ui/components/u-navbar/u-navbar.vue new file: uni_modules/uview-ui/components/u-no-network/props.js new file: uni_modules/uview-ui/components/u-no-network/u-no-network.vue new file: uni_modules/uview-ui/components/u-notice-bar/props.js new file: uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.vue new file: uni_modules/uview-ui/components/u-notify/props.js new file: uni_modules/uview-ui/components/u-notify/u-notify.vue new file: uni_modules/uview-ui/components/u-number-box/props.js new file: uni_modules/uview-ui/components/u-number-box/u-number-box.vue new file: uni_modules/uview-ui/components/u-number-keyboard/props.js new file: uni_modules/uview-ui/components/u-number-keyboard/u-number-keyboard.vue new file: uni_modules/uview-ui/components/u-overlay/props.js new file: uni_modules/uview-ui/components/u-overlay/u-overlay.vue new file: uni_modules/uview-ui/components/u-parse/node/node.vue new file: uni_modules/uview-ui/components/u-parse/parser.js new file: uni_modules/uview-ui/components/u-parse/props.js new file: uni_modules/uview-ui/components/u-parse/u-parse.vue new file: uni_modules/uview-ui/components/u-picker-column/props.js new file: uni_modules/uview-ui/components/u-picker-column/u-picker-column.vue new file: uni_modules/uview-ui/components/u-picker/props.js new file: uni_modules/uview-ui/components/u-picker/u-picker.vue new file: uni_modules/uview-ui/components/u-popup/props.js new file: uni_modules/uview-ui/components/u-popup/u-popup.vue new file: uni_modules/uview-ui/components/u-radio-group/props.js new file: uni_modules/uview-ui/components/u-radio-group/u-radio-group.vue new file: uni_modules/uview-ui/components/u-radio/props.js new file: uni_modules/uview-ui/components/u-radio/u-radio.vue new file: uni_modules/uview-ui/components/u-rate/props.js new file: uni_modules/uview-ui/components/u-rate/u-rate.vue new file: uni_modules/uview-ui/components/u-read-more/props.js new file: uni_modules/uview-ui/components/u-read-more/u-read-more.vue new file: uni_modules/uview-ui/components/u-row-notice/props.js new file: uni_modules/uview-ui/components/u-row-notice/u-row-notice.vue new file: uni_modules/uview-ui/components/u-row/props.js new file: uni_modules/uview-ui/components/u-row/u-row.vue new file: uni_modules/uview-ui/components/u-safe-bottom/props.js new file: uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue new file: uni_modules/uview-ui/components/u-scroll-list/nvue.js new file: uni_modules/uview-ui/components/u-scroll-list/other.js new file: uni_modules/uview-ui/components/u-scroll-list/props.js new file: uni_modules/uview-ui/components/u-scroll-list/scrollWxs.wxs new file: uni_modules/uview-ui/components/u-scroll-list/u-scroll-list.vue new file: uni_modules/uview-ui/components/u-search/props.js new file: uni_modules/uview-ui/components/u-search/u-search.vue new file: uni_modules/uview-ui/components/u-skeleton/props.js new file: uni_modules/uview-ui/components/u-skeleton/u-skeleton.vue new file: uni_modules/uview-ui/components/u-slider/mpother.js new file: uni_modules/uview-ui/components/u-slider/mpwxs.js new file: uni_modules/uview-ui/components/u-slider/mpwxs.wxs new file: "uni_modules/uview-ui/components/u-slider/nvue - \345\211\257\346\234\254.js" new file: uni_modules/uview-ui/components/u-slider/nvue.js new file: uni_modules/uview-ui/components/u-slider/props.js new file: uni_modules/uview-ui/components/u-slider/u-slider.vue new file: uni_modules/uview-ui/components/u-status-bar/props.js new file: uni_modules/uview-ui/components/u-status-bar/u-status-bar.vue new file: uni_modules/uview-ui/components/u-steps-item/props.js new file: uni_modules/uview-ui/components/u-steps-item/u-steps-item.vue new file: uni_modules/uview-ui/components/u-steps/props.js new file: uni_modules/uview-ui/components/u-steps/u-steps.vue new file: uni_modules/uview-ui/components/u-sticky/props.js new file: uni_modules/uview-ui/components/u-sticky/u-sticky.vue new file: uni_modules/uview-ui/components/u-subsection/props.js new file: uni_modules/uview-ui/components/u-subsection/u-subsection.vue new file: uni_modules/uview-ui/components/u-swipe-action-item/index - backup.wxs new file: uni_modules/uview-ui/components/u-swipe-action-item/index.wxs new file: uni_modules/uview-ui/components/u-swipe-action-item/nvue - backup.js new file: uni_modules/uview-ui/components/u-swipe-action-item/nvue.js new file: uni_modules/uview-ui/components/u-swipe-action-item/props.js new file: uni_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue new file: uni_modules/uview-ui/components/u-swipe-action-item/wxs.js new file: uni_modules/uview-ui/components/u-swipe-action/props.js new file: uni_modules/uview-ui/components/u-swipe-action/u-swipe-action.vue new file: uni_modules/uview-ui/components/u-swiper-indicator/props.js new file: uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue new file: uni_modules/uview-ui/components/u-swiper/props.js new file: uni_modules/uview-ui/components/u-swiper/u-swiper.vue new file: uni_modules/uview-ui/components/u-switch/props.js new file: uni_modules/uview-ui/components/u-switch/u-switch.vue new file: uni_modules/uview-ui/components/u-tabbar-item/props.js new file: uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item.vue new file: uni_modules/uview-ui/components/u-tabbar/props.js new file: uni_modules/uview-ui/components/u-tabbar/u-tabbar.vue new file: uni_modules/uview-ui/components/u-table/props.js new file: uni_modules/uview-ui/components/u-table/u-table.vue new file: uni_modules/uview-ui/components/u-tabs-item/props.js new file: uni_modules/uview-ui/components/u-tabs-item/u-tabs-item.vue new file: uni_modules/uview-ui/components/u-tabs/props.js new file: uni_modules/uview-ui/components/u-tabs/u-tabs.vue new file: uni_modules/uview-ui/components/u-tag/props.js new file: uni_modules/uview-ui/components/u-tag/u-tag.vue new file: uni_modules/uview-ui/components/u-td/props.js new file: uni_modules/uview-ui/components/u-td/u-td.vue new file: uni_modules/uview-ui/components/u-text/props.js new file: uni_modules/uview-ui/components/u-text/u-text.vue new file: uni_modules/uview-ui/components/u-text/value.js new file: uni_modules/uview-ui/components/u-textarea/props.js new file: uni_modules/uview-ui/components/u-textarea/u-textarea.vue new file: uni_modules/uview-ui/components/u-toast/u-toast.vue new file: uni_modules/uview-ui/components/u-toolbar/props.js new file: uni_modules/uview-ui/components/u-toolbar/u-toolbar.vue new file: uni_modules/uview-ui/components/u-tooltip/clipboard.min.js new file: uni_modules/uview-ui/components/u-tooltip/props.js new file: uni_modules/uview-ui/components/u-tooltip/u-tooltip.vue new file: uni_modules/uview-ui/components/u-tr/props.js new file: uni_modules/uview-ui/components/u-tr/u-tr.vue new file: uni_modules/uview-ui/components/u-transition/nvue.ani-map.js new file: uni_modules/uview-ui/components/u-transition/props.js new file: uni_modules/uview-ui/components/u-transition/transition.js new file: uni_modules/uview-ui/components/u-transition/u-transition.vue new file: uni_modules/uview-ui/components/u-transition/vue.ani-style.scss new file: uni_modules/uview-ui/components/u-upload/mixin.js new file: uni_modules/uview-ui/components/u-upload/props.js new file: uni_modules/uview-ui/components/u-upload/u-upload.vue new file: uni_modules/uview-ui/components/u-upload/utils.js new file: uni_modules/uview-ui/components/uview-ui/uview-ui.vue new file: uni_modules/uview-ui/index.js new file: uni_modules/uview-ui/index.scss new file: uni_modules/uview-ui/libs/config/color.js new file: uni_modules/uview-ui/libs/config/config.js new file: uni_modules/uview-ui/libs/config/props.js new file: uni_modules/uview-ui/libs/config/props/actionSheet.js new file: uni_modules/uview-ui/libs/config/props/album.js new file: uni_modules/uview-ui/libs/config/props/alert.js new file: uni_modules/uview-ui/libs/config/props/avatar.js new file: uni_modules/uview-ui/libs/config/props/avatarGroup.js new file: uni_modules/uview-ui/libs/config/props/backtop.js new file: uni_modules/uview-ui/libs/config/props/badge.js new file: uni_modules/uview-ui/libs/config/props/button.js new file: uni_modules/uview-ui/libs/config/props/calendar.js new file: uni_modules/uview-ui/libs/config/props/carKeyboard.js new file: uni_modules/uview-ui/libs/config/props/cell.js new file: uni_modules/uview-ui/libs/config/props/cellGroup.js new file: uni_modules/uview-ui/libs/config/props/checkbox.js new file: uni_modules/uview-ui/libs/config/props/checkboxGroup.js new file: uni_modules/uview-ui/libs/config/props/circleProgress.js new file: uni_modules/uview-ui/libs/config/props/code.js new file: uni_modules/uview-ui/libs/config/props/codeInput.js new file: uni_modules/uview-ui/libs/config/props/col.js new file: uni_modules/uview-ui/libs/config/props/collapse.js new file: uni_modules/uview-ui/libs/config/props/collapseItem.js new file: uni_modules/uview-ui/libs/config/props/columnNotice.js new file: uni_modules/uview-ui/libs/config/props/countDown.js new file: uni_modules/uview-ui/libs/config/props/countTo.js new file: uni_modules/uview-ui/libs/config/props/datetimePicker.js new file: uni_modules/uview-ui/libs/config/props/divider.js new file: uni_modules/uview-ui/libs/config/props/empty.js new file: uni_modules/uview-ui/libs/config/props/form.js new file: uni_modules/uview-ui/libs/config/props/formItem.js new file: uni_modules/uview-ui/libs/config/props/gap.js new file: uni_modules/uview-ui/libs/config/props/grid.js new file: uni_modules/uview-ui/libs/config/props/gridItem.js new file: uni_modules/uview-ui/libs/config/props/icon.js new file: uni_modules/uview-ui/libs/config/props/image.js new file: uni_modules/uview-ui/libs/config/props/indexAnchor.js new file: uni_modules/uview-ui/libs/config/props/indexList.js new file: uni_modules/uview-ui/libs/config/props/input.js new file: uni_modules/uview-ui/libs/config/props/keyboard.js new file: uni_modules/uview-ui/libs/config/props/line.js new file: uni_modules/uview-ui/libs/config/props/lineProgress.js new file: uni_modules/uview-ui/libs/config/props/link.js new file: uni_modules/uview-ui/libs/config/props/list.js new file: uni_modules/uview-ui/libs/config/props/listItem.js new file: uni_modules/uview-ui/libs/config/props/loadingIcon.js new file: uni_modules/uview-ui/libs/config/props/loadingPage.js new file: uni_modules/uview-ui/libs/config/props/loadmore.js new file: uni_modules/uview-ui/libs/config/props/modal.js new file: uni_modules/uview-ui/libs/config/props/navbar.js new file: uni_modules/uview-ui/libs/config/props/noNetwork.js new file: uni_modules/uview-ui/libs/config/props/noticeBar.js new file: uni_modules/uview-ui/libs/config/props/notify.js new file: uni_modules/uview-ui/libs/config/props/numberBox.js new file: uni_modules/uview-ui/libs/config/props/numberKeyboard.js new file: uni_modules/uview-ui/libs/config/props/overlay.js new file: uni_modules/uview-ui/libs/config/props/parse.js new file: uni_modules/uview-ui/libs/config/props/picker.js new file: uni_modules/uview-ui/libs/config/props/popup.js new file: uni_modules/uview-ui/libs/config/props/radio.js new file: uni_modules/uview-ui/libs/config/props/radioGroup.js new file: uni_modules/uview-ui/libs/config/props/rate.js new file: uni_modules/uview-ui/libs/config/props/readMore.js new file: uni_modules/uview-ui/libs/config/props/row.js new file: uni_modules/uview-ui/libs/config/props/rowNotice.js new file: uni_modules/uview-ui/libs/config/props/scrollList.js new file: uni_modules/uview-ui/libs/config/props/search.js new file: uni_modules/uview-ui/libs/config/props/section.js new file: uni_modules/uview-ui/libs/config/props/skeleton.js new file: uni_modules/uview-ui/libs/config/props/slider.js new file: uni_modules/uview-ui/libs/config/props/statusBar.js new file: uni_modules/uview-ui/libs/config/props/steps.js new file: uni_modules/uview-ui/libs/config/props/stepsItem.js new file: uni_modules/uview-ui/libs/config/props/sticky.js new file: uni_modules/uview-ui/libs/config/props/subsection.js new file: uni_modules/uview-ui/libs/config/props/swipeAction.js new file: uni_modules/uview-ui/libs/config/props/swipeActionItem.js new file: uni_modules/uview-ui/libs/config/props/swiper.js new file: uni_modules/uview-ui/libs/config/props/swipterIndicator.js new file: uni_modules/uview-ui/libs/config/props/switch.js new file: uni_modules/uview-ui/libs/config/props/tabbar.js new file: uni_modules/uview-ui/libs/config/props/tabbarItem.js new file: uni_modules/uview-ui/libs/config/props/tabs.js new file: uni_modules/uview-ui/libs/config/props/tag.js new file: uni_modules/uview-ui/libs/config/props/text.js new file: uni_modules/uview-ui/libs/config/props/textarea.js new file: uni_modules/uview-ui/libs/config/props/toast.js new file: uni_modules/uview-ui/libs/config/props/toolbar.js new file: uni_modules/uview-ui/libs/config/props/tooltip.js new file: uni_modules/uview-ui/libs/config/props/transition.js new file: uni_modules/uview-ui/libs/config/props/upload.js new file: uni_modules/uview-ui/libs/config/zIndex.js new file: uni_modules/uview-ui/libs/css/color.scss new file: uni_modules/uview-ui/libs/css/common.scss new file: uni_modules/uview-ui/libs/css/components.scss new file: uni_modules/uview-ui/libs/css/flex.scss new file: uni_modules/uview-ui/libs/css/h5.scss new file: uni_modules/uview-ui/libs/css/mixin.scss new file: uni_modules/uview-ui/libs/css/mp.scss new file: uni_modules/uview-ui/libs/css/nvue.scss new file: uni_modules/uview-ui/libs/css/vue.scss new file: uni_modules/uview-ui/libs/function/colorGradient.js new file: uni_modules/uview-ui/libs/function/debounce.js new file: uni_modules/uview-ui/libs/function/digit.js new file: uni_modules/uview-ui/libs/function/index.js new file: uni_modules/uview-ui/libs/function/platform.js new file: uni_modules/uview-ui/libs/function/test.js new file: uni_modules/uview-ui/libs/function/throttle.js new file: uni_modules/uview-ui/libs/luch-request/adapters/index.js new file: uni_modules/uview-ui/libs/luch-request/core/InterceptorManager.js new file: uni_modules/uview-ui/libs/luch-request/core/Request.js new file: uni_modules/uview-ui/libs/luch-request/core/buildFullPath.js new file: uni_modules/uview-ui/libs/luch-request/core/defaults.js new file: uni_modules/uview-ui/libs/luch-request/core/dispatchRequest.js new file: uni_modules/uview-ui/libs/luch-request/core/mergeConfig.js new file: uni_modules/uview-ui/libs/luch-request/core/settle.js new file: uni_modules/uview-ui/libs/luch-request/helpers/buildURL.js new file: uni_modules/uview-ui/libs/luch-request/helpers/combineURLs.js new file: uni_modules/uview-ui/libs/luch-request/helpers/isAbsoluteURL.js new file: uni_modules/uview-ui/libs/luch-request/index.d.ts new file: uni_modules/uview-ui/libs/luch-request/index.js new file: uni_modules/uview-ui/libs/luch-request/utils.js new file: uni_modules/uview-ui/libs/luch-request/utils/clone.js new file: uni_modules/uview-ui/libs/mixin/button.js new file: uni_modules/uview-ui/libs/mixin/mixin.js new file: uni_modules/uview-ui/libs/mixin/mpMixin.js new file: uni_modules/uview-ui/libs/mixin/mpShare.js new file: uni_modules/uview-ui/libs/mixin/openType.js new file: uni_modules/uview-ui/libs/mixin/style.js new file: uni_modules/uview-ui/libs/mixin/touch.js new file: uni_modules/uview-ui/libs/util/async-validator.js new file: uni_modules/uview-ui/libs/util/calendar.js new file: uni_modules/uview-ui/libs/util/dayjs.js new file: uni_modules/uview-ui/libs/util/emitter.js new file: uni_modules/uview-ui/libs/util/route.js new file: uni_modules/uview-ui/package.json new file: uni_modules/uview-ui/theme.scss new file: vue.config.js
1 line
42 KiB
JavaScript
1 line
42 KiB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Router=t():e.Router=t()}(self,(function(){return e={779:(e,t,r)=>{var o=r(173);e.exports=function e(t,r,n){return o(r)||(n=r||n,r=[]),n=n||{},t instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var o=0;o<r.length;o++)t.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(t,r):o(t)?function(t,r,o){for(var n=[],a=0;a<t.length;a++)n.push(e(t[a],r,o).source);return c(new RegExp("(?:"+n.join("|")+")",s(o)),r)}(t,r,n):function(e,t,r){return f(a(e,r),t,r)}(t,r,n)},e.exports.parse=a,e.exports.compile=function(e,t){return u(a(e,t),t)},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=f;var n=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var r,o=[],a=0,i=0,u="",c=t&&t.delimiter||"/";null!=(r=n.exec(e));){var s=r[0],f=r[1],h=r.index;if(u+=e.slice(i,h),i=h+s.length,f)u+=f[1];else{var v=e[i],y=r[2],g=r[3],d=r[4],m=r[5],b=r[6],O=r[7];u&&(o.push(u),u="");var P=null!=y&&null!=v&&v!==y,k="+"===b||"*"===b,j="?"===b||"*"===b,w=r[2]||c,R=d||m;o.push({name:g||a++,prefix:y||"",delimiter:w,optional:j,repeat:k,partial:P,asterisk:!!O,pattern:R?p(R):O?".*":"[^"+l(w)+"]+?"})}}return i<e.length&&(u+=e.substr(i)),u&&o.push(u),o}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",s(t)));return function(t,n){for(var a="",u=t||{},l=(n||{}).pretty?i:encodeURIComponent,p=0;p<e.length;p++){var c=e[p];if("string"!=typeof c){var s,f=u[c.name];if(null==f){if(c.optional){c.partial&&(a+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(o(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(s=l(f[h]),!r[p].test(s))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(s)+"`");a+=(0===h?c.prefix:c.delimiter)+s}}else{if(s=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!r[p].test(s))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');a+=c.prefix+s}}else a+=c}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function p(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function s(e){return e&&e.sensitive?"":"i"}function f(e,t,r){o(t)||(r=t||r,t=[]);for(var n=(r=r||{}).strict,a=!1!==r.end,i="",u=0;u<e.length;u++){var p=e[u];if("string"==typeof p)i+=l(p);else{var f=l(p.prefix),h="(?:"+p.pattern+")";t.push(p),p.repeat&&(h+="(?:"+f+h+")*"),i+=h=p.optional?p.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var v=l(r.delimiter||"/"),y=i.slice(-v.length)===v;return n||(i=(y?i.slice(0,-v.length):i)+"(?:"+v+"(?=$))?"),i+=a?"$":n&&y?"":"(?="+v+"|$)",c(new RegExp("^"+i,s(r)),t)}},173:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},844:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildVueRouter=t.buildVueRoutes=void 0;var n=r(366),a=r(883),i=r(789),u=r(169);t.buildVueRoutes=function(e,t){for(var r=e.routesMap,o=r.pathMap,l=r.finallyPathList,p=Object.keys(t),c=0;c<p.length;c++){var s=p[c],f=o[s],h=t[s];if(f){var v=i.getRoutePath(f,e).finallyPath;if(v instanceof Array)throw new Error("非 vueRouterDev 模式下,alias、aliasPath、path 无法提供数组类型! "+JSON.stringify(f));null!=f.name&&(h.name=f.name);var y=h.path,g=h.alias;delete h.alias,h.path=v,"/"===y&&null!=g&&(h.alias=g,h.path=y),f.beforeEnter&&(h.beforeEnter=function(t,r,o){u.onTriggerEachHook(t,r,e,n.hookToggle.enterHooks,o)})}else a.warn(s+" 路由地址在路由表中未找到,确定是否传递漏啦",e,!0)}return l.includes("*")&&(t["*"]=o["*"]),t},t.buildVueRouter=function(e,t,r){var n;n="[object Array]"===i.getDataType(r)?r:Object.values(r);var a=e.options.h5,u=a.scrollBehavior,l=a.fallback,p=t.options.scrollBehavior;t.options.scrollBehavior=function(e,t,r){return p&&p(e,t,r),u(e,t,r)},t.fallback=l;var c=new t.constructor(o(o({},e.options.h5),{base:t.options.base,mode:t.options.mode,routes:n}));t.matcher=c.matcher}},147:function(e,t){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0}),t.proxyH5Mount=t.proxyEachHook=t.MyArray=void 0;var n=function(e){function t(r,o,n,a){var i=e.call(this)||this;return i.router=r,i.vueEachArray=o,i.myEachHook=n,i.hookName=a,Object.setPrototypeOf(i,t.prototype),i}return o(t,e),t.prototype.push=function(e){var t=this;this.vueEachArray.push(e);var r=this.length;this[this.length]=function(e,o,n){r>0?t.vueEachArray[r](e,o,(function(){n&&n()})):t.myEachHook(e,o,(function(a){!1===a?n(!1):t.vueEachArray[r](e,o,(function(e){n(a)}))}),t.router,!0)}},t}(Array);t.MyArray=n,t.proxyEachHook=function(e,t){for(var r=["beforeHooks","afterHooks"],o=0;o<r.length;o++){var a=r[o],i=e.lifeCycle[a][0];if(i){var u=t[a];t[a]=new n(e,u,i,a)}}},t.proxyH5Mount=function(e){var t;if(0===e.mount.length){if(null===(t=e.options.h5)||void 0===t?void 0:t.vueRouterDev)return;navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)&&setTimeout((function(){if(document.getElementsByTagName("uni-page").length>0)return!1;window.location.reload()}),0)}else e.mount[0].app.$mount(),e.mount=[]}},814:function(e,t){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.tabIndexSelect=t.runtimeQuit=t.registerLoddingPage=void 0;var o=null,n=null;t.registerLoddingPage=function(e){if(e.options.registerLoadingPage){var t=e.options.APP,o=t.loadingPageHook,n=t.loadingPageStyle;o(new plus.nativeObj.View("router-loadding",r({top:"0px",left:"0px",height:"100%",width:"100%"},n())))}},t.runtimeQuit=function(e){void 0===e&&(e="再按一次退出应用");var t=+new Date;o?t-o<1e3&&plus.runtime.quit():(o=t,uni.showToast({title:e,icon:"none",position:"bottom",duration:1e3}),setTimeout((function(){o=null}),1e3))},t.tabIndexSelect=function(e,t){if(!__uniConfig.tabBar||!Array.isArray(__uniConfig.tabBar.list))return!1;for(var r=__uniConfig.tabBar.list,o=[],a=0,i=0;i<r.length;i++){var u=r[i];if("/"+u.pagePath!==e.path&&"/"+u.pagePath!==t.path||(u.pagePath===t.path&&(a=i),o.push(u)),2===o.length)break}return 2===o.length&&(null==n&&(n=uni.requireNativePlugin("uni-tabview")),n.switchSelect({index:a}),!0)}},334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnterPath=void 0,t.getEnterPath=function(e,t){switch(t.options.platform){case"mp-alipay":case"mp-weixin":case"mp-toutiao":case"mp-qq":return e.$options.mpInstance.route;case"mp-baidu":return e.$options.mpInstance.is||e.$options.mpInstance.pageinstance.route}return e.$options.mpInstance.route}},282:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.notCallProxyHook=t.proxyVueSortHookName=t.indexProxyHook=t.appProxyHook=t.lifeCycle=t.baseConfig=t.mpPlatformReg=void 0;var a=r(883);t.mpPlatformReg="(^mp-weixin$)|(^mp-baidu$)|(^mp-alipay$)|(^mp-toutiao$)|(^mp-qq$)|(^mp-360$)",t.baseConfig={h5:{paramsToQuery:!1,vueRouterDev:!1,vueNext:!1,mode:"hash",base:"/",linkActiveClass:"router-link-active",linkExactActiveClass:"router-link-exact-active",scrollBehavior:function(e,t,r){return{x:0,y:0}},fallback:!0},APP:{registerLoadingPage:!0,loadingPageStyle:function(){return JSON.parse('{"backgroundColor":"#FFF"}')},loadingPageHook:function(e){e.show()},launchedHook:function(){plus.navigator.closeSplashscreen()},animation:{}},applet:{animationDuration:300},platform:"h5",keepUniOriginNav:!1,debugger:!1,routerBeforeEach:function(e,t,r){r()},routerAfterEach:function(e,t){},routerErrorEach:function(e,t){t.$lockStatus=!1,a.err(e,t,!0)},detectBeforeLock:function(e,t,r){},routes:[{path:"/choose-location"},{path:"/open-location"},{path:"/preview-image"}]},t.lifeCycle={beforeHooks:[],afterHooks:[],routerBeforeHooks:[],routerAfterHooks:[],routerErrorHooks:[]},t.appProxyHook={app:{created:[],beforeMount:[],mounted:[],onLaunch:[],onShow:[],onHide:[],beforeDestroy:[],destroyed:[]}},t.indexProxyHook={app:t.appProxyHook.app,page:function(e){e.onLaunch;var t=n(e,["onLaunch"]);return o(o({},t),{onLoad:[],onReady:[],onUnload:[],onResize:[]})}(JSON.parse(JSON.stringify(t.appProxyHook.app))),component:[]},t.proxyVueSortHookName={app:["created","beforeMount","mounted","onLaunch","onShow","onHide","beforeDestroy","destroyed"],page:["created","beforeMount","mounted","onLoad","onReady","onShow","onResize","onHide","beforeDestroy","destroyed","onUnload"],component:["created","beforeMount","mounted","beforeDestroy","destroyed"]},t.notCallProxyHook=["onHide","beforeDestroy","destroyed","destroyed","onUnload","onResize"]},801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRouteMap=void 0;var o=r(883),n=r(789);t.createRouteMap=function(e,t){var r={finallyPathList:[],finallyPathMap:Object.create(null),aliasPathMap:Object.create(null),pathMap:Object.create(null),vueRouteMap:Object.create(null),nameMap:Object.create(null)};return t.forEach((function(t){var a=n.getRoutePath(t,e),i=a.finallyPath,u=a.aliasPath,l=a.path;if(null==l)throw new Error("请提供一个完整的路由对象,包括以绝对路径开始的 ‘path’ 字符串 "+JSON.stringify(t));if(i instanceof Array&&!e.options.h5.vueRouterDev&&"h5"===e.options.platform)throw new Error("非 vueRouterDev 模式下,route.alias 目前无法提供数组类型! "+JSON.stringify(t));var p=i,c=u;"h5"!==e.options.platform&&0!==p.indexOf("/")&&"*"!==l&&o.warn("当前路由对象下,route:"+JSON.stringify(t)+" 是否缺少了前缀 ‘/’",e,!0),r.finallyPathMap[p]||(r.finallyPathMap[p]=t,r.aliasPathMap[c]=t,r.pathMap[l]=t,r.finallyPathList.push(p),null!=t.name&&(r.nameMap[t.name]=t))})),r}},662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerEachHooks=t.registerRouterHooks=t.registerHook=void 0;var o=r(366),n=r(169);function a(e,t){e[0]=t}t.registerHook=a,t.registerRouterHooks=function(e,t){return a(e.routerBeforeHooks,(function(e,r,o){t.routerBeforeEach(e,r,o)})),a(e.routerAfterHooks,(function(e,r){t.routerAfterEach(e,r)})),a(e.routerErrorHooks,(function(e,r){t.routerErrorEach(e,r)})),e},t.registerEachHooks=function(e,t,r){a(e.lifeCycle[t],(function(e,a,i,u,l){l?n.onTriggerEachHook(e,a,u,o.hookToggle[t],i):r(e,a,i)}))}},460:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.initMixins=t.getMixins=void 0;var n=r(801),a=r(844),i=r(147),u=r(814),l=r(845),p=r(890),c=r(789),s=r(334),f=r(282),h=!1,v=!1,y={app:!1,page:""};function g(e,t){var r=t.options.platform;return new RegExp(f.mpPlatformReg,"g").test(r)&&(r="app-lets"),{h5:{beforeCreate:function(){var e;if(this.$options.router){t.$route=this.$options.router;var r=[];(null===(e=t.options.h5)||void 0===e?void 0:e.vueRouterDev)?r=t.options.routes:(r=n.createRouteMap(t,this.$options.router.options.routes).finallyPathMap,t.routesMap.vueRouteMap=r,a.buildVueRoutes(t,r)),a.buildVueRouter(t,this.$options.router,r),i.proxyEachHook(t,this.$options.router)}}},"app-plus":{beforeCreate:function(){h||(h=!0,l.proxyPageHook(this,t,"appProxyHook","app"),u.registerLoddingPage(t))}},"app-lets":{beforeCreate:function(){var e=this.$options.mpType;"component"!==e||v?"component"!==e&&(y[e]||("page"===e?(y[e]=s.getEnterPath(this,t),t.enterPath=y[e]):y[e]=!0,l.proxyPageHook(this,t,"appletsProxyHook",e))):c.assertParentChild(y.page,this)&&l.proxyPageHook(this,t,"appletsProxyHook",e)},onLoad:function(){c.voidFun("UNI-SIMPLE-ROUTER"),!v&&c.assertParentChild(y.page,this)&&(v=!0,p.forceGuardEach(t))}}}[r]}t.getMixins=g,t.initMixins=function(e,t){var r=n.createRouteMap(t,t.options.routes);t.routesMap=r,e.mixin(o({},g(0,t)))}},789:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var o=Array(e),n=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,n++)o[n]=a[i];return o};Object.defineProperty(t,"__esModule",{value:!0}),t.deepDecodeQuery=t.resolveAbsolutePath=t.assertParentChild=t.resetPageHook=t.callHook=t.replaceHook=t.lockDetectWarn=t.deepClone=t.baseClone=t.assertDeepObject=t.paramsToQuery=t.forMatNextToFrom=t.urlToJson=t.getUniCachePage=t.copyData=t.getDataType=t.routesForMapRoute=t.notRouteTo404=t.getWildcardRule=t.assertNewOptions=t.getRoutePath=t.notDeepClearNull=t.mergeConfig=t.timeOut=t.def=t.voidFun=void 0;var i=r(282),u=r(169),l=r(883),p=r(890),c=r(779);function s(e,t){for(var r=Object.create(null),n=Object.keys(e).concat(["resolveQuery","parseQuery"]),i=0;i<n.length;i+=1){var u=n[i];null!=t[u]?t[u].constructor===Object?r[u]=o(o({},e[u]),t[u]):r[u]="routes"===u?a(e[u],t[u]):t[u]:r[u]=e[u]}return r}function f(e,t){var r=e.aliasPath||e.alias||e.path;return"h5"!==t.options.platform&&(r=e.path),{finallyPath:r,aliasPath:e.aliasPath||e.path,path:e.path,alias:e.alias}}function h(e,t){var r=e.routesMap.finallyPathMap["*"];if(r)return r;throw t&&u.ERRORHOOK[0](t,e),new Error("当前路由表匹配规则已全部匹配完成,未找到满足的匹配规则。你可以使用 '*' 通配符捕捉最后的异常")}function v(e){return Object.prototype.toString.call(e)}function y(e,t){if(null==e)t=e;else for(var r=0,o=Object.keys(e);r<o.length;r++){var n=o[r],a=n;e[n]!==e&&("object"==typeof e[n]?(t[a]="[object Array]"===v(e[n])?[]:{},t[a]=y(e[n],t[a])):t[a]=e[n])}return t}function g(e){var t="[object Array]"===v(e)?[]:{};return y(e,t),t}function d(e,t,r){for(var o=[],n=i.proxyVueSortHookName[e],a=0;a<n.length;a++){var u=t[n[a]][0];u&&u.hook&&o.push(u.hook(r))}return o}t.voidFun=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.def=function(e,t,r){Object.defineProperty(e,t,{get:function(){return r()}})},t.timeOut=function(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))},t.mergeConfig=s,t.notDeepClearNull=function(e){for(var t in e)null==e[t]&&delete e[t];return e},t.getRoutePath=f,t.assertNewOptions=function(e){var t,r=e.platform,o=e.routes;if(null==r)throw new Error("你在实例化路由时必须传递 'platform'");if(null==o||0===o.length)throw new Error("你在实例化路由时必须传递 routes 为空,这是无意义的。");return"h5"===e.platform&&(null===(t=e.h5)||void 0===t?void 0:t.vueRouterDev)&&(i.baseConfig.routes=[]),s(i.baseConfig,e)},t.getWildcardRule=h,t.notRouteTo404=function(e,t,r,o){if("*"!==t.path)return t;var n=t.redirect;if(void 0===n)throw new Error(" * 通配符必须配合 redirect 使用。redirect: string | Location | Function");var a=n;return"function"==typeof a&&(a=a(r)),p.navjump(a,e,o,void 0,void 0,void 0,!1)},t.routesForMapRoute=function e(t,r,o,n){var a;if(void 0===n&&(n=!1),null===(a=t.options.h5)||void 0===a?void 0:a.vueRouterDev)return{path:r};for(var i=r.split("?")[0],u="",l=t.routesMap,p=0;p<o.length;p++)for(var s=l[o[p]],f=0,y=Object.entries(s);f<y.length;f++){var g=y[f],d=g[0],m=g[1];if("*"!==d){var b=m,O=d;if("[object Array]"===v(s)&&(O=b),null!=c(O).exec(i))return"[object String]"===v(b)?l.finallyPathMap[b]:b}else""===u&&(u="*")}if(n)return{};if(l.aliasPathMap){var P=e(t,r,["aliasPathMap"],!0);if(Object.keys(P).length>0)return P}if(""!==u)return h(t);throw new Error(r+" 路径无法在路由表中找到!检查跳转路径及路由表")},t.getDataType=v,t.copyData=function(e){return JSON.parse(JSON.stringify(e))},t.getUniCachePage=function(e){var t=getCurrentPages();if(null==e)return t;if(0===t.length)return t;var r=t.reverse()[e];return null==r?[]:r},t.urlToJson=function(e){var t={},r=e.split("?"),o=r[0],n=r[1];if(null!=n)for(var a=0,i=n.split("&");a<i.length;a++){var u=i[a].split("=");t[u[0]]=u[1]}return{path:o,query:t}},t.forMatNextToFrom=function(e,t,r){var o=[t,r],n=o[0],a=o[1];if("h5"===e.options.platform){var i=e.options.h5,u=i.vueNext,l=i.vueRouterDev;u||l||(n=p.createRoute(e,void 0,n),a=p.createRoute(e,void 0,a))}else n=p.createRoute(e,void 0,g(n)),a=p.createRoute(e,void 0,g(a));return{matTo:n,matFrom:a}},t.paramsToQuery=function(e,t){var r;if("h5"===e.options.platform&&!(null===(r=e.options.h5)||void 0===r?void 0:r.paramsToQuery))return t;if("[object Object]"===v(t)){var a=t,i=a.name,l=a.params,p=n(a,["name","params"]),c=l;if("h5"!==e.options.platform&&null==c&&(c={}),null!=i&&null!=c){var s=e.routesMap.nameMap[i];null==s&&(s=h(e,{type:2,msg:"命名路由为:"+i+" 的路由,无法在路由表中找到!",toRule:t}));var y=f(s,e).finallyPath;if(!y.includes(":"))return o(o({},p),{path:y,query:c});u.ERRORHOOK[0]({type:2,msg:"动态路由:"+y+" 无法使用 paramsToQuery!",toRule:t},e)}}return t},t.assertDeepObject=function(e){var t=null;try{t=JSON.stringify(e).match(/\{|\[|\}|\]/g)}catch(e){l.warnLock("传递的参数解析对象失败。"+e)}return null!=t&&t.length>3},t.baseClone=y,t.deepClone=g,t.lockDetectWarn=function(e,t,r,o,n){if("afterHooks"===n)o();else{var a=e.options.detectBeforeLock;a&&a(e,t,r),e.$lockStatus?e.options.routerErrorEach({type:2,msg:"当前页面正在处于跳转状态,请稍后再进行跳转...."},e):o()}},t.replaceHook=function(e,t,r,o){var n=t.$options,a=e[r][o],u={};if("[object Array]"===v(a)&&(u={beforeCreate:[],created:[],beforeMount:[],mounted:[],beforeDestroy:[],destroyed:[]}),null!=a){for(var l=i.proxyVueSortHookName[o],p=function(r){var p=l[r],c=n[p];if("[object Array]"===v(c)){if(1===c.length&&c.toString().includes("UNI-SIMPLE-ROUTER"))return"continue";var s={options:[],hook:Function},f=c.splice(c.length-1,1,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.options=e}))[0];s.hook=function(r){return e.enterPath.replace(/^\//,"")!==r.replace(/^\//,"")&&"app"!==o?function(){}:(i.notCallProxyHook.includes(p)||f.apply(t,s.options),function(){c.splice(c.length-1,1,f)})},Object.keys(u).length>0?u[p]=[s]:a[p]=[s]}},c=0;c<l.length;c++)p(c);Object.keys(u).length>0&&a.push(u)}},t.callHook=d,t.resetPageHook=function(e,t){var r=t.trim().match(/^(\/?[^\?\s]+)(\?[\s\S]*$)?$/);if(null==r)throw new Error("还原hook失败。请检查 【"+t+"】 路径是否正确。");t=r[1];var o="appletsProxyHook";"app-plus"===e.options.platform&&(o="appProxyHook");for(var n=[],a=0,i=Object.entries(e[o]);a<i.length;a++){var u=i[a],l=u[0],p=u[1],c=l;if("[object Array]"===v(p))for(var s=0;s<p.length;s++)n=n.concat(d(c,p[s],t));else n=n.concat(d(c,p,t))}setTimeout((function(){for(var e=0;e<n.length;e++)n[e]()}),500)},t.assertParentChild=function(e,t){for(;null!=t.$parent;){var r=t.$parent.$mp;if(r.page&&r.page.is===e)return!0;t=t.$parent}try{if(t.$mp.page.is===e||t.$mp.page.route===e)return!0}catch(e){return!1}return!1},t.resolveAbsolutePath=function(e,t){var r=/^\/?([^\?\s]+)(\?.+)?$/,o=e.trim();if(!r.test(o))throw new Error("【"+e+"】 路径错误,请提供完整的路径(10001)。");var n=o.match(r);if(null==n)throw new Error("【"+e+"】 路径错误,请提供完整的路径(10002)。");var a=n[2]||"";if(/^\.\/[^\.]+/.test(o))return(t.currentRoute.path+e).replace(/[^\/]+\.\//,"");var i=n[1].replace(/\//g,"\\/").replace(/\.\./g,"[^\\/]+").replace(/\./g,"\\."),u=new RegExp("^\\/"+i+"$"),l=t.options.routes.filter((function(e){return u.test(e.path)}));if(1!==l.length)throw new Error("【"+e+"】 路径错误,尝试转成绝对路径失败,请手动转成绝对路径(10003)。");return l[0].path+a},t.deepDecodeQuery=function e(t){for(var r="[object Array]"===v(t)?[]:{},o=Object.keys(t),n=0;n<o.length;n++){var a=o[n],i=t[a];if("string"==typeof i)try{var u=JSON.parse(decodeURIComponent(i));"object"!=typeof u&&(u=i),r[a]=u}catch(e){try{r[a]=decodeURIComponent(i)}catch(e){r[a]=i}}else if("object"==typeof i){var l=e(i);r[a]=l}else r[a]=i}return r}},883:(e,t)=>{"use strict";function r(e,t,r,o){if(void 0===o&&(o=!1),!o){var n="[object Object]"===t.toString();if(!1===t)return!1;if(n&&!1===t[e])return!1}return console[e](r),!0}Object.defineProperty(t,"__esModule",{value:!0}),t.warnLock=t.log=t.warn=t.err=t.isLog=void 0,t.isLog=r,t.err=function(e,t,o){r("error",t.options.debugger,e,o)},t.warn=function(e,t,o){r("warn",t.options.debugger,e,o)},t.log=function(e,t,o){r("log",t.options.debugger,e,o)},t.warnLock=function(e){console.warn(e)}},607:function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),n=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||o(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.createRouter=t.RouterMount=t.runtimeQuit=void 0,n(r(366),t),n(r(309),t);var a=r(814);Object.defineProperty(t,"runtimeQuit",{enumerable:!0,get:function(){return a.runtimeQuit}});var i=r(963);Object.defineProperty(t,"RouterMount",{enumerable:!0,get:function(){return i.RouterMount}}),Object.defineProperty(t,"createRouter",{enumerable:!0,get:function(){return i.createRouter}})},366:(e,t)=>{"use strict";var r,o,n;Object.defineProperty(t,"__esModule",{value:!0}),t.rewriteMethodToggle=t.navtypeToggle=t.hookToggle=void 0,(n=t.hookToggle||(t.hookToggle={})).beforeHooks="beforeEach",n.afterHooks="afterEach",n.enterHooks="beforeEnter",(o=t.navtypeToggle||(t.navtypeToggle={})).push="navigateTo",o.replace="redirectTo",o.replaceAll="reLaunch",o.pushTab="switchTab",o.back="navigateBack",(r=t.rewriteMethodToggle||(t.rewriteMethodToggle={})).navigateTo="push",r.navigate="push",r.redirectTo="replace",r.reLaunch="replaceAll",r.switchTab="pushTab",r.navigateBack="back"},309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},169:function(e,t,r){"use strict";var o=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.loopCallHook=t.transitionTo=t.onTriggerEachHook=t.callHook=t.callBeforeRouteLeave=t.HOOKLIST=t.ERRORHOOK=void 0;var n=r(789),a=r(890),i=r(147),u=r(814);function l(e,t,r,o){var a,i=n.getUniCachePage(0);if(Object.keys(i).length>0){var u=void 0;switch("h5"===e.options.platform?u=i.$options.beforeRouteLeave:null!=i.$vm&&(u=i.$vm.$options.beforeRouteLeave),n.getDataType(u)){case"[object Array]":a=(a=u[0]).bind(i);break;case"[object Function]":a=u.bind(i.$vm)}}return p(a,t,r,e,o)}function p(e,t,r,o,n,a){void 0===a&&(a=!0),null!=e&&e instanceof Function?!0===a?e(t,r,n,o,!1):(e(t,r,(function(){}),o,!1),n()):n()}function c(e,t,r,o,a,i){var u=n.forMatNextToFrom(e,t,r),l=u.matTo,p=u.matFrom;"h5"===e.options.platform?s(a,0,i,e,l,p,o):s(a.slice(0,4),0,(function(){i((function(){s(a.slice(4),0,n.voidFun,e,l,p,o)}))}),e,l,p,o)}function s(e,r,i,l,p,c,f){var h=n.routesForMapRoute(l,p.path,["finallyPathMap","pathMap"]);if(e.length-1<r)return i();var v=e[r],y=t.ERRORHOOK[0];v(l,p,c,h,(function(t){if("app-plus"===l.options.platform&&(!1!==t&&"string"!=typeof t&&"object"!=typeof t||u.tabIndexSelect(p,c)),!1===t)"h5"===l.options.platform&&i(!1),y({type:0,msg:"管道函数传递 false 导航被终止!",matTo:p,matFrom:c,nextTo:t},l);else if("string"==typeof t||"object"==typeof t){var n=f,h=t;if("object"==typeof t){var v=t.NAVTYPE;h=o(t,["NAVTYPE"]),null!=v&&(n=v)}a.navjump(h,l,n,{from:c,next:i})}else null==t?(r++,s(e,r,i,l,p,c,f)):y({type:1,msg:"管道函数传递未知类型,无法被识别。导航被终止!",matTo:p,matFrom:c,nextTo:t},l)}))}t.ERRORHOOK=[function(e,t){return t.lifeCycle.routerErrorHooks[0](e,t)}],t.HOOKLIST=[function(e,t,r,o,n){return p(e.lifeCycle.routerBeforeHooks[0],t,r,e,n)},function(e,t,r,o,n){return l(e,t,r,n)},function(e,t,r,o,n){return p(e.lifeCycle.beforeHooks[0],t,r,e,n)},function(e,t,r,o,n){return p(o.beforeEnter,t,r,e,n)},function(e,t,r,o,n){return p(e.lifeCycle.afterHooks[0],t,r,e,n,!1)},function(e,t,r,o,n){return e.$lockStatus=!1,"h5"===e.options.platform&&i.proxyH5Mount(e),p(e.lifeCycle.routerAfterHooks[0],t,r,e,n,!1)}],t.callBeforeRouteLeave=l,t.callHook=p,t.onTriggerEachHook=function(e,r,o,n,a){var i=[];switch(n){case"beforeEach":i=t.HOOKLIST.slice(0,3);break;case"afterEach":i=t.HOOKLIST.slice(4);break;case"beforeEnter":i=t.HOOKLIST.slice(3,4)}c(o,e,r,"push",i,a)},t.transitionTo=c,t.loopCallHook=s},890:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createRoute=t.forceGuardEach=t.backOptionsBuild=t.navjump=t.lockNavjump=void 0;var n=r(366),a=r(99),i=r(789),u=r(169),l=r(845),p=r(169);function c(e,t,r,o,n){i.lockDetectWarn(t,e,r,(function(){"h5"!==t.options.platform&&(t.$lockStatus=!0),s(e,t,r,void 0,o,n)}))}function s(e,t,r,c,s,h,v){if(void 0===v&&(v=!0),"back"===r){var y;if(y="string"==typeof e?+e:e.delta||1,"h5"===t.options.platform){t.$route.go(-y);var g=(h||{success:i.voidFun}).success||i.voidFun,d=(h||{complete:i.voidFun}).complete||i.voidFun;return g({errMsg:"navigateBack:ok"}),void d({errMsg:"navigateBack:ok"})}e=f(t,y,h)}var m=a.queryPageToMap(e,t).rule;m.type=n.navtypeToggle[r];var b=i.paramsToQuery(t,m),O=a.resolveQuery(b,t);if("h5"===t.options.platform)if("push"!==r&&(r="replace"),null!=c)c.next(o({replace:"push"!==r},O));else if("push"===r&&Reflect.has(O,"events")){if(Reflect.has(O,"name"))throw new Error("在h5端上使用 'push'、'navigateTo' 跳转时,如果包含 events 不允许使用 name 跳转,因为 name 实现了动态路由。请更换为 path 或者 url 跳转!");uni.navigateTo(O,!0,i.voidFun,s)}else t.$route[r](O,O.success||i.voidFun,O.fail||i.voidFun);else{var P={path:""};if(null==c){var k=i.routesForMapRoute(t,O.path,["finallyPathMap","pathMap"]);k=i.notRouteTo404(t,k,O,r),O=o(o(o(o({},k),{params:{}}),O),{path:k.path}),P=l.createToFrom(O,t)}else P=c.from;if(l.createFullPath(O,P),!1===v)return O;u.transitionTo(t,O,P,r,p.HOOKLIST,(function(e){uni[n.navtypeToggle[r]](O,!0,e,s)}))}}function f(e,t,r){var n=h(e,t),a=o(o({},r||{}),{path:n.path,query:n.query,delta:t});if("[object Object]"===i.getDataType(r)){var u=r,l=u.animationDuration,p=u.animationType;null!=l&&(a.animationDuration=l),null!=p&&(a.animationType=p);var c=r.from;null!=c&&(a.BACKTYPE=c)}return a}function h(e,t,r){void 0===t&&(t=0);var u={name:"",meta:{},path:"",fullPath:"",NAVTYPE:"",query:{},params:{},BACKTYPE:(r||{BACKTYPE:""}).BACKTYPE||""};if(19970806===t)return u;if("h5"===e.options.platform){var l={path:""};l=null!=r?r:e.$route.currentRoute;var p=i.copyData(l.params);delete p.__id__;var c=a.parseQuery(o(o({},p),i.copyData(l.query)),e);l=o(o({},l),{query:c}),u.path=l.path,u.fullPath=l.fullPath||"",u.query=i.deepDecodeQuery(l.query||{}),u.NAVTYPE=n.rewriteMethodToggle[l.type||"reLaunch"]}else{var s={};if(null!=r)s=o(o({},r),{openType:r.type});else{var f=i.getUniCachePage(t);if(0===Object.keys(f).length)throw e.options.routerErrorEach({type:3,msg:"不存在的页面栈,请确保有足够的页面可用,当前 level:"+t},e),new Error("不存在的页面栈,请确保有足够的页面可用,当前 level:"+t);var h=f.options||{};s=o(o({},f.$page||{}),{query:i.deepDecodeQuery(h),fullPath:decodeURIComponent((f.$page||{}).fullPath||"/"+f.route)}),"app-plus"!==e.options.platform&&(s.path="/"+f.route)}var v=s.openType;u.query=s.query,u.path=s.path,u.fullPath=s.fullPath,u.NAVTYPE=n.rewriteMethodToggle[v||"reLaunch"]}var y=i.routesForMapRoute(e,u.path,["finallyPathMap","pathMap"]),g=o(o({},u),y);return g.query=a.parseQuery(g.query,e),g}t.lockNavjump=c,t.navjump=s,t.backOptionsBuild=f,t.forceGuardEach=function(e,t,r){if(void 0===t&&(t="replaceAll"),void 0===r&&(r=!1),"h5"===e.options.platform)throw new Error("在h5端上使用:forceGuardEach 是无意义的,目前 forceGuardEach 仅支持在非h5端上使用");var o=i.getUniCachePage(0);0===Object.keys(o).length&&e.options.routerErrorEach({type:3,msg:"不存在的页面栈,请确保有足够的页面可用,当前 level:0"},e);var n=o,a=n.route,u=n.options;c({path:"/"+a,query:i.deepDecodeQuery(u||{})},e,t,r)},t.createRoute=h},845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.proxyPageHook=t.createFullPath=t.createToFrom=void 0;var o=r(789),n=r(890),a=r(99);t.createToFrom=function(e,t){var r=o.getUniCachePage(0);return"[object Array]"===o.getDataType(r)?o.deepClone(e):n.createRoute(t)},t.createFullPath=function(e,t){if(null==e.fullPath){var r=a.stringifyQuery(e.query);e.fullPath=e.path+r}null==t.fullPath&&(r=a.stringifyQuery(t.query),t.fullPath=t.path+r)},t.proxyPageHook=function(e,t,r,n){o.replaceHook(t,e,r,n)}},99:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyQuery=t.parseQuery=t.resolveQuery=t.queryPageToMap=void 0;var n=r(789),a=r(169),i=r(883),u=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},p=/%2C/g,c=function(e){return encodeURIComponent(e).replace(u,l).replace(p,",")};t.queryPageToMap=function(e,t){var r={},i="",u=e.success,l=e.fail;if("[object Object]"===n.getDataType(e)){var p=e;if(null!=p.path){var c=n.urlToJson(p.path),s=c.path,f=c.query;i=n.routesForMapRoute(t,s,["finallyPathList","pathMap"]),r=o(o({},f),e.query||{}),p.path=s,p.query=r,delete e.params}else null!=p.name?null==(i=t.routesMap.nameMap[p.name])?i=n.getWildcardRule(t,{type:2,msg:"命名路由为:"+p.name+" 的路由,无法在路由表中找到!",toRule:e}):(r=e.params||{},delete e.query):i=n.getWildcardRule(t,{type:2,msg:e+" 解析失败,请检测当前路由表下是否有包含。",toRule:e})}else e=n.urlToJson(e),i=n.routesForMapRoute(t,e.path,["finallyPathList","pathMap"]),r=e.query;if("h5"===t.options.platform){n.getRoutePath(i,t).finallyPath.includes(":")&&null==e.name&&a.ERRORHOOK[0]({type:2,msg:"当有设置 alias或者aliasPath 为动态路由时,不允许使用 path 跳转。请使用 name 跳转!",route:i},t);var h=e.complete,v=e.success,y=e.fail;if("[object Function]"===n.getDataType(h)){var g=function(e,t){"[object Function]"===n.getDataType(t)&&t.apply(this,e),h.apply(this,e)};u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];g.call(this,e,v)},l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];g.call(this,e,y)}}}var d=e;return"[object Function]"===n.getDataType(d.success)&&(d.success=u),"[object Function]"===n.getDataType(d.fail)&&(d.fail=l),{rule:d,route:i,query:r}},t.resolveQuery=function(e,t){var r="query";null!=e.params&&(r="params"),null!=e.query&&(r="query");var o=n.copyData(e[r]||{}),a=t.options.resolveQuery;if(a){var u=a(o);"[object Object]"!==n.getDataType(u)?i.warn("请按格式返回参数: resolveQuery?:(jsonQuery:{[propName: string]: any;})=>{[propName: string]: any;}",t):e[r]=u}else{if(!n.assertDeepObject(o))return e;var l=JSON.stringify(o);e[r]={query:l}}return e},t.parseQuery=function(e,t){var r=t.options.parseQuery;if(r)e=r(n.copyData(e)),"[object Object]"!==n.getDataType(e)&&i.warn("请按格式返回参数: parseQuery?:(jsonQuery:{[propName: string]: any;})=>{[propName: string]: any;}",t);else if(Reflect.get(e,"query")){var o=Reflect.get(e,"query");if("string"==typeof o)try{o=JSON.parse(o)}catch(e){i.warn("尝试解析深度对象失败,按原样输出。"+e,t)}if("object"==typeof o)return n.deepDecodeQuery(o)}return e},t.stringifyQuery=function(e){var t=e?Object.keys(e).map((function(t){var r=e[t];if(void 0===r)return"";if(null===r)return c(t);if(Array.isArray(r)){var o=[];return r.forEach((function(e){void 0!==e&&(null===e?o.push(c(t)):o.push(c(t)+"="+c(e)))})),o.join("&")}return c(t)+"="+c(r)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}},314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rewriteMethod=void 0;var o=r(366),n=r(789),a=r(883),i=r(809),u=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"];t.rewriteMethod=function(e){!1===e.options.keepUniOriginNav&&u.forEach((function(t){var r=uni[t];uni[t]=function(u,l,p,c){void 0===l&&(l=!1),l?i.uniOriginJump(e,r,t,u,p,c):("app-plus"===e.options.platform&&0===Object.keys(e.appMain).length&&(e.appMain={NAVTYPE:t,path:u.url}),function(e,t,r){if("app-plus"===r.options.platform){var i=null;e&&(i=e.openType),null!=i&&"appLaunch"===i&&(t="reLaunch")}if("reLaunch"===t&&'{"url":"/"}'===JSON.stringify(e)&&(a.warn("uni-app 原生方法:reLaunch({url:'/'}) 默认被重写啦!你可以使用 this.$Router.replaceAll() 或者 uni.reLaunch({url:'/?xxx=xxx'})",r,!0),t="navigateBack",e={from:"backbutton"}),"navigateBack"===t){var u=1;null==e&&(e={delta:1}),"[object Number]"===n.getDataType(e.delta)&&(u=e.delta),r.back(u,e)}else{var l=o.rewriteMethodToggle[t],p=e.url;if(!p.startsWith("/")){var c=n.resolveAbsolutePath(p,r);p=c,e.url=c}if("switchTab"===t){var s=n.routesForMapRoute(r,p,["pathMap","finallyPathList"]),f=n.getRoutePath(s,r).finallyPath;if("[object Array]"===n.getDataType(f)&&a.warn("uni-app 原生方法跳转路径为:"+p+"。此路为是tab页面时,不允许设置 alias 为数组的情况,并且不能为动态路由!当然你可以通过通配符*解决!",r,!0),"*"===f&&a.warn("uni-app 原生方法跳转路径为:"+p+"。在路由表中找不到相关路由表!当然你可以通过通配符*解决!",r,!0),"h5"===r.options.platform){var h=e.success;e.success=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];null==h||h.apply(null,t),n.timeOut(150).then((function(){var t=e.detail||{};if(Object.keys(t).length>0&&Reflect.has(t,"index")){var r=n.getUniCachePage(0);if(0===Object.keys(r).length)return!1;var o=r,a=o.$options.onTabItemTap;if(a)for(var i=0;i<a.length;i++)a[i].call(o,t)}}))}}p=f}var v=e,y=v.events,g=v.success,d=v.fail,m=v.complete,b=v.animationType,O={path:p,events:y,success:g,fail:d,complete:m,animationDuration:v.animationDuration,animationType:b};r[l](n.notDeepClearNull(O))}}(u,t,e))}}))}},963:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createRouter=t.RouterMount=void 0;var n=r(282),a=r(789),i=r(662),u=r(460),l=r(890),p=r(314),c=function(){},s=new Promise((function(e){return c=e}));t.createRouter=function(e){var t=a.assertNewOptions(e),r={options:t,mount:[],Vue:null,appProxyHook:n.appProxyHook,appletsProxyHook:n.indexProxyHook,appMain:{},enterPath:"",$route:null,$lockStatus:!1,routesMap:{},lifeCycle:i.registerRouterHooks(n.lifeCycle,t),push:function(e){l.lockNavjump(e,r,"push")},replace:function(e){l.lockNavjump(e,r,"replace")},replaceAll:function(e){l.lockNavjump(e,r,"replaceAll")},pushTab:function(e){l.lockNavjump(e,r,"pushTab")},back:function(e,t){void 0===e&&(e=1),"[object Object]"!==a.getDataType(t)?t={from:"navigateBack"}:Reflect.has(t,"from")||(t=o(o({},t),{from:"navigateBack"})),l.lockNavjump(e+"",r,"back",void 0,t)},forceGuardEach:function(e,t){l.forceGuardEach(r,e,t)},beforeEach:function(e){i.registerEachHooks(r,"beforeHooks",e)},afterEach:function(e){i.registerEachHooks(r,"afterHooks",e)},install:function(e){r.Vue=e,p.rewriteMethod(this),u.initMixins(e,this),Object.defineProperty(e.prototype,"$Router",{get:function(){var e=r;return Object.defineProperty(this,"$Router",{value:e,writable:!1,configurable:!1,enumerable:!1}),Object.seal(e)}}),Object.defineProperty(e.prototype,"$Route",{get:function(){return l.createRoute(r)}}),Object.defineProperty(e.prototype,"$AppReady",{get:function(){return"h5"===r.options.platform?Promise.resolve():s},set:function(e){!0===e&&c()}})}};return a.def(r,"currentRoute",(function(){return l.createRoute(r)})),r.beforeEach((function(e,t,r){return r()})),r.afterEach((function(){})),r},t.RouterMount=function(e,t,r){if(void 0===r&&(r="#app"),"[object Array]"!==a.getDataType(t.mount))throw new Error("挂载路由失败,router.app 应该为数组类型。当前类型:"+typeof t.mount);if(t.mount.push({app:e,el:r}),"h5"===t.options.platform){var o=t.$route;o.replace({path:o.currentRoute.fullPath})}}},809:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))((function(n,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function u(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,u)}l((o=o.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,o,n,a,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,o&&(n=2&a[0]?o.return:a[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;switch(o=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((n=(n=i.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(6===a[0]&&i.label<n[1]){i.label=n[1],n=a;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(a);break}n[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],o=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},i=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.formatOriginURLQuery=t.uniOriginJump=void 0;var u=r(99),l=r(789),p=r(282),c=0,s="reLaunch";function f(e,t,r){var n,a=t.url,i=t.path,p=t.query,c=t.animationType,s=t.animationDuration,f=t.events,h=t.success,v=t.fail,y=t.complete,g=t.delta,d=t.animation,m=u.stringifyQuery(p||{}),b=""===m?i||a:(i||a)+m,O={};return"app-plus"===e.options.platform&&"navigateBack"!==r&&(O=(null===(n=e.options.APP)||void 0===n?void 0:n.animation)||{},O=o(o({},O),d||{})),l.notDeepClearNull({delta:g,url:b,animationType:c||O.animationType,animationDuration:s||O.animationDuration,events:f,success:h,fail:v,complete:y})}t.uniOriginJump=function(e,t,r,u,h,v){var y=f(e,u,r),g=y.complete,d=i(y,["complete"]),m=e.options.platform.trim();0===c&&"h5"!==m&&l.resetPageHook(e,d.url),null!=v&&!1===v?(0===c&&(c++,"h5"!==m&&(e.Vue.prototype.$AppReady=!0)),g&&g.apply(null,{msg:"forceGuardEach强制触发并且不执行跳转"}),h&&h.apply(null,{msg:"forceGuardEach强制触发并且不执行跳转"})):t(o(o({},d),{from:u.BACKTYPE,complete:function(){for(var t,o,i,u,f=[],v=0;v<arguments.length;v++)f[v]=arguments[v];return n(this,void 0,void 0,(function(){var n,v,y;return a(this,(function(a){switch(a.label){case 0:return 0===c&&(c++,"h5"!==m&&(e.Vue.prototype.$AppReady=!0),"app-plus"===m&&((n=plus.nativeObj.View.getViewById("router-loadding"))&&n.close(),(v=null===(t=e.options.APP)||void 0===t?void 0:t.launchedHook)&&v())),y=0,new RegExp(p.mpPlatformReg,"g").test(m)?y=null===(o=e.options.applet)||void 0===o?void 0:o.animationDuration:"app-plus"===m&&"navigateBack"===r&&"navigateTo"===s&&(y=null===(u=null===(i=e.options.APP)||void 0===i?void 0:i.animation)||void 0===u?void 0:u.animationDuration),"navigateTo"!==r&&"navigateBack"!==r||0===y?[3,2]:[4,l.timeOut(y)];case 1:a.sent(),a.label=2;case 2:return s=r,g&&g.apply(null,f),h&&h.apply(null,f),[2]}}))}))}}))},t.formatOriginURLQuery=f}},t={},function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return e[o].call(n.exports,n,n.exports,r),n.exports}(607);var e,t})); |