gc_rsa 1.2.7 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/normal/package.json +1 -1
- package/example/normal/yarn.lock +6 -106
- package/package.json +7 -5
- package/example/normal/src/App.vue +0 -25
- package/example/normal/src/main.js +0 -30
- package/example/normal/src/request.js +0 -27
- package/example/uni-app/src/App.vue +0 -92
- package/example/uni-app/src/LICENSE +0 -21
- package/example/uni-app/src/README.md +0 -14
- package/example/uni-app/src/api/index.js +0 -11
- package/example/uni-app/src/api/request.js +0 -26
- package/example/uni-app/src/common/airport.js +0 -262
- package/example/uni-app/src/common/graceChecker.js +0 -97
- package/example/uni-app/src/common/html-parser.js +0 -352
- package/example/uni-app/src/common/permission.js +0 -245
- package/example/uni-app/src/common/uni-nvue.css +0 -120
- package/example/uni-app/src/common/uni.css +0 -1447
- package/example/uni-app/src/common/util.js +0 -73
- package/example/uni-app/src/components/amap-wx/js/util.js +0 -181
- package/example/uni-app/src/components/amap-wx/lib/amap-wx.js +0 -1
- package/example/uni-app/src/components/api-set-tabbar.nvue +0 -156
- package/example/uni-app/src/components/marked/index.js +0 -1
- package/example/uni-app/src/components/marked/lib/marked.js +0 -1573
- package/example/uni-app/src/components/mpvue-citypicker/city-data/area.js +0 -12542
- package/example/uni-app/src/components/mpvue-citypicker/city-data/city.js +0 -1503
- package/example/uni-app/src/components/mpvue-citypicker/city-data/province.js +0 -139
- package/example/uni-app/src/components/mpvue-citypicker/mpvueCityPicker.vue +0 -230
- package/example/uni-app/src/components/mpvue-echarts/src/echarts.vue +0 -123
- package/example/uni-app/src/components/mpvue-echarts/src/wx-canvas.js +0 -73
- package/example/uni-app/src/components/mpvue-picker/mpvuePicker.vue +0 -463
- package/example/uni-app/src/components/mpvueGestureLock/gestureLock.js +0 -175
- package/example/uni-app/src/components/mpvueGestureLock/index.vue +0 -138
- package/example/uni-app/src/components/page-foot.vue +0 -38
- package/example/uni-app/src/components/page-head.vue +0 -16
- package/example/uni-app/src/components/product.vue +0 -66
- package/example/uni-app/src/components/tab-nvue/mediaList.vue +0 -175
- package/example/uni-app/src/components/u-charts/u-charts.js +0 -5046
- package/example/uni-app/src/components/uLink.vue +0 -59
- package/example/uni-app/src/components/uni-badge/uni-badge.vue +0 -117
- package/example/uni-app/src/components/uni-calendar/calendar.js +0 -546
- package/example/uni-app/src/components/uni-calendar/uni-calendar-item.vue +0 -151
- package/example/uni-app/src/components/uni-calendar/uni-calendar.vue +0 -386
- package/example/uni-app/src/components/uni-calendar/util.js +0 -327
- package/example/uni-app/src/components/uni-card/uni-card.vue +0 -281
- package/example/uni-app/src/components/uni-collapse/uni-collapse.vue +0 -52
- package/example/uni-app/src/components/uni-collapse-item/uni-collapse-item.vue +0 -209
- package/example/uni-app/src/components/uni-count-down/uni-count-down.vue +0 -184
- package/example/uni-app/src/components/uni-countdown/uni-countdown.vue +0 -184
- package/example/uni-app/src/components/uni-drawer/uni-drawer.vue +0 -144
- package/example/uni-app/src/components/uni-fab/uni-fab.vue +0 -371
- package/example/uni-app/src/components/uni-fav/uni-fav.vue +0 -120
- package/example/uni-app/src/components/uni-goods-nav/uni-goods-nav.vue +0 -206
- package/example/uni-app/src/components/uni-grid/uni-grid.vue +0 -122
- package/example/uni-app/src/components/uni-grid-item/uni-grid-item.vue +0 -97
- package/example/uni-app/src/components/uni-icons/icons.js +0 -96
- package/example/uni-app/src/components/uni-icons/uni-icons.vue +0 -57
- package/example/uni-app/src/components/uni-indexed-list/uni-indexed-list-item.vue +0 -142
- package/example/uni-app/src/components/uni-indexed-list/uni-indexed-list.vue +0 -306
- package/example/uni-app/src/components/uni-list/uni-list.vue +0 -73
- package/example/uni-app/src/components/uni-list/uni-refresh.vue +0 -65
- package/example/uni-app/src/components/uni-list/uni-refresh.wxs +0 -87
- package/example/uni-app/src/components/uni-list-item/uni-list-item.vue +0 -236
- package/example/uni-app/src/components/uni-load-more/uni-load-more.vue +0 -346
- package/example/uni-app/src/components/uni-nav-bar/uni-nav-bar.vue +0 -224
- package/example/uni-app/src/components/uni-notice-bar/uni-notice-bar.vue +0 -356
- package/example/uni-app/src/components/uni-number-box/uni-number-box.vue +0 -176
- package/example/uni-app/src/components/uni-pagination/uni-pagination.vue +0 -205
- package/example/uni-app/src/components/uni-popup/uni-popup.vue +0 -242
- package/example/uni-app/src/components/uni-rate/uni-rate.vue +0 -141
- package/example/uni-app/src/components/uni-search-bar/uni-search-bar.vue +0 -160
- package/example/uni-app/src/components/uni-section/uni-section.vue +0 -126
- package/example/uni-app/src/components/uni-segmented-control/uni-segmented-control.vue +0 -120
- package/example/uni-app/src/components/uni-status-bar/uni-status-bar.vue +0 -26
- package/example/uni-app/src/components/uni-steps/uni-steps.vue +0 -240
- package/example/uni-app/src/components/uni-swipe-action/uni-swipe-action.vue +0 -53
- package/example/uni-app/src/components/uni-swipe-action-item/bindingx.js +0 -245
- package/example/uni-app/src/components/uni-swipe-action-item/index.wxs +0 -191
- package/example/uni-app/src/components/uni-swipe-action-item/mp.js +0 -95
- package/example/uni-app/src/components/uni-swipe-action-item/mpother.js +0 -160
- package/example/uni-app/src/components/uni-swipe-action-item/uni-swipe-action-item.vue +0 -188
- package/example/uni-app/src/components/uni-swiper-dot/uni-swiper-dot.vue +0 -182
- package/example/uni-app/src/components/uni-tag/uni-tag.vue +0 -210
- package/example/uni-app/src/components/uni-title/uni-title.vue +0 -126
- package/example/uni-app/src/components/uni-transition/uni-transition.vue +0 -262
- package/example/uni-app/src/hybrid/html/local.html +0 -88
- package/example/uni-app/src/main.js +0 -36
- package/example/uni-app/src/manifest.json +0 -122
- package/example/uni-app/src/package.json +0 -15
- package/example/uni-app/src/pages/API/action-sheet/action-sheet.vue +0 -34
- package/example/uni-app/src/pages/API/add-phone-contact/add-phone-contact.vue +0 -102
- package/example/uni-app/src/pages/API/animation/animation.vue +0 -125
- package/example/uni-app/src/pages/API/background-audio/background-audio.vue +0 -163
- package/example/uni-app/src/pages/API/bluetooth/bluetooth.vue +0 -723
- package/example/uni-app/src/pages/API/brightness/brightness.vue +0 -89
- package/example/uni-app/src/pages/API/canvas/canvas.vue +0 -366
- package/example/uni-app/src/pages/API/choose-location/choose-location.vue +0 -62
- package/example/uni-app/src/pages/API/clipboard/clipboard.vue +0 -91
- package/example/uni-app/src/pages/API/download-file/download-file.vue +0 -56
- package/example/uni-app/src/pages/API/file/file.vue +0 -129
- package/example/uni-app/src/pages/API/get-location/get-location.vue +0 -190
- package/example/uni-app/src/pages/API/get-network-type/get-network-type.vue +0 -59
- package/example/uni-app/src/pages/API/get-node-info/get-node-info.vue +0 -118
- package/example/uni-app/src/pages/API/get-system-info/get-system-info.vue +0 -148
- package/example/uni-app/src/pages/API/get-user-info/get-user-info.vue +0 -126
- package/example/uni-app/src/pages/API/ibeacon/ibeacon.vue +0 -300
- package/example/uni-app/src/pages/API/image/image.vue +0 -235
- package/example/uni-app/src/pages/API/intersection-observer/intersection-observer.vue +0 -69
- package/example/uni-app/src/pages/API/login/login.vue +0 -116
- package/example/uni-app/src/pages/API/make-phone-call/make-phone-call.vue +0 -50
- package/example/uni-app/src/pages/API/map/map.nvue +0 -431
- package/example/uni-app/src/pages/API/map-search/map-search.nvue +0 -102
- package/example/uni-app/src/pages/API/modal/modal.vue +0 -40
- package/example/uni-app/src/pages/API/navigator/navigator.vue +0 -58
- package/example/uni-app/src/pages/API/navigator/new-page/new-nvue-page-1.nvue +0 -83
- package/example/uni-app/src/pages/API/navigator/new-page/new-nvue-page-2.nvue +0 -69
- package/example/uni-app/src/pages/API/navigator/new-page/new-vue-page-1.vue +0 -111
- package/example/uni-app/src/pages/API/navigator/new-page/new-vue-page-2.vue +0 -89
- package/example/uni-app/src/pages/API/on-accelerometer-change/on-accelerometer-change.vue +0 -62
- package/example/uni-app/src/pages/API/on-compass-change/on-compass-change.vue +0 -85
- package/example/uni-app/src/pages/API/open-location/open-location.vue +0 -75
- package/example/uni-app/src/pages/API/pull-down-refresh/pull-down-refresh.vue +0 -82
- package/example/uni-app/src/pages/API/request/request.vue +0 -130
- package/example/uni-app/src/pages/API/request-payment/request-payment.vue +0 -228
- package/example/uni-app/src/pages/API/save-media/save-media.vue +0 -158
- package/example/uni-app/src/pages/API/scan-code/scan-code.vue +0 -93
- package/example/uni-app/src/pages/API/set-navigation-bar-title/set-navigation-bar-title.vue +0 -46
- package/example/uni-app/src/pages/API/share/share.vue +0 -293
- package/example/uni-app/src/pages/API/show-loading/show-loading.vue +0 -48
- package/example/uni-app/src/pages/API/soter/soter.vue +0 -141
- package/example/uni-app/src/pages/API/sqlite/sqlite.vue +0 -120
- package/example/uni-app/src/pages/API/storage/storage.vue +0 -126
- package/example/uni-app/src/pages/API/subnvue/subnvue/drawer.nvue +0 -103
- package/example/uni-app/src/pages/API/subnvue/subnvue/nav.nvue +0 -57
- package/example/uni-app/src/pages/API/subnvue/subnvue/popup.nvue +0 -121
- package/example/uni-app/src/pages/API/subnvue/subnvue/video-mask.nvue +0 -114
- package/example/uni-app/src/pages/API/subnvue/subnvue.vue +0 -137
- package/example/uni-app/src/pages/API/toast/toast.vue +0 -65
- package/example/uni-app/src/pages/API/upload-file/upload-file.vue +0 -95
- package/example/uni-app/src/pages/API/vibrate/vibrate.vue +0 -59
- package/example/uni-app/src/pages/API/video/video.vue +0 -134
- package/example/uni-app/src/pages/API/voice/voice.vue +0 -243
- package/example/uni-app/src/pages/API/websocket-global/websocket-global.vue +0 -164
- package/example/uni-app/src/pages/API/websocket-socketTask/websocket-socketTask.vue +0 -171
- package/example/uni-app/src/pages/about/about.vue +0 -222
- package/example/uni-app/src/pages/component/audio/audio.vue +0 -29
- package/example/uni-app/src/pages/component/button/button.vue +0 -81
- package/example/uni-app/src/pages/component/canvas/canvas.vue +0 -96
- package/example/uni-app/src/pages/component/checkbox/checkbox.vue +0 -101
- package/example/uni-app/src/pages/component/cover-view/cover-view.nvue +0 -63
- package/example/uni-app/src/pages/component/cover-view/cover-view.vue +0 -85
- package/example/uni-app/src/pages/component/editor/editor-icon.css +0 -236
- package/example/uni-app/src/pages/component/editor/editor.vue +0 -192
- package/example/uni-app/src/pages/component/form/form.vue +0 -86
- package/example/uni-app/src/pages/component/image/image.vue +0 -39
- package/example/uni-app/src/pages/component/input/input.vue +0 -144
- package/example/uni-app/src/pages/component/label/label.vue +0 -103
- package/example/uni-app/src/pages/component/map/map.nvue +0 -303
- package/example/uni-app/src/pages/component/map/map.vue +0 -50
- package/example/uni-app/src/pages/component/movable-view/movable-view.vue +0 -129
- package/example/uni-app/src/pages/component/navigator/navigate/navigate.vue +0 -14
- package/example/uni-app/src/pages/component/navigator/navigator.vue +0 -27
- package/example/uni-app/src/pages/component/navigator/redirect/redirect.vue +0 -14
- package/example/uni-app/src/pages/component/picker/picker.vue +0 -166
- package/example/uni-app/src/pages/component/picker-view/picker-view.vue +0 -84
- package/example/uni-app/src/pages/component/progress/progress.vue +0 -66
- package/example/uni-app/src/pages/component/radio/radio.vue +0 -90
- package/example/uni-app/src/pages/component/rich-text/rich-text.vue +0 -42
- package/example/uni-app/src/pages/component/scroll-view/scroll-view.vue +0 -97
- package/example/uni-app/src/pages/component/slider/slider.vue +0 -40
- package/example/uni-app/src/pages/component/swiper/swiper.vue +0 -105
- package/example/uni-app/src/pages/component/switch/switch.vue +0 -47
- package/example/uni-app/src/pages/component/text/text.vue +0 -74
- package/example/uni-app/src/pages/component/textarea/textarea.vue +0 -31
- package/example/uni-app/src/pages/component/video/video.nvue +0 -100
- package/example/uni-app/src/pages/component/video/video.vue +0 -93
- package/example/uni-app/src/pages/component/view/view.vue +0 -142
- package/example/uni-app/src/pages/component/web-view/web-view.vue +0 -32
- package/example/uni-app/src/pages/component/web-view-local/web-view-local.vue +0 -22
- package/example/uni-app/src/pages/extUI/badge/badge.nvue +0 -157
- package/example/uni-app/src/pages/extUI/calendar/calendar.nvue +0 -190
- package/example/uni-app/src/pages/extUI/card/card.nvue +0 -263
- package/example/uni-app/src/pages/extUI/collapse/collapse.nvue +0 -223
- package/example/uni-app/src/pages/extUI/countdown/countdown.nvue +0 -163
- package/example/uni-app/src/pages/extUI/drawer/drawer.nvue +0 -276
- package/example/uni-app/src/pages/extUI/fab/fab.nvue +0 -222
- package/example/uni-app/src/pages/extUI/fav/fav.nvue +0 -180
- package/example/uni-app/src/pages/extUI/goods-nav/goods-nav.nvue +0 -186
- package/example/uni-app/src/pages/extUI/grid/grid.nvue +0 -311
- package/example/uni-app/src/pages/extUI/icons/icons.nvue +0 -522
- package/example/uni-app/src/pages/extUI/indexed-list/indexed-list.nvue +0 -25
- package/example/uni-app/src/pages/extUI/list/list.nvue +0 -154
- package/example/uni-app/src/pages/extUI/load-more/load-more.nvue +0 -230
- package/example/uni-app/src/pages/extUI/nav-bar/nav-bar.nvue +0 -247
- package/example/uni-app/src/pages/extUI/notice-bar/notice-bar.nvue +0 -172
- package/example/uni-app/src/pages/extUI/number-box/number-box.nvue +0 -143
- package/example/uni-app/src/pages/extUI/pagination/pagination.nvue +0 -178
- package/example/uni-app/src/pages/extUI/popup/popup.nvue +0 -384
- package/example/uni-app/src/pages/extUI/rate/rate.nvue +0 -151
- package/example/uni-app/src/pages/extUI/search-bar/search-bar.nvue +0 -178
- package/example/uni-app/src/pages/extUI/section/section.nvue +0 -212
- package/example/uni-app/src/pages/extUI/segmented-control/segmented-control.nvue +0 -263
- package/example/uni-app/src/pages/extUI/steps/steps.nvue +0 -179
- package/example/uni-app/src/pages/extUI/swipe-action/swipe-action.nvue +0 -325
- package/example/uni-app/src/pages/extUI/swiper-dot/swiper-dot.nvue +0 -286
- package/example/uni-app/src/pages/extUI/tag/tag.nvue +0 -259
- package/example/uni-app/src/pages/extUI/transition/transition.nvue +0 -207
- package/example/uni-app/src/pages/tabBar/API/API.nvue +0 -430
- package/example/uni-app/src/pages/tabBar/component/component.nvue +0 -175
- package/example/uni-app/src/pages/tabBar/extUI/extUI.nvue +0 -170
- package/example/uni-app/src/pages/tabBar/template/template.nvue +0 -167
- package/example/uni-app/src/pages/template/component-communication/bus.js +0 -3
- package/example/uni-app/src/pages/template/component-communication/component-communication.vue +0 -36
- package/example/uni-app/src/pages/template/component-communication/reciver.vue +0 -39
- package/example/uni-app/src/pages/template/component-communication/sender-bus.vue +0 -25
- package/example/uni-app/src/pages/template/component-communication/sender.vue +0 -24
- package/example/uni-app/src/pages/template/crop/crop.vue +0 -639
- package/example/uni-app/src/pages/template/global/global.vue +0 -66
- package/example/uni-app/src/pages/template/list-with-badges/list-with-badges.vue +0 -69
- package/example/uni-app/src/pages/template/list-with-collapses/list-with-collapses.vue +0 -62
- package/example/uni-app/src/pages/template/list2detail-detail/list2detail-detail.vue +0 -191
- package/example/uni-app/src/pages/template/list2detail-list/list2detail-list.vue +0 -196
- package/example/uni-app/src/pages/template/nav-button/nav-button.vue +0 -36
- package/example/uni-app/src/pages/template/nav-city-dropdown/nav-city-dropdown.vue +0 -129
- package/example/uni-app/src/pages/template/nav-default/nav-default.vue +0 -46
- package/example/uni-app/src/pages/template/nav-dot/nav-dot.vue +0 -70
- package/example/uni-app/src/pages/template/nav-image/nav-image.vue +0 -30
- package/example/uni-app/src/pages/template/nav-search-input/detail/detail.vue +0 -213
- package/example/uni-app/src/pages/template/nav-search-input/nav-search-input.vue +0 -74
- package/example/uni-app/src/pages/template/nav-transparent/nav-transparent.vue +0 -74
- package/example/uni-app/src/pages/template/scheme/scheme.vue +0 -154
- package/example/uni-app/src/pages/template/swiper-vertical/swiper-vertical.nvue +0 -175
- package/example/uni-app/src/pages/template/tabbar/detail/detail.vue +0 -22
- package/example/uni-app/src/pages/template/tabbar/news-item.nvue +0 -205
- package/example/uni-app/src/pages/template/tabbar/tabbar.nvue +0 -431
- package/example/uni-app/src/pages/template/ucharts/ucharts.vue +0 -1197
- package/example/uni-app/src/pages/template/vant-button/vant-button.vue +0 -38
- package/example/uni-app/src/pages.json +0 -1146
- package/example/uni-app/src/platforms/app-plus/feedback/feedback.vue +0 -156
- package/example/uni-app/src/platforms/app-plus/orientation/orientation.vue +0 -61
- package/example/uni-app/src/platforms/app-plus/proximity/proximity.vue +0 -69
- package/example/uni-app/src/platforms/app-plus/push/push.vue +0 -120
- package/example/uni-app/src/platforms/app-plus/shake/shake.vue +0 -91
- package/example/uni-app/src/platforms/app-plus/speech/speech.vue +0 -105
- package/example/uni-app/src/static/60x60.png +0 -0
- package/example/uni-app/src/static/api.png +0 -0
- package/example/uni-app/src/static/apiHL.png +0 -0
- package/example/uni-app/src/static/apiIndex.png +0 -0
- package/example/uni-app/src/static/app-plus/location@3x.png +0 -0
- package/example/uni-app/src/static/app-plus/uni@2x.png +0 -0
- package/example/uni-app/src/static/c1.png +0 -0
- package/example/uni-app/src/static/c2.png +0 -0
- package/example/uni-app/src/static/c3.png +0 -0
- package/example/uni-app/src/static/c4.png +0 -0
- package/example/uni-app/src/static/c5.png +0 -0
- package/example/uni-app/src/static/c6.png +0 -0
- package/example/uni-app/src/static/c7.png +0 -0
- package/example/uni-app/src/static/c8.png +0 -0
- package/example/uni-app/src/static/c9.png +0 -0
- package/example/uni-app/src/static/compass.png +0 -0
- package/example/uni-app/src/static/component.png +0 -0
- package/example/uni-app/src/static/componentHL.png +0 -0
- package/example/uni-app/src/static/componentIndex.png +0 -0
- package/example/uni-app/src/static/extui.png +0 -0
- package/example/uni-app/src/static/extuiHL.png +0 -0
- package/example/uni-app/src/static/extuiIndex.png +0 -0
- package/example/uni-app/src/static/location.png +0 -0
- package/example/uni-app/src/static/logo.png +0 -0
- package/example/uni-app/src/static/menu.png +0 -0
- package/example/uni-app/src/static/nav.png +0 -0
- package/example/uni-app/src/static/pause.png +0 -0
- package/example/uni-app/src/static/play.png +0 -0
- package/example/uni-app/src/static/plus.png +0 -0
- package/example/uni-app/src/static/record.png +0 -0
- package/example/uni-app/src/static/shuijiao.jpg +0 -0
- package/example/uni-app/src/static/stop.png +0 -0
- package/example/uni-app/src/static/template.png +0 -0
- package/example/uni-app/src/static/templateHL.png +0 -0
- package/example/uni-app/src/static/templateIndex.png +0 -0
- package/example/uni-app/src/static/trash.png +0 -0
- package/example/uni-app/src/static/uni.png +0 -0
- package/example/uni-app/src/static/uni.ttf +0 -0
- package/example/uni-app/src/store/index.js +0 -73
- package/example/uni-app/src/template.h5.html +0 -53
- package/example/uni-app/src/uni.scss +0 -76
- package/example/uni-app/src/wxcomponents/vant/button/index.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/button/index.js +0 -36
- package/example/uni-app/src/wxcomponents/vant/button/index.json +0 -6
- package/example/uni-app/src/wxcomponents/vant/button/index.wxml +0 -39
- package/example/uni-app/src/wxcomponents/vant/button/index.wxss +0 -1
- package/example/uni-app/src/wxcomponents/vant/common/color.d.ts +0 -3
- package/example/uni-app/src/wxcomponents/vant/common/color.js +0 -3
- package/example/uni-app/src/wxcomponents/vant/common/component.d.ts +0 -2
- package/example/uni-app/src/wxcomponents/vant/common/component.js +0 -48
- package/example/uni-app/src/wxcomponents/vant/common/index.wxss +0 -1
- package/example/uni-app/src/wxcomponents/vant/common/style/clearfix.wxss +0 -1
- package/example/uni-app/src/wxcomponents/vant/common/style/ellipsis.wxss +0 -1
- package/example/uni-app/src/wxcomponents/vant/common/style/hairline.wxss +0 -1
- package/example/uni-app/src/wxcomponents/vant/common/style/mixins/clearfix.wxss +0 -0
- package/example/uni-app/src/wxcomponents/vant/common/style/mixins/ellipsis.wxss +0 -0
- package/example/uni-app/src/wxcomponents/vant/common/style/mixins/hairline.wxss +0 -0
- package/example/uni-app/src/wxcomponents/vant/common/style/var.wxss +0 -0
- package/example/uni-app/src/wxcomponents/vant/common/utils.d.ts +0 -5
- package/example/uni-app/src/wxcomponents/vant/common/utils.js +0 -14
- package/example/uni-app/src/wxcomponents/vant/loading/index.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/loading/index.js +0 -17
- package/example/uni-app/src/wxcomponents/vant/loading/index.json +0 -3
- package/example/uni-app/src/wxcomponents/vant/loading/index.wxml +0 -16
- package/example/uni-app/src/wxcomponents/vant/loading/index.wxss +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/basic.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/basic.js +0 -22
- package/example/uni-app/src/wxcomponents/vant/mixins/button.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/button.js +0 -18
- package/example/uni-app/src/wxcomponents/vant/mixins/link.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/link.js +0 -17
- package/example/uni-app/src/wxcomponents/vant/mixins/observer/behavior.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/observer/behavior.js +0 -47
- package/example/uni-app/src/wxcomponents/vant/mixins/observer/index.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/observer/index.js +0 -27
- package/example/uni-app/src/wxcomponents/vant/mixins/observer/props.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/observer/props.js +0 -22
- package/example/uni-app/src/wxcomponents/vant/mixins/open-type.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/open-type.js +0 -25
- package/example/uni-app/src/wxcomponents/vant/mixins/safe-area.d.ts +0 -4
- package/example/uni-app/src/wxcomponents/vant/mixins/safe-area.js +0 -39
- package/example/uni-app/src/wxcomponents/vant/mixins/touch.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/touch.js +0 -21
- package/example/uni-app/src/wxcomponents/vant/mixins/transition.d.ts +0 -1
- package/example/uni-app/src/wxcomponents/vant/mixins/transition.js +0 -96
- package/example/uni-app/src/wxcomponents/vant/wxs/array.wxs +0 -5
- package/example/uni-app/src/wxcomponents/vant/wxs/bem.wxs +0 -38
- package/example/uni-app/src/wxcomponents/vant/wxs/memoize.wxs +0 -54
- package/example/uni-app/src/wxcomponents/vant/wxs/object.wxs +0 -13
- package/example/uni-app/src/wxcomponents/vant/wxs/utils.wxs +0 -12
package/example/normal/yarn.lock
CHANGED
|
@@ -1296,16 +1296,6 @@ ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5, ajv@^6.9.1:
|
|
|
1296
1296
|
json-schema-traverse "^0.4.1"
|
|
1297
1297
|
uri-js "^4.2.2"
|
|
1298
1298
|
|
|
1299
|
-
ajv@^6.12.3:
|
|
1300
|
-
version "6.12.6"
|
|
1301
|
-
resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
|
|
1302
|
-
integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
|
|
1303
|
-
dependencies:
|
|
1304
|
-
fast-deep-equal "^3.1.1"
|
|
1305
|
-
fast-json-stable-stringify "^2.0.0"
|
|
1306
|
-
json-schema-traverse "^0.4.1"
|
|
1307
|
-
uri-js "^4.2.2"
|
|
1308
|
-
|
|
1309
1299
|
alphanum-sort@^1.0.0:
|
|
1310
1300
|
version "1.0.2"
|
|
1311
1301
|
resolved "https://registry.npm.taobao.org/alphanum-sort/download/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
|
|
@@ -1915,14 +1905,6 @@ cache-loader@^4.1.0:
|
|
|
1915
1905
|
neo-async "^2.6.1"
|
|
1916
1906
|
schema-utils "^2.0.0"
|
|
1917
1907
|
|
|
1918
|
-
call-bind@^1.0.0:
|
|
1919
|
-
version "1.0.2"
|
|
1920
|
-
resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
|
|
1921
|
-
integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==
|
|
1922
|
-
dependencies:
|
|
1923
|
-
function-bind "^1.1.1"
|
|
1924
|
-
get-intrinsic "^1.0.2"
|
|
1925
|
-
|
|
1926
1908
|
call-me-maybe@^1.0.1:
|
|
1927
1909
|
version "1.0.1"
|
|
1928
1910
|
resolved "https://registry.npm.taobao.org/call-me-maybe/download/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"
|
|
@@ -2479,7 +2461,7 @@ cross-spawn@^7.0.0:
|
|
|
2479
2461
|
shebang-command "^2.0.0"
|
|
2480
2462
|
which "^2.0.1"
|
|
2481
2463
|
|
|
2482
|
-
crypto-browserify@^3.11.0
|
|
2464
|
+
crypto-browserify@^3.11.0:
|
|
2483
2465
|
version "3.12.0"
|
|
2484
2466
|
resolved "https://registry.npm.taobao.org/crypto-browserify/download/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
|
|
2485
2467
|
integrity sha1-OWz58xN/A+S45TLFj2mCVOAPgOw=
|
|
@@ -3508,11 +3490,6 @@ fast-deep-equal@^2.0.1:
|
|
|
3508
3490
|
resolved "https://registry.npm.taobao.org/fast-deep-equal/download/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
|
|
3509
3491
|
integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=
|
|
3510
3492
|
|
|
3511
|
-
fast-deep-equal@^3.1.1:
|
|
3512
|
-
version "3.1.3"
|
|
3513
|
-
resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
|
3514
|
-
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
|
3515
|
-
|
|
3516
3493
|
fast-diff@^1.1.2:
|
|
3517
3494
|
version "1.2.0"
|
|
3518
3495
|
resolved "https://registry.npm.taobao.org/fast-diff/download/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
|
|
@@ -3714,13 +3691,6 @@ flush-write-stream@^1.0.0:
|
|
|
3714
3691
|
inherits "^2.0.3"
|
|
3715
3692
|
readable-stream "^2.3.6"
|
|
3716
3693
|
|
|
3717
|
-
flyio@^0.6.14:
|
|
3718
|
-
version "0.6.14"
|
|
3719
|
-
resolved "https://registry.npmjs.org/flyio/-/flyio-0.6.14.tgz#c5d83eb7a9b4fc1c915a463d2ea6dfce755c2d6f"
|
|
3720
|
-
integrity sha512-RE2OXE1ZZmcXOKb0jCtGyquHDxpAqHg17CZ8lmQKRfl3x1kP+NBpaQDx4WgN7DNpLJjFnspTzTEQpwRGg6/xaA==
|
|
3721
|
-
dependencies:
|
|
3722
|
-
request "^2.85.0"
|
|
3723
|
-
|
|
3724
3694
|
follow-redirects@1.5.10:
|
|
3725
3695
|
version "1.5.10"
|
|
3726
3696
|
resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
|
|
@@ -3849,16 +3819,10 @@ gauge@~2.7.3:
|
|
|
3849
3819
|
strip-ansi "^3.0.1"
|
|
3850
3820
|
wide-align "^1.1.0"
|
|
3851
3821
|
|
|
3852
|
-
gc_rsa@^1.2.
|
|
3853
|
-
version "1.2.
|
|
3854
|
-
resolved "https://registry.npmjs.org/gc_rsa/-/gc_rsa-1.2.
|
|
3855
|
-
integrity sha512-
|
|
3856
|
-
dependencies:
|
|
3857
|
-
crypto-browserify "^3.12.0"
|
|
3858
|
-
flyio "^0.6.14"
|
|
3859
|
-
lodash "^4.17.15"
|
|
3860
|
-
qs "^6.9.1"
|
|
3861
|
-
url "^0.11.0"
|
|
3822
|
+
gc_rsa@^1.2.7:
|
|
3823
|
+
version "1.2.7"
|
|
3824
|
+
resolved "https://registry.npmjs.org/gc_rsa/-/gc_rsa-1.2.7.tgz#4f49b1c171fde401adad464d0d397c8408dc2512"
|
|
3825
|
+
integrity sha512-6HJxMTdJOjMTR4f+hUf+Xba3rRfuGFng8PjEvkHvTbT7PRrWVacW8ERC5tGjz855KOHUXcxssXJENk0NWmQvBg==
|
|
3862
3826
|
|
|
3863
3827
|
get-caller-file@^1.0.1:
|
|
3864
3828
|
version "1.0.3"
|
|
@@ -3870,15 +3834,6 @@ get-caller-file@^2.0.1:
|
|
|
3870
3834
|
resolved "https://registry.npm.taobao.org/get-caller-file/download/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
|
|
3871
3835
|
integrity sha1-T5RBKoLbMvNuOwuXQfipf+sDH34=
|
|
3872
3836
|
|
|
3873
|
-
get-intrinsic@^1.0.2:
|
|
3874
|
-
version "1.1.1"
|
|
3875
|
-
resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6"
|
|
3876
|
-
integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==
|
|
3877
|
-
dependencies:
|
|
3878
|
-
function-bind "^1.1.1"
|
|
3879
|
-
has "^1.0.3"
|
|
3880
|
-
has-symbols "^1.0.1"
|
|
3881
|
-
|
|
3882
3837
|
get-own-enumerable-property-symbols@^3.0.0:
|
|
3883
3838
|
version "3.0.1"
|
|
3884
3839
|
resolved "https://registry.npm.taobao.org/get-own-enumerable-property-symbols/download/get-own-enumerable-property-symbols-3.0.1.tgz?cache=0&sync_timestamp=1570169374858&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fget-own-enumerable-property-symbols%2Fdownload%2Fget-own-enumerable-property-symbols-3.0.1.tgz#6f7764f88ea11e0b514bd9bd860a132259992ca4"
|
|
@@ -4039,14 +3994,6 @@ har-validator@~5.1.0:
|
|
|
4039
3994
|
ajv "^6.5.5"
|
|
4040
3995
|
har-schema "^2.0.0"
|
|
4041
3996
|
|
|
4042
|
-
har-validator@~5.1.3:
|
|
4043
|
-
version "5.1.5"
|
|
4044
|
-
resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd"
|
|
4045
|
-
integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==
|
|
4046
|
-
dependencies:
|
|
4047
|
-
ajv "^6.12.3"
|
|
4048
|
-
har-schema "^2.0.0"
|
|
4049
|
-
|
|
4050
3997
|
has-ansi@^2.0.0:
|
|
4051
3998
|
version "2.0.0"
|
|
4052
3999
|
resolved "https://registry.npm.taobao.org/has-ansi/download/has-ansi-2.0.0.tgz?cache=0&sync_timestamp=1568144533484&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhas-ansi%2Fdownload%2Fhas-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
|
|
@@ -5865,11 +5812,6 @@ object-inspect@^1.7.0:
|
|
|
5865
5812
|
resolved "https://registry.npm.taobao.org/object-inspect/download/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
|
|
5866
5813
|
integrity sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc=
|
|
5867
5814
|
|
|
5868
|
-
object-inspect@^1.9.0:
|
|
5869
|
-
version "1.12.0"
|
|
5870
|
-
resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0"
|
|
5871
|
-
integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==
|
|
5872
|
-
|
|
5873
5815
|
object-is@^1.0.1:
|
|
5874
5816
|
version "1.0.1"
|
|
5875
5817
|
resolved "https://registry.npm.taobao.org/object-is/download/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6"
|
|
@@ -6836,13 +6778,6 @@ qs@6.7.0:
|
|
|
6836
6778
|
resolved "https://registry.npm.taobao.org/qs/download/qs-6.7.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqs%2Fdownload%2Fqs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
|
|
6837
6779
|
integrity sha1-QdwaAV49WB8WIXdr4xr7KHapsbw=
|
|
6838
6780
|
|
|
6839
|
-
qs@^6.9.1:
|
|
6840
|
-
version "6.10.3"
|
|
6841
|
-
resolved "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e"
|
|
6842
|
-
integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==
|
|
6843
|
-
dependencies:
|
|
6844
|
-
side-channel "^1.0.4"
|
|
6845
|
-
|
|
6846
6781
|
qs@~6.5.2:
|
|
6847
6782
|
version "6.5.2"
|
|
6848
6783
|
resolved "https://registry.npm.taobao.org/qs/download/qs-6.5.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqs%2Fdownload%2Fqs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
|
|
@@ -7067,32 +7002,6 @@ request-promise-native@^1.0.8:
|
|
|
7067
7002
|
stealthy-require "^1.1.1"
|
|
7068
7003
|
tough-cookie "^2.3.3"
|
|
7069
7004
|
|
|
7070
|
-
request@^2.85.0:
|
|
7071
|
-
version "2.88.2"
|
|
7072
|
-
resolved "https://registry.npmjs.org/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
|
|
7073
|
-
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
|
|
7074
|
-
dependencies:
|
|
7075
|
-
aws-sign2 "~0.7.0"
|
|
7076
|
-
aws4 "^1.8.0"
|
|
7077
|
-
caseless "~0.12.0"
|
|
7078
|
-
combined-stream "~1.0.6"
|
|
7079
|
-
extend "~3.0.2"
|
|
7080
|
-
forever-agent "~0.6.1"
|
|
7081
|
-
form-data "~2.3.2"
|
|
7082
|
-
har-validator "~5.1.3"
|
|
7083
|
-
http-signature "~1.2.0"
|
|
7084
|
-
is-typedarray "~1.0.0"
|
|
7085
|
-
isstream "~0.1.2"
|
|
7086
|
-
json-stringify-safe "~5.0.1"
|
|
7087
|
-
mime-types "~2.1.19"
|
|
7088
|
-
oauth-sign "~0.9.0"
|
|
7089
|
-
performance-now "^2.1.0"
|
|
7090
|
-
qs "~6.5.2"
|
|
7091
|
-
safe-buffer "^5.1.2"
|
|
7092
|
-
tough-cookie "~2.5.0"
|
|
7093
|
-
tunnel-agent "^0.6.0"
|
|
7094
|
-
uuid "^3.3.2"
|
|
7095
|
-
|
|
7096
7005
|
request@^2.87.0:
|
|
7097
7006
|
version "2.88.0"
|
|
7098
7007
|
resolved "https://registry.npm.taobao.org/request/download/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
|
|
@@ -7441,15 +7350,6 @@ shell-quote@^1.6.1:
|
|
|
7441
7350
|
resolved "https://registry.npm.taobao.org/shell-quote/download/shell-quote-1.7.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fshell-quote%2Fdownload%2Fshell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
|
|
7442
7351
|
integrity sha1-Z6fQLHbJ2iT5nSCAj8re0ODgS+I=
|
|
7443
7352
|
|
|
7444
|
-
side-channel@^1.0.4:
|
|
7445
|
-
version "1.0.4"
|
|
7446
|
-
resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
|
|
7447
|
-
integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==
|
|
7448
|
-
dependencies:
|
|
7449
|
-
call-bind "^1.0.0"
|
|
7450
|
-
get-intrinsic "^1.0.2"
|
|
7451
|
-
object-inspect "^1.9.0"
|
|
7452
|
-
|
|
7453
7353
|
signal-exit@^3.0.0, signal-exit@^3.0.2:
|
|
7454
7354
|
version "3.0.2"
|
|
7455
7355
|
resolved "https://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
|
@@ -8140,7 +8040,7 @@ toposort@^1.0.0:
|
|
|
8140
8040
|
resolved "https://registry.npm.taobao.org/toposort/download/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
|
|
8141
8041
|
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
|
|
8142
8042
|
|
|
8143
|
-
tough-cookie@^2.3.3
|
|
8043
|
+
tough-cookie@^2.3.3:
|
|
8144
8044
|
version "2.5.0"
|
|
8145
8045
|
resolved "https://registry.npm.taobao.org/tough-cookie/download/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
|
|
8146
8046
|
integrity sha1-zZ+yoKodWhK0c72fuW+j3P9lreI=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gc_rsa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"main": "libs/main.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -18,14 +18,16 @@
|
|
|
18
18
|
"webpack": "^5.74.0",
|
|
19
19
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
20
20
|
"webpack-cli": "^4.10.0",
|
|
21
|
-
"webpack-dev-server": "^4.9.3"
|
|
21
|
+
"webpack-dev-server": "^4.9.3"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"flyio": "^0.6.14"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
22
27
|
"crypto-js": "^4.1.1",
|
|
23
28
|
"flyio": "^0.6.14",
|
|
24
29
|
"lodash-es": "^4.17.21",
|
|
25
30
|
"qs": "6.9.1",
|
|
26
31
|
"url": "^0.11.0"
|
|
27
|
-
},
|
|
28
|
-
"peerDependencies": {
|
|
29
|
-
"flyio": "^0.6.14"
|
|
30
32
|
}
|
|
31
33
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<div id="nav">test</div>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
import axios from "axios";
|
|
8
|
-
// import fly from "flyio";
|
|
9
|
-
// import req from "./request";
|
|
10
|
-
export default {
|
|
11
|
-
async mounted() {
|
|
12
|
-
window.console.log("1");
|
|
13
|
-
const res = await axios.get("/guardian/s/weather?city=呼伦贝尔&bity=");
|
|
14
|
-
window.console.log(res);
|
|
15
|
-
const data = { bar: 123 };
|
|
16
|
-
const options = {
|
|
17
|
-
method: "POST",
|
|
18
|
-
headers: { "content-type": "application/x-www-form-urlencoded" },
|
|
19
|
-
data: data,
|
|
20
|
-
url: "/guardian/s/weather?city=呼伦贝尔&bity="
|
|
21
|
-
};
|
|
22
|
-
axios(options);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
</script>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import Vue from "vue";
|
|
2
|
-
import App from "./App.vue";
|
|
3
|
-
import axios from "axios";
|
|
4
|
-
|
|
5
|
-
import gc_rsa from "../../../libs/main";
|
|
6
|
-
// import gc_rsa from "gc_rsa";
|
|
7
|
-
|
|
8
|
-
Vue.config.productionTip = false;
|
|
9
|
-
|
|
10
|
-
Vue.prototype.$http = axios;
|
|
11
|
-
gc_rsa({
|
|
12
|
-
appkey: "50556064",
|
|
13
|
-
appsecret: "06B9FEF3E91111EAB8A67907504A7446"
|
|
14
|
-
// engineType: "fly"
|
|
15
|
-
});
|
|
16
|
-
import "./request";
|
|
17
|
-
|
|
18
|
-
// axios.interceptors.request.use(
|
|
19
|
-
// config => {
|
|
20
|
-
// config.headers["Authorization"] = "token-test";
|
|
21
|
-
// return config;
|
|
22
|
-
// },
|
|
23
|
-
// err => {
|
|
24
|
-
// return Promise.resolve(err);
|
|
25
|
-
// }
|
|
26
|
-
// );
|
|
27
|
-
|
|
28
|
-
new Vue({
|
|
29
|
-
render: h => h(App)
|
|
30
|
-
}).$mount("#app");
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import Fly from "flyio";
|
|
2
|
-
|
|
3
|
-
/*import config from './config'*/
|
|
4
|
-
// const request = new Fly();
|
|
5
|
-
//request.config.timeout = 100000;
|
|
6
|
-
/*request.config.baseURL = 'apitest.ipms.cn'*/
|
|
7
|
-
Fly.interceptors.request.use(req => {
|
|
8
|
-
window.console.log("2", "加载中...");
|
|
9
|
-
// window.console.log(req);
|
|
10
|
-
req.headers["csrfToken"] = "aa";
|
|
11
|
-
return req;
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
Fly.interceptors.response.use(
|
|
15
|
-
(response, promise) => {
|
|
16
|
-
//console.log(response)
|
|
17
|
-
window.console.log("response", response);
|
|
18
|
-
return promise.resolve(response.data);
|
|
19
|
-
},
|
|
20
|
-
(err, promise) => {
|
|
21
|
-
window.console.log("Err", err);
|
|
22
|
-
window.console.log("closeLoading");
|
|
23
|
-
return promise.resolve();
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
// export default request;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import index from "./api/index.js";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
onLaunch: function() {
|
|
6
|
-
console.log("App Launch");
|
|
7
|
-
// #ifdef APP-PLUS
|
|
8
|
-
// 锁定屏幕方向
|
|
9
|
-
plus.screen.lockOrientation("portrait-primary"); //锁定
|
|
10
|
-
// 检测升级
|
|
11
|
-
|
|
12
|
-
// uni.request({
|
|
13
|
-
// url: "https://uniapp.dcloud.io/update", //检查更新的服务器地址
|
|
14
|
-
// data: {
|
|
15
|
-
// appid: plus.runtime.appid,
|
|
16
|
-
// version: plus.runtime.version,
|
|
17
|
-
// imei: plus.device.imei
|
|
18
|
-
// },
|
|
19
|
-
// success: res => {
|
|
20
|
-
// console.log("success", res);
|
|
21
|
-
// if (res.statusCode == 200 && res.data.isUpdate) {
|
|
22
|
-
// let openUrl =
|
|
23
|
-
// plus.os.name === "iOS" ? res.data.iOS : res.data.Android;
|
|
24
|
-
// // 提醒用户更新
|
|
25
|
-
// uni.showModal({
|
|
26
|
-
// title: "更新提示",
|
|
27
|
-
// content: res.data.note ? res.data.note : "是否选择更新",
|
|
28
|
-
// success: showResult => {
|
|
29
|
-
// if (showResult.confirm) {
|
|
30
|
-
// plus.runtime.openURL(openUrl);
|
|
31
|
-
// }
|
|
32
|
-
// }
|
|
33
|
-
// });
|
|
34
|
-
// }
|
|
35
|
-
// }
|
|
36
|
-
// });
|
|
37
|
-
// #endif
|
|
38
|
-
},
|
|
39
|
-
onShow: function() {
|
|
40
|
-
index.getIndex();
|
|
41
|
-
},
|
|
42
|
-
onHide: function() {
|
|
43
|
-
console.log("App Hide");
|
|
44
|
-
},
|
|
45
|
-
globalData: {
|
|
46
|
-
test: ""
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
</script>
|
|
50
|
-
|
|
51
|
-
<style>
|
|
52
|
-
/* #ifndef APP-PLUS-NVUE */
|
|
53
|
-
/* uni.css - 通用组件、模板样式库,可以当作一套ui库应用 */
|
|
54
|
-
@import "./common/uni.css";
|
|
55
|
-
|
|
56
|
-
/* 以下样式用于 hello uni-app 演示所需 */
|
|
57
|
-
page {
|
|
58
|
-
background-color: #f4f5f6;
|
|
59
|
-
height: 100%;
|
|
60
|
-
font-size: 28upx;
|
|
61
|
-
line-height: 1.8;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.uni-header-logo {
|
|
65
|
-
padding: 30upx;
|
|
66
|
-
flex-direction: column;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
align-items: center;
|
|
69
|
-
margin-top: 10upx;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.uni-header-image {
|
|
73
|
-
width: 100px;
|
|
74
|
-
height: 100px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.uni-hello-text {
|
|
78
|
-
color: #7a7e83;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.uni-hello-addfile {
|
|
82
|
-
text-align: center;
|
|
83
|
-
line-height: 300upx;
|
|
84
|
-
background: #fff;
|
|
85
|
-
padding: 50upx;
|
|
86
|
-
margin-top: 10px;
|
|
87
|
-
font-size: 38upx;
|
|
88
|
-
color: #808080;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/* #endif*/
|
|
92
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 DCloud
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# hello-uniapp
|
|
2
|
-
|
|
3
|
-
`uni-app`框架示例,一套代码,同时发行到iOS、Android、H5、小程序等多个平台,请使用手机扫码快速体验`uni-app`的强大功能。
|
|
4
|
-
|
|
5
|
-
<p align="center">
|
|
6
|
-
<a href="https://m3w.cn/uniapp" target="blank">
|
|
7
|
-
<img src="https://img-cdn-qiniu.dcloud.net.cn/uni-app-qr-all.jpg"/>
|
|
8
|
-
</a>
|
|
9
|
-
</p>
|
|
10
|
-
|
|
11
|
-
`uni-app`官网文档详见[https://uniapp.dcloud.io](https://uniapp.dcloud.io)
|
|
12
|
-
|
|
13
|
-
更多uni-app的模板、示例详见[插件市场](https://ext.dcloud.net.cn/)
|
|
14
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
var Fly = require("flyio");
|
|
2
|
-
|
|
3
|
-
/*import config from './config'*/
|
|
4
|
-
// const request = new Fly();
|
|
5
|
-
//request.config.timeout = 100000;
|
|
6
|
-
/*request.config.baseURL = 'apitest.ipms.cn'*/
|
|
7
|
-
Fly.interceptors.request.use(req => {
|
|
8
|
-
console.log("2", "加载中...");
|
|
9
|
-
// window.console.log(req);
|
|
10
|
-
req.headers["csrfToken"] = "aa";
|
|
11
|
-
return req;
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
Fly.interceptors.response.use(
|
|
15
|
-
(response, promise) => {
|
|
16
|
-
//console.log(response)
|
|
17
|
-
console.log("closeLoading");
|
|
18
|
-
return promise.resolve(response.data);
|
|
19
|
-
},
|
|
20
|
-
(err, promise) => {
|
|
21
|
-
console.log("closeLoading");
|
|
22
|
-
return promise.resolve();
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
// export default request;
|