@10yun/cv-mobile-ui 0.3.21 → 0.3.24
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/build/parse-pages.js +182 -0
- package/build/publish-mp-weixin.js +36 -0
- package/build/themp.vue +85 -0
- package/{plugins → extend}/jweixin-module.js +0 -0
- package/{plugins → extend}/permission.js +0 -0
- package/package.json +1 -1
- package/plugins/jumps.js +18 -15
- package/plugins/lbs.js +92 -86
- package/plugins/map/qqmap.js +38 -34
- package/plugins/map/uniMap.js +13 -13
- package/plugins/message.js +10 -10
- package/plugins/request.js +139 -110
- package/plugins/storage.js +30 -33
- package/plugins/storage3.js +52 -52
- package/plugins/uni-copy.js +19 -16
- package/plugins/uni-im.js +23 -22
- package/plugins/uni-nvue-on.js +3 -7
- package/plugins/uni-plugins.js +28 -18
- package/plugins/uni-richText.js +27 -23
- package/plugins/uni-scanCode.js +6 -8
- package/plugins/uni-socket.js +20 -25
- package/plugins/uni-upgrade2.js +34 -40
- package/plugins/uni-upgrade3.js +58 -40
- package/{lib → ui-cv}/cv-banner/cv-banner.vue +0 -0
- package/{lib → ui-cv}/cv-banner-card/cv-banner-card.vue +0 -0
- package/{lib → ui-cv}/cv-block/cv-block.vue +0 -0
- package/{lib → ui-cv}/cv-box/cv-box.vue +0 -0
- package/{lib → ui-cv}/cv-button/cv-button.vue +0 -0
- package/{lib → ui-cv}/cv-cell/cv-cell.vue +0 -0
- package/{lib → ui-cv}/cv-checkbox/cv-checkbox.vue +0 -0
- package/{lib → ui-cv}/cv-checkbox-tag/cv-checkbox-tag.vue +0 -0
- package/{lib → ui-cv}/cv-code-sms/cv-code-sms.vue +35 -19
- package/{lib → ui-cv}/cv-dialog-bottom/cv-dialog-bottom.vue +0 -0
- package/{lib → ui-cv}/cv-dialog-full/cv-dialog-full.vue +0 -0
- package/{lib → ui-cv}/cv-dialog-loading/cv-dialog-loading.vue +0 -0
- package/{lib → ui-cv}/cv-dialog-share/cv-dialog-share.vue +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcode.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/Barcode.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/CODE128.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/CODE128A.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/CODE128B.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/CODE128C.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/CODE128_AUTO.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/auto.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/constants.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE128/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/CODE39/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/EAN.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/EAN13.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/EAN2.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/EAN5.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/EAN8.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/UPC.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/UPCE.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/constants.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/encoder.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/EAN_UPC/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/GenericBarcode/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/ITF/ITF.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/ITF/ITF14.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/ITF/constants.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/ITF/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/MSI.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/MSI10.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/MSI1010.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/MSI11.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/MSI1110.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/checksums.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/MSI/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/codabar/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/index.tmp.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/barcodes/pharmacode/index.js +0 -0
- package/{lib → ui-cv}/cv-draw-barcode/cv-draw-barcode.vue +0 -0
- package/{lib → ui-cv}/cv-draw-posters/cv-draw-posters.vue +0 -0
- package/{lib → ui-cv}/cv-draw-progress/cv-draw-progress.vue +0 -0
- package/{lib → ui-cv}/cv-draw-qrcode/cv-draw-qrcode.vue +0 -0
- package/{lib → ui-cv}/cv-draw-qrcode/qrcode.js +0 -0
- package/{lib → ui-cv}/cv-editor/compressImage.vue +0 -0
- package/{lib → ui-cv}/cv-editor/cv-editor.vue +0 -0
- package/{lib → ui-cv}/cv-editor/editor-icon.css +0 -0
- package/{lib → ui-cv}/cv-editor/editor-icon.ttf +0 -0
- package/{lib → ui-cv}/cv-editor/index.js +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseAudio.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseImg.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTable.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate0.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate1.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate10.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate11.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate2.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate3.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate4.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate5.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate6.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate7.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate8.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseTemplate9.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/components/wxParseVideo.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/cv-editor-parse.vue +0 -0
- package/{lib → ui-cv}/cv-editor-parse/libs/html2json.js +0 -0
- package/{lib → ui-cv}/cv-editor-parse/libs/htmlparser.js +0 -0
- package/{lib → ui-cv}/cv-editor-parse/libs/wxDiscode.js +0 -0
- package/{lib → ui-cv}/cv-editor-parse/readme.md +0 -0
- package/{lib → ui-cv}/cv-editor-parse/u-parse.css +0 -0
- package/{lib → ui-cv}/cv-editor-parse/u-parse.vue +0 -0
- package/{lib → ui-cv}/cv-filter-hm/cv-filter-hm.vue +0 -0
- package/{lib → ui-cv}/cv-form-group/cv-form-group.vue +0 -0
- package/{lib → ui-cv}/cv-form-item/cv-form-item.vue +0 -0
- package/{lib → ui-cv}/cv-form-merge/cv-form-merge.vue +0 -0
- package/{lib → ui-cv}/cv-geo-local/cv-geo-local.vue +0 -0
- package/{lib → ui-cv}/cv-icons/cv-icons.vue +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-action-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-action.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-action.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-arrow-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-arrow.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-arrow.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-base-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-base.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-base.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-default-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-default.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-default.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-mall-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-mall.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-mall.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-media-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-media.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-media.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-order-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-order.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-order.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-people-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-people.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-people.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-status-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-status.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-status.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-wallet-icons.js +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-wallet.css +0 -0
- package/{lib → ui-cv}/cv-icons/iconfont/font-wallet.js +0 -0
- package/{lib → ui-cv}/cv-icons/icons.js +0 -0
- package/{lib → ui-cv}/cv-info/cv-info.vue +0 -0
- package/{lib → ui-cv}/cv-input-btn/cv-input-btn.vue +0 -0
- package/{lib → ui-cv}/cv-input-digit/cv-input-digit.vue +0 -0
- package/{lib → ui-cv}/cv-input-idcard/cv-input-idcard.vue +0 -0
- package/{lib → ui-cv}/cv-input-number/cv-input-number.vue +0 -0
- package/{lib → ui-cv}/cv-input-password/cv-input-password.vue +0 -0
- package/{lib → ui-cv}/cv-input-text/cv-input-text.vue +0 -0
- package/{lib → ui-cv}/cv-link/cv-link.vue +0 -0
- package/{lib → ui-cv}/cv-lists-base/cv-lists-base.vue +0 -0
- package/{lib → ui-cv}/cv-lists-swiper/cv-lists-swipe2r.vue +0 -0
- package/{lib → ui-cv}/cv-lists-swiper/cv-lists-swiper.vue +0 -0
- package/{lib → ui-cv}/cv-load-more/config.json +0 -0
- package/{lib → ui-cv}/cv-load-more/cv-load-more.vue +0 -0
- package/{lib → ui-cv}/cv-message/cv-message.vue +0 -0
- package/{lib → ui-cv}/cv-nav-col/cv-nav-col.vue +0 -0
- package/{lib → ui-cv}/cv-nav-group/cv-nav-group.vue +0 -0
- package/{lib → ui-cv}/cv-nav-row/cv-nav-row.vue +0 -0
- package/{lib → ui-cv}/cv-picker-date/cv-picker-date.vue +0 -0
- package/{lib → ui-cv}/cv-picker-datetime/cv-picker-datetime.vue +0 -0
- package/{lib → ui-cv}/cv-picker-datetime5/cv-picker-datetime5.vue +0 -0
- package/{lib → ui-cv}/cv-picker-region/cv-picker-region.vue +0 -0
- package/{lib → ui-cv}/cv-picker-time/cv-picker-time.vue +0 -0
- package/{lib → ui-cv}/cv-picker1/cv-picker1.vue +0 -0
- package/{lib → ui-cv}/cv-picker2/cv-picker2.vue +0 -0
- package/{lib → ui-cv}/cv-picker3/cv-picker3.vue +0 -0
- package/{lib → ui-cv}/cv-radio/cv-radio.vue +0 -0
- package/{lib → ui-cv}/cv-radio-sex/cv-radio-sex.vue +0 -0
- package/{lib → ui-cv}/cv-radio-tag/cv-radio-tag.vue +0 -0
- package/{lib → ui-cv}/cv-rate/cv-rate.vue +0 -0
- package/{lib → ui-cv}/cv-search/cv-search.vue +0 -0
- package/{lib → ui-cv}/cv-skeleton/cv-skeleton.vue +0 -0
- package/{lib → ui-cv}/cv-skeleton/cv-skeleton2.vue +0 -0
- package/{lib → ui-cv}/cv-skeleton-group/cv-skeleton-group.vue +0 -0
- package/{lib → ui-cv}/cv-specs/cv-specs.vue +0 -0
- package/{lib → ui-cv}/cv-switch/cv-switch.vue +0 -0
- package/{lib → ui-cv}/cv-tab-lists/cv-tab-lists.vue +0 -0
- package/{lib → ui-cv}/cv-textarea/cv-textarea.vue +0 -0
- package/{lib → ui-cv}/cv-treaty/cv-treaty.vue +0 -0
- package/{lib → ui-cv}/cv-update-app/cv-update-app.vue +0 -0
- package/{lib → ui-cv}/cv-upload-avatar/cv-upload-avatar.vue +0 -0
- package/{lib → ui-cv}/cv-upload-img/cv-upload-img.vue +0 -0
- package/{lib → ui-cv}/dict/area-city.js +0 -0
- package/{lib → ui-cv}/dict/area-county.js +0 -0
- package/{lib → ui-cv}/dict/area-province.js +0 -0
- package/{lib → ui-cv}/mixins/mixins-checkbox.js +0 -0
- package/{lib → ui-cv}/mixins/mixins-common.js +0 -0
- package/{lib → ui-cv}/mixins/mixins-input.js +0 -0
- package/{lib → ui-cv}/mixins/mixins-picker.js +0 -0
- package/{lib → ui-cv}/mixins/mixins-radio.js +0 -0
- package/{lib-uni → ui-uni}/README.md +0 -0
- package/{lib-uni → ui-uni}/amap-wx/js/util.js +0 -0
- package/{lib-uni → ui-uni}/amap-wx/lib/amap-wx.js +0 -0
- package/{lib-uni → ui-uni}/api-set-tabbar.nvue +0 -0
- package/{lib-uni → ui-uni}/marked/index.js +0 -0
- package/{lib-uni → ui-uni}/marked/lib/marked.js +0 -0
- package/{lib-uni → ui-uni}/mpvue-citypicker/city-data/area.js +0 -0
- package/{lib-uni → ui-uni}/mpvue-citypicker/city-data/city.js +0 -0
- package/{lib-uni → ui-uni}/mpvue-citypicker/city-data/province.js +0 -0
- package/{lib-uni → ui-uni}/mpvue-citypicker/mpvueCityPicker.vue +0 -0
- package/{lib-uni → ui-uni}/mpvue-echarts/src/echarts.vue +0 -0
- package/{lib-uni → ui-uni}/mpvue-echarts/src/wx-canvas.js +0 -0
- package/{lib-uni → ui-uni}/mpvue-picker/mpvuePicker.vue +0 -0
- package/{lib-uni → ui-uni}/mpvueGestureLock/gestureLock.js +0 -0
- package/{lib-uni → ui-uni}/mpvueGestureLock/index.vue +0 -0
- package/{lib-uni → ui-uni}/page-foot/page-foot.vue +0 -0
- package/{lib-uni → ui-uni}/page-head/page-head.vue +0 -0
- package/{lib-uni → ui-uni}/product.vue +0 -0
- package/{lib-uni → ui-uni}/tab-nvue/mediaList.vue +0 -0
- package/{lib-uni → ui-uni}/u-charts/u-charts.js +0 -0
- package/{lib-uni → ui-uni}/u-link/u-link.vue +0 -0
- package/{lib-uni → ui-uni}/uni-badge/uni-badge.vue +0 -0
- package/{lib-uni → ui-uni}/uni-calendar/calendar.js +0 -0
- package/{lib-uni → ui-uni}/uni-calendar/uni-calendar-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-calendar/uni-calendar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-calendar/util.js +0 -0
- package/{lib-uni → ui-uni}/uni-card/uni-card.vue +0 -0
- package/{lib-uni → ui-uni}/uni-col/uni-col.vue +0 -0
- package/{lib-uni → ui-uni}/uni-collapse/uni-collapse.vue +0 -0
- package/{lib-uni → ui-uni}/uni-collapse-item/uni-collapse-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-combox/uni-combox.vue +0 -0
- package/{lib-uni → ui-uni}/uni-countdown/uni-countdown.vue +0 -0
- package/{lib-uni → ui-uni}/uni-data-checkbox/uni-data-checkbox.vue +0 -0
- package/{lib-uni → ui-uni}/uni-data-indexed-list/clientdb.js +0 -0
- package/{lib-uni → ui-uni}/uni-data-indexed-list/uni-data-indexed-list-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-data-indexed-list/uni-data-indexed-list.vue +0 -0
- package/{lib-uni → ui-uni}/uni-data-picker/keypress.js +0 -0
- package/{lib-uni → ui-uni}/uni-data-picker/uni-data-picker.vue +0 -0
- package/{lib-uni → ui-uni}/uni-data-pickerview/uni-data-picker.js +0 -0
- package/{lib-uni → ui-uni}/uni-data-pickerview/uni-data-pickerview.vue +0 -0
- package/{lib-uni → ui-uni}/uni-dateformat/date-format.js +0 -0
- package/{lib-uni → ui-uni}/uni-dateformat/uni-dateformat.vue +0 -0
- package/{lib-uni → ui-uni}/uni-datetime-picker/calendar-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-datetime-picker/calendar.js +1 -1
- package/{lib-uni → ui-uni}/uni-datetime-picker/calendar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-datetime-picker/keypress.js +0 -0
- package/{lib-uni → ui-uni}/uni-datetime-picker/time-picker.vue +0 -0
- package/{lib-uni → ui-uni}/uni-datetime-picker/uni-datetime-picker.vue +0 -0
- package/{lib-uni → ui-uni}/uni-datetime-picker/util.js +0 -0
- package/{lib-uni → ui-uni}/uni-drawer/keypress.js +0 -0
- package/{lib-uni → ui-uni}/uni-drawer/uni-drawer.vue +0 -0
- package/{lib-uni → ui-uni}/uni-easyinput/common.js +0 -0
- package/{lib-uni → ui-uni}/uni-easyinput/uni-easyinput.vue +0 -0
- package/{lib-uni → ui-uni}/uni-fab/uni-fab.vue +0 -0
- package/{lib-uni → ui-uni}/uni-fab/uni-fab.vue.bak +0 -0
- package/{lib-uni → ui-uni}/uni-fav/uni-fav.vue +0 -0
- package/{lib-uni → ui-uni}/uni-file-picker/choose-and-upload-file.js +0 -0
- package/{lib-uni → ui-uni}/uni-file-picker/uni-file-picker.vue +0 -0
- package/{lib-uni → ui-uni}/uni-file-picker/upload-file.vue +0 -0
- package/{lib-uni → ui-uni}/uni-file-picker/upload-image.vue +0 -0
- package/{lib-uni → ui-uni}/uni-file-picker/utils.js +0 -0
- package/{lib-uni → ui-uni}/uni-forms/uni-forms.vue +0 -0
- package/{lib-uni → ui-uni}/uni-forms/validate.js +0 -0
- package/{lib-uni → ui-uni}/uni-forms-item/uni-forms-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-goods-nav/uni-goods-nav.vue +0 -0
- package/{lib-uni → ui-uni}/uni-grid/uni-grid.vue +0 -0
- package/{lib-uni → ui-uni}/uni-grid-item/uni-grid-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-group/uni-group.vue +0 -0
- package/{lib-uni → ui-uni}/uni-icons/icons.js +0 -0
- package/{lib-uni → ui-uni}/uni-icons/uni-icons.vue +0 -0
- package/{lib-uni → ui-uni}/uni-icons/uni.ttf +0 -0
- package/{lib-uni → ui-uni}/uni-indexed-list/uni-indexed-list-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-indexed-list/uni-indexed-list.vue +0 -0
- package/{lib-uni → ui-uni}/uni-link/uni-link.vue +0 -0
- package/{lib-uni → ui-uni}/uni-list/uni-list.vue +0 -0
- package/{lib-uni → ui-uni}/uni-list/uni-refresh.vue +0 -0
- package/{lib-uni → ui-uni}/uni-list/uni-refresh.wxs +0 -0
- package/{lib-uni → ui-uni}/uni-list-ad/uni-list-ad.vue +0 -0
- package/{lib-uni → ui-uni}/uni-list-chat/uni-list-chat.scss +0 -0
- package/{lib-uni → ui-uni}/uni-list-chat/uni-list-chat.vue +0 -0
- package/{lib-uni → ui-uni}/uni-list-item/uni-list-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-load-more/uni-load-more.vue +0 -0
- package/{lib-uni → ui-uni}/uni-nav-bar/uni-nav-bar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-nav-bar/uni-status-bar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-notice-bar/uni-notice-bar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-number-box/uni-number-box.vue +0 -0
- package/{lib-uni → ui-uni}/uni-pagination/uni-pagination.vue +0 -0
- package/{lib-uni → ui-uni}/uni-popup/keypress.js +0 -0
- package/{lib-uni → ui-uni}/uni-popup/popup.js +0 -0
- package/{lib-uni → ui-uni}/uni-popup/uni-popup.vue +0 -0
- package/{lib-uni → ui-uni}/uni-popup-dialog/keypress.js +0 -0
- package/{lib-uni → ui-uni}/uni-popup-dialog/uni-popup-dialog.vue +0 -0
- package/{lib-uni → ui-uni}/uni-popup-message/uni-popup-message.vue +0 -0
- package/{lib-uni → ui-uni}/uni-popup-share/uni-popup-share.vue +0 -0
- package/{lib-uni → ui-uni}/uni-rate/uni-rate.vue +0 -0
- package/{lib-uni → ui-uni}/uni-row/uni-row.vue +0 -0
- package/{lib-uni → ui-uni}/uni-search-bar/uni-search-bar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-section/uni-section.vue +0 -0
- package/{lib-uni → ui-uni}/uni-segmented-control/uni-segmented-control.vue +0 -0
- package/{lib-uni → ui-uni}/uni-status-bar/uni-status-bar.vue +0 -0
- package/{lib-uni → ui-uni}/uni-steps/uni-steps.vue +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action/uni-swipe-action.vue +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/bindingx.js +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/index.wxs +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/isPC.js +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/mpalipay.js +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/mpother.js +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/mpwxs.js +0 -0
- package/{lib-uni → ui-uni}/uni-swipe-action-item/uni-swipe-action-item.vue +0 -0
- package/{lib-uni → ui-uni}/uni-swiper-dot/uni-swiper-dot.vue +0 -0
- package/{lib-uni → ui-uni}/uni-table/uni-table.vue +0 -0
- package/{lib-uni → ui-uni}/uni-tag/uni-tag.vue +0 -0
- package/{lib-uni → ui-uni}/uni-tbody/uni-tbody.vue +0 -0
- package/{lib-uni → ui-uni}/uni-td/uni-td.vue +0 -0
- package/{lib-uni → ui-uni}/uni-test/uni-test.vue +0 -0
- package/{lib-uni → ui-uni}/uni-th/filter-dropdown.vue +0 -0
- package/{lib-uni → ui-uni}/uni-th/uni-th.vue +0 -0
- package/{lib-uni → ui-uni}/uni-thead/uni-thead.vue +0 -0
- package/{lib-uni → ui-uni}/uni-title/uni-title.vue +0 -0
- package/{lib-uni → ui-uni}/uni-tr/table-checkbox.vue +0 -0
- package/{lib-uni → ui-uni}/uni-tr/uni-tr.vue +0 -0
- package/{lib-uni → ui-uni}/uni-transition/createAnimation.js +0 -0
- package/{lib-uni → ui-uni}/uni-transition/uni-transition.vue +0 -0
- package/plugins/uni-push.js +0 -88
package/plugins/uni-upgrade2.js
CHANGED
|
@@ -1,68 +1,63 @@
|
|
|
1
|
-
|
|
2
1
|
uni.request({
|
|
3
|
-
url:
|
|
2
|
+
url: 'http://2132', //请求更新地址
|
|
4
3
|
data: '',
|
|
5
4
|
success(res) {
|
|
6
5
|
if (!!res.data) {
|
|
7
6
|
uni.showModal({
|
|
8
7
|
title: '版本更新' + res.data.versionCode,
|
|
9
8
|
content: res.data.description,
|
|
10
|
-
confirmText:
|
|
9
|
+
confirmText: '更新',
|
|
11
10
|
showCancel: !res.forceUpdate,
|
|
12
11
|
success: function (e) {
|
|
13
12
|
if (e.confirm) {
|
|
14
13
|
if (plus.os.name.toLowerCase() == 'ios') {
|
|
15
14
|
// 跳转到下载页面
|
|
16
|
-
plus.runtime.openURL(res.data.upgradeUrl)
|
|
15
|
+
plus.runtime.openURL(res.data.upgradeUrl);
|
|
17
16
|
} else {
|
|
18
|
-
var dtask = plus.downloader.createDownload(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
var dtask = plus.downloader.createDownload(res.data.upgradeUrl, {}, function (d, status) {
|
|
18
|
+
uni.showToast({
|
|
19
|
+
title: '下载完成',
|
|
20
|
+
mask: false,
|
|
21
|
+
duration: 1000
|
|
22
|
+
});
|
|
23
|
+
// 下载完成
|
|
24
|
+
if (status == 200) {
|
|
25
|
+
plus.runtime.install(
|
|
26
|
+
plus.io.convertLocalFileSystemURL(d.filename),
|
|
27
|
+
{},
|
|
28
|
+
(e) => e,
|
|
29
|
+
function (error) {
|
|
29
30
|
uni.showToast({
|
|
30
31
|
title: '安装失败-01',
|
|
31
32
|
mask: false,
|
|
32
33
|
duration: 1500
|
|
33
34
|
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
}
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
} else {
|
|
38
|
+
uni.showToast({
|
|
39
|
+
title: '更新失败-02',
|
|
40
|
+
mask: false,
|
|
41
|
+
duration: 1500
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
});
|
|
43
45
|
try {
|
|
44
46
|
dtask.start(); // 开启下载的任务
|
|
45
47
|
var prg = 0;
|
|
46
|
-
var showLoading = plus.nativeUI.showWaiting(
|
|
47
|
-
dtask.addEventListener('statechanged', function (
|
|
48
|
-
task,
|
|
49
|
-
status
|
|
50
|
-
) {
|
|
48
|
+
var showLoading = plus.nativeUI.showWaiting('正在下载'); //创建一个showWaiting对象
|
|
49
|
+
dtask.addEventListener('statechanged', function (task, status) {
|
|
51
50
|
// 给下载任务设置一个监听 并根据状态 做操作
|
|
52
51
|
switch (task.state) {
|
|
53
52
|
case 1:
|
|
54
|
-
showLoading.setTitle(
|
|
53
|
+
showLoading.setTitle('正在下载');
|
|
55
54
|
break;
|
|
56
55
|
case 2:
|
|
57
|
-
showLoading.setTitle(
|
|
56
|
+
showLoading.setTitle('已连接到服务器');
|
|
58
57
|
break;
|
|
59
58
|
case 3:
|
|
60
|
-
prg = parseInt(
|
|
61
|
-
|
|
62
|
-
parseFloat(task.totalSize)) *
|
|
63
|
-
100
|
|
64
|
-
);
|
|
65
|
-
showLoading.setTitle(" 正在下载" + prg + "% ");
|
|
59
|
+
prg = parseInt((parseFloat(task.downloadedSize) / parseFloat(task.totalSize)) * 100);
|
|
60
|
+
showLoading.setTitle(' 正在下载' + prg + '% ');
|
|
66
61
|
break;
|
|
67
62
|
case 4:
|
|
68
63
|
plus.nativeUI.closeWaiting();
|
|
@@ -79,7 +74,6 @@ uni.request({
|
|
|
79
74
|
});
|
|
80
75
|
}
|
|
81
76
|
}
|
|
82
|
-
|
|
83
77
|
} else {
|
|
84
78
|
//取消
|
|
85
79
|
}
|
|
@@ -92,5 +86,5 @@ uni.request({
|
|
|
92
86
|
showCancel: false
|
|
93
87
|
});
|
|
94
88
|
}
|
|
95
|
-
}
|
|
96
|
-
})
|
|
89
|
+
}
|
|
90
|
+
});
|
package/plugins/uni-upgrade3.js
CHANGED
|
@@ -13,73 +13,91 @@ let xx = {
|
|
|
13
13
|
//检查更新
|
|
14
14
|
checkUpdate: function () {
|
|
15
15
|
var that = this;
|
|
16
|
-
this.$http
|
|
17
|
-
version
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
16
|
+
this.$http
|
|
17
|
+
.post(this.GLOBAL.host + '/version/checkUpdate', {
|
|
18
|
+
version: that.wgtVer
|
|
19
|
+
})
|
|
20
|
+
.then(function (res) {
|
|
21
|
+
if (res.data.code == 0) {
|
|
22
|
+
if (res.data.result == 1) {
|
|
23
|
+
//跟后台传过来的版本号比对,如果版本号不一致
|
|
24
|
+
if (navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)) {
|
|
25
|
+
//如果是苹果手机
|
|
26
|
+
plus.nativeUI.confirm(
|
|
27
|
+
'检测到有新版本,是否更新',
|
|
28
|
+
function (e) {
|
|
29
|
+
if (e.index == 0) {
|
|
30
|
+
//如果选择更新
|
|
31
|
+
window.location.href =
|
|
32
|
+
'itms-services://?action=download-manifest&url=https://ios.17rua.top/static/ios/x5.plist';
|
|
33
|
+
//不经过苹果商店下载(不懂得看我的另一篇文章)
|
|
34
|
+
plus.nativeUI.showWaiting('正在下载...');
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
'',
|
|
38
|
+
['立即更新', '以后再说']
|
|
39
|
+
);
|
|
40
|
+
return;
|
|
41
|
+
} else {
|
|
42
|
+
plus.nativeUI.confirm(
|
|
43
|
+
'检测到有新版本,是否更新',
|
|
44
|
+
function (e) {
|
|
45
|
+
if (e.index == 0) {
|
|
46
|
+
that.downWgt(res.data.url); //下载文件
|
|
47
|
+
} else {
|
|
48
|
+
plus.runtime.quit(); //安卓控制不更新退出应用
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
'',
|
|
52
|
+
['立即更新', '以后再说']
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
sessionStorage.setItem('kbj_banben', true); //检验过一次版本就加入缓存,不在检测
|
|
30
56
|
} else {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
that.downWgt(res.data.url);//下载文件
|
|
34
|
-
} else {
|
|
35
|
-
plus.runtime.quit();//安卓控制不更新退出应用
|
|
36
|
-
}
|
|
37
|
-
}, "", ["立即更新", "以后再说"]);
|
|
57
|
+
sessionStorage.setItem('kbj_banben', true);
|
|
58
|
+
return;
|
|
38
59
|
}
|
|
39
|
-
sessionStorage.setItem('kbj_banben', true);//检验过一次版本就加入缓存,不在检测
|
|
40
60
|
} else {
|
|
41
|
-
|
|
42
|
-
return;
|
|
61
|
+
alert('获取数据失败');
|
|
43
62
|
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
alert("请检查网络连接")
|
|
49
|
-
});
|
|
63
|
+
})
|
|
64
|
+
.catch(function (error) {
|
|
65
|
+
alert('请检查网络连接');
|
|
66
|
+
});
|
|
50
67
|
},
|
|
51
68
|
//下载资源包
|
|
52
69
|
downWgt: function (wgtUrl) {
|
|
53
70
|
var that = this;
|
|
54
|
-
var task = plus.downloader.createDownload(wgtUrl, {}, function (download, status) {
|
|
71
|
+
var task = plus.downloader.createDownload(wgtUrl, {}, function (download, status) {
|
|
72
|
+
//安装到手机的目录
|
|
55
73
|
if (status == 200) {
|
|
56
|
-
plus.runtime.install(download.filename);
|
|
74
|
+
plus.runtime.install(download.filename); // 安装下载的apk文件
|
|
57
75
|
} else {
|
|
58
|
-
mui.toast(
|
|
76
|
+
mui.toast('下载更新失败!');
|
|
59
77
|
plus.nativeUI.closeWaiting();
|
|
60
78
|
}
|
|
61
79
|
});
|
|
62
80
|
//监听下载
|
|
63
|
-
task.addEventListener(
|
|
81
|
+
task.addEventListener('statechanged', function (download, status) {
|
|
64
82
|
switch (download.state) {
|
|
65
83
|
case 2:
|
|
66
|
-
plus.nativeUI.showWaiting(
|
|
84
|
+
plus.nativeUI.showWaiting('正在下载...');
|
|
67
85
|
break;
|
|
68
86
|
case 3:
|
|
69
87
|
//进度条百分比 totalSize为总量,baifen为当前下载的百分比
|
|
70
88
|
if (that.totalSize == 0) {
|
|
71
89
|
that.totalSize = parseInt(download.totalSize);
|
|
72
90
|
}
|
|
73
|
-
if (parseInt(download.downloadedSize / that.totalSize * 100) != that.baifen) {
|
|
74
|
-
that.baifen = parseInt(download.downloadedSize / that.totalSize * 100);
|
|
91
|
+
if (parseInt((download.downloadedSize / that.totalSize) * 100) != that.baifen) {
|
|
92
|
+
that.baifen = parseInt((download.downloadedSize / that.totalSize) * 100);
|
|
75
93
|
}
|
|
76
94
|
break;
|
|
77
95
|
case 4:
|
|
78
|
-
mui.toast(
|
|
96
|
+
mui.toast('下载完成');
|
|
79
97
|
plus.nativeUI.closeWaiting();
|
|
80
98
|
break;
|
|
81
99
|
}
|
|
82
100
|
});
|
|
83
101
|
task.start();
|
|
84
|
-
}
|
|
85
|
-
};
|
|
102
|
+
}
|
|
103
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
default: false
|
|
47
47
|
},
|
|
48
48
|
mobile: {
|
|
49
|
-
type: String,
|
|
49
|
+
type: [Number, String],
|
|
50
50
|
default: ""
|
|
51
51
|
},
|
|
52
52
|
mobileParam: {
|
|
@@ -65,60 +65,71 @@ export default {
|
|
|
65
65
|
type: Function,
|
|
66
66
|
default: null
|
|
67
67
|
},
|
|
68
|
+
// 短信发送间隔
|
|
68
69
|
waitTime: {
|
|
69
|
-
type: String,
|
|
70
|
-
default:
|
|
70
|
+
type: [Number, String],
|
|
71
|
+
default: 60
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
watch: {
|
|
75
|
+
mobile(newVal) {
|
|
76
|
+
this.localMobile = newVal;
|
|
77
|
+
},
|
|
78
|
+
value(newVal) {
|
|
79
|
+
this.localVal = newVal;
|
|
71
80
|
}
|
|
72
81
|
},
|
|
73
82
|
data() {
|
|
74
83
|
return {
|
|
84
|
+
// 验证码
|
|
85
|
+
localVal: this.value,
|
|
86
|
+
localMobile: '',
|
|
75
87
|
nextTime: 0,
|
|
76
|
-
localVal: '',
|
|
77
|
-
localSmsMobile: '',
|
|
78
88
|
diyPlaceholder: '短信验证码',
|
|
89
|
+
// 按钮禁用
|
|
79
90
|
btnDisabled: false,
|
|
91
|
+
// 按钮文本
|
|
80
92
|
btnText: '获取验证码',
|
|
93
|
+
// 按钮定时器对象
|
|
81
94
|
btnIntervalObj: null,
|
|
82
95
|
};
|
|
83
96
|
},
|
|
84
|
-
watch: {
|
|
85
|
-
mobile(newVal) {
|
|
86
|
-
this.localMobile = newVal;
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
97
|
created() {
|
|
90
98
|
this.localMobile = this.mobile;
|
|
91
99
|
},
|
|
92
100
|
methods: {
|
|
93
|
-
|
|
101
|
+
showDiyMsg(msg) {
|
|
94
102
|
uni.showToast({
|
|
95
103
|
title: msg,
|
|
96
104
|
duration: 1200,
|
|
97
105
|
icon: 'none'
|
|
98
106
|
});
|
|
99
107
|
},
|
|
100
|
-
|
|
108
|
+
/******获取短信验证码************************************* */
|
|
101
109
|
getSmsCode() {
|
|
102
|
-
if (!this.localMobile
|
|
103
|
-
this.
|
|
110
|
+
if (!this.localMobile) {
|
|
111
|
+
this.showDiyMsg('手机号不正确');
|
|
104
112
|
return;
|
|
105
113
|
}
|
|
106
114
|
let mobileReg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
|
|
107
115
|
if (!mobileReg.test(this.localMobile)) {
|
|
108
|
-
this.
|
|
116
|
+
this.showDiyMsg('手机号格式不正确');
|
|
109
117
|
return;
|
|
110
118
|
}
|
|
111
119
|
|
|
112
120
|
if (!this.codeUrl && !this.codeApiFunc) {
|
|
113
|
-
this.
|
|
121
|
+
this.showDiyMsg('短信接口地址不能为空');
|
|
114
122
|
return;
|
|
115
123
|
}
|
|
124
|
+
|
|
125
|
+
// 禁用按钮
|
|
116
126
|
this.btnDisabled = true;
|
|
117
127
|
/* 请求接口 */
|
|
118
128
|
if (this.btnIntervalObj) {
|
|
119
129
|
// console.log('请勿重复提交验证码发送请求');
|
|
120
130
|
return;
|
|
121
131
|
}
|
|
132
|
+
|
|
122
133
|
if (this.btnDisabled) {
|
|
123
134
|
this.btnText = '请稍后...';
|
|
124
135
|
if (this.codeApiFunc) {
|
|
@@ -130,7 +141,7 @@ export default {
|
|
|
130
141
|
}).then((successRes) => {
|
|
131
142
|
let apiData = successRes;
|
|
132
143
|
if (apiData.status == 200) {
|
|
133
|
-
this.
|
|
144
|
+
this.showDiyMsg('发送成功!');
|
|
134
145
|
setTimeout(() => {
|
|
135
146
|
if (this.codeSign) {
|
|
136
147
|
let sign = (apiData.data && apiData.data.sign) || '';
|
|
@@ -138,17 +149,22 @@ export default {
|
|
|
138
149
|
}
|
|
139
150
|
this.smsCodeWaitTime();
|
|
140
151
|
}, 500);
|
|
152
|
+
} else {
|
|
153
|
+
this.showDiyMsg('短信获取失败,请检查网络');
|
|
154
|
+
this.btnDisabled = false;
|
|
155
|
+
this.btnText = '获取验证码';
|
|
141
156
|
}
|
|
157
|
+
}).catch((errorRes) => {
|
|
158
|
+
this.btnDisabled = false;
|
|
159
|
+
this.btnText = '获取验证码';
|
|
142
160
|
});
|
|
143
161
|
} else {
|
|
144
162
|
console.warn('url请求未完善,请使用:codeApiFunc')
|
|
145
163
|
this.btnDisabled = false;
|
|
146
164
|
this.btnText = '重新获取验证码';
|
|
147
165
|
}
|
|
148
|
-
|
|
149
166
|
}
|
|
150
167
|
},
|
|
151
|
-
|
|
152
168
|
smsCodeWaitTime() {
|
|
153
169
|
this.nextTime = Date.parse(new Date()) / 1000 + parseInt(this.waitTime);
|
|
154
170
|
this.btnIntervalObj = setInterval(() => {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|