├── .editorconfig
├── .gitattributes
├── .gitignore
├── App.vue
├── LICENSE
├── README.md
├── changelog.md
├── common
├── airport.js
├── graceChecker.js
├── html-parser.js
├── permission.js
├── uni-nvue.css
├── uni.css
└── util.js
├── components
├── amap-wx
│ ├── js
│ │ └── util.js
│ └── lib
│ │ └── amap-wx.js
├── api-set-tabbar.nvue
├── marked
│ ├── index.js
│ └── lib
│ │ └── marked.js
├── page-foot
│ └── page-foot.vue
├── page-head
│ └── page-head.vue
├── product.vue
├── tab-nvue
│ └── mediaList.vue
├── u-charts
│ └── u-charts.js
└── u-link
│ └── u-link.vue
├── hybrid
└── html
│ └── local.html
├── index.html
├── jest.config.js
├── main.js
├── manifest.json
├── package.json
├── pages.json
├── pages
├── API
│ ├── action-sheet
│ │ └── action-sheet.vue
│ ├── add-phone-contact
│ │ └── add-phone-contact.vue
│ ├── animation
│ │ └── animation.vue
│ ├── background-audio
│ │ └── background-audio.vue
│ ├── bluetooth
│ │ └── bluetooth.vue
│ ├── brightness
│ │ └── brightness.vue
│ ├── canvas
│ │ └── canvas.vue
│ ├── choose-location
│ │ └── choose-location.vue
│ ├── clipboard
│ │ └── clipboard.vue
│ ├── download-file
│ │ ├── download-file.test.js
│ │ └── download-file.vue
│ ├── file
│ │ └── file.vue
│ ├── full-screen-video-ad
│ │ └── full-screen-video-ad.vue
│ ├── get-location
│ │ └── get-location.vue
│ ├── get-network-type
│ │ └── get-network-type.vue
│ ├── get-node-info
│ │ ├── get-node-info.test.js
│ │ └── get-node-info.vue
│ ├── get-system-info
│ │ └── get-system-info.vue
│ ├── get-user-info
│ │ └── get-user-info.vue
│ ├── ibeacon
│ │ └── ibeacon.vue
│ ├── image
│ │ └── image.vue
│ ├── inner-audio
│ │ └── inner-audio.vue
│ ├── intersection-observer
│ │ └── intersection-observer.vue
│ ├── login
│ │ └── login.vue
│ ├── make-phone-call
│ │ └── make-phone-call.vue
│ ├── map-search
│ │ └── map-search.nvue
│ ├── map
│ │ └── map.nvue
│ ├── modal
│ │ └── modal.vue
│ ├── navigator
│ │ ├── navigator.vue
│ │ └── new-page
│ │ │ ├── new-nvue-page-1.nvue
│ │ │ ├── new-nvue-page-2.nvue
│ │ │ ├── new-vue-page-1.vue
│ │ │ └── new-vue-page-2.vue
│ ├── on-accelerometer-change
│ │ └── on-accelerometer-change.vue
│ ├── on-compass-change
│ │ └── on-compass-change.vue
│ ├── open-location
│ │ └── open-location.vue
│ ├── pull-down-refresh
│ │ └── pull-down-refresh.vue
│ ├── request-payment
│ │ └── request-payment.vue
│ ├── request
│ │ └── request.vue
│ ├── rewarded-video-ad
│ │ └── rewarded-video-ad.vue
│ ├── save-media
│ │ └── save-media.vue
│ ├── scan-code
│ │ └── scan-code.vue
│ ├── set-navigation-bar-title
│ │ ├── set-navigation-bar-title.test.js
│ │ └── set-navigation-bar-title.vue
│ ├── share
│ │ └── share.vue
│ ├── show-loading
│ │ └── show-loading.vue
│ ├── soter
│ │ └── soter.vue
│ ├── sqlite
│ │ └── sqlite.vue
│ ├── storage
│ │ └── storage.vue
│ ├── subnvue
│ │ ├── subnvue.vue
│ │ └── subnvue
│ │ │ ├── drawer.nvue
│ │ │ ├── popup.nvue
│ │ │ └── video-mask.nvue
│ ├── toast
│ │ └── toast.vue
│ ├── upload-file
│ │ └── upload-file.vue
│ ├── vibrate
│ │ └── vibrate.vue
│ ├── video
│ │ └── video.vue
│ ├── voice
│ │ └── voice.vue
│ ├── websocket-global
│ │ └── websocket-global.vue
│ └── websocket-socketTask
│ │ └── websocket-socketTask.vue
├── about
│ └── about.vue
├── component
│ ├── ad
│ │ └── ad.vue
│ ├── audio
│ │ └── audio.vue
│ ├── button
│ │ └── button.vue
│ ├── canvas
│ │ └── canvas.vue
│ ├── checkbox
│ │ └── checkbox.vue
│ ├── cover-view
│ │ ├── cover-view.nvue
│ │ └── cover-view.vue
│ ├── editor
│ │ ├── editor-icon.css
│ │ ├── editor.vue
│ │ └── iconfont.ttf
│ ├── form
│ │ └── form.vue
│ ├── image
│ │ └── image.vue
│ ├── input
│ │ └── input.nvue
│ ├── label
│ │ └── label.vue
│ ├── map
│ │ ├── map.nvue
│ │ └── map.vue
│ ├── movable-view
│ │ └── movable-view.vue
│ ├── navigator
│ │ ├── navigate
│ │ │ └── navigate.vue
│ │ ├── navigator.vue
│ │ └── redirect
│ │ │ └── redirect.vue
│ ├── picker-view
│ │ └── picker-view.vue
│ ├── picker
│ │ └── picker.vue
│ ├── progress
│ │ └── progress.vue
│ ├── radio
│ │ └── radio.vue
│ ├── rich-text
│ │ └── rich-text.vue
│ ├── scroll-view
│ │ └── scroll-view.vue
│ ├── slider
│ │ └── slider.vue
│ ├── swiper
│ │ └── swiper.vue
│ ├── switch
│ │ └── switch.vue
│ ├── text
│ │ └── text.vue
│ ├── textarea
│ │ └── textarea.vue
│ ├── video
│ │ ├── video.nvue
│ │ └── video.vue
│ ├── view
│ │ ├── view.test.js
│ │ └── view.vue
│ ├── web-view-local
│ │ └── web-view-local.vue
│ └── web-view
│ │ └── web-view.vue
├── error
│ └── 404.vue
├── extUI
│ ├── badge
│ │ └── badge.vue
│ ├── breadcrumb
│ │ └── breadcrumb.vue
│ ├── button
│ │ └── button.vue
│ ├── calendar
│ │ └── calendar.nvue
│ ├── card
│ │ └── card.nvue
│ ├── collapse
│ │ └── collapse.vue
│ ├── color
│ │ └── color.nvue
│ ├── combox
│ │ └── combox.vue
│ ├── countdown
│ │ └── countdown.nvue
│ ├── data-checkbox
│ │ └── data-checkbox.vue
│ ├── data-indexed-list
│ │ └── data-indexed-list.vue
│ ├── data-picker
│ │ └── data-picker.nvue
│ ├── data-select
│ │ └── data-select.vue
│ ├── dateformat
│ │ └── dateformat.vue
│ ├── datetime-picker
│ │ └── datetime-picker.vue
│ ├── drawer
│ │ └── drawer.vue
│ ├── easyinput
│ │ └── easyinput.vue
│ ├── fab
│ │ └── fab.vue
│ ├── fav
│ │ └── fav.vue
│ ├── file-picker
│ │ └── file-picker.vue
│ ├── font
│ │ └── font.nvue
│ ├── forms
│ │ └── forms.vue
│ ├── goods-nav
│ │ └── goods-nav.nvue
│ ├── grid
│ │ └── grid.nvue
│ ├── group
│ │ └── group.vue
│ ├── icons
│ │ └── icons.nvue
│ ├── indexed-list
│ │ └── indexed-list.nvue
│ ├── link
│ │ └── link.vue
│ ├── list
│ │ ├── chat.vue
│ │ └── list.nvue
│ ├── load-more
│ │ └── load-more.nvue
│ ├── nav-bar
│ │ └── nav-bar.nvue
│ ├── notice-bar
│ │ └── notice-bar.vue
│ ├── number-box
│ │ └── number-box.nvue
│ ├── pagination
│ │ └── pagination.vue
│ ├── popup
│ │ └── popup.vue
│ ├── radius
│ │ └── radius.nvue
│ ├── rate
│ │ └── rate.nvue
│ ├── row
│ │ └── row.vue
│ ├── search-bar
│ │ └── search-bar.vue
│ ├── section
│ │ └── section.vue
│ ├── segmented-control
│ │ └── segmented-control.vue
│ ├── space
│ │ └── space.nvue
│ ├── steps
│ │ └── steps.vue
│ ├── swipe-action
│ │ └── swipe-action.vue
│ ├── swiper-dot
│ │ └── swiper-dot.nvue
│ ├── table
│ │ ├── table.vue
│ │ └── tableData.js
│ ├── tag
│ │ └── tag.nvue
│ ├── title
│ │ └── title.vue
│ ├── tooltip
│ │ └── tooltip.vue
│ └── transition
│ │ └── transition.vue
├── tabBar
│ ├── API
│ │ └── API.nvue
│ ├── component
│ │ ├── component.nvue
│ │ └── component.test.js
│ ├── extUI
│ │ ├── extUI.nvue
│ │ └── extUI.test.js
│ └── template
│ │ └── template.nvue
└── template
│ ├── component-communication
│ ├── bus.js
│ ├── component-communication.vue
│ ├── reciver.vue
│ ├── sender-bus.vue
│ └── sender.vue
│ ├── crop
│ └── crop.vue
│ ├── global
│ └── global.vue
│ ├── list-with-badges
│ └── list-with-badges.vue
│ ├── list-with-collapses
│ └── list-with-collapses.vue
│ ├── list2detail-detail
│ └── list2detail-detail.vue
│ ├── list2detail-list
│ └── list2detail-list.vue
│ ├── nav-button
│ └── nav-button.vue
│ ├── nav-city-dropdown
│ └── nav-city-dropdown.vue
│ ├── nav-default
│ └── nav-default.vue
│ ├── nav-dot
│ └── nav-dot.vue
│ ├── nav-image
│ └── nav-image.vue
│ ├── nav-search-input
│ ├── detail
│ │ └── detail.vue
│ └── nav-search-input.vue
│ ├── nav-transparent
│ └── nav-transparent.vue
│ ├── pinia
│ ├── pinia.test.js
│ └── pinia.vue
│ ├── renderjs
│ ├── renderjs.test.js
│ └── renderjs.vue
│ ├── scheme
│ └── scheme.vue
│ ├── swiper-list-nvue
│ ├── swiper-list-nvue.nvue
│ └── swiper-page.nvue
│ ├── swiper-list
│ ├── swiper-list.nvue
│ └── swiper-page.nvue
│ ├── swiper-vertical
│ └── swiper-vertical.nvue
│ ├── tabbar
│ ├── detail
│ │ └── detail.vue
│ ├── news-item.nvue
│ └── tabbar.nvue
│ ├── ucharts
│ └── ucharts.vue
│ ├── vant-button
│ └── vant-button.vue
│ ├── vuex-nvue
│ └── vuex-nvue.nvue
│ └── vuex-vue
│ ├── vuex-vue.vue
│ └── vuex.test.js
├── platforms
└── app-plus
│ ├── feedback
│ └── feedback.vue
│ ├── orientation
│ └── orientation.vue
│ ├── proximity
│ └── proximity.vue
│ ├── push
│ └── push.vue
│ ├── shake
│ └── shake.vue
│ └── speech
│ └── speech.vue
├── static
├── 60x60.png
├── api.png
├── apiHL.png
├── apiIndex.png
├── app-plus
│ ├── location@3x.png
│ └── uni@2x.png
├── c1.png
├── c2.png
├── c3.png
├── c4.png
├── c5.png
├── c6.png
├── c7.png
├── c8.png
├── c9.png
├── compass.png
├── component.png
├── componentHL.png
├── componentIndex.png
├── customicons.css
├── customicons.ttf
├── extui.png
├── extuiHL.png
├── extuiIndex.png
├── font
│ └── Pacifico-Regular.ttf
├── home-active.png
├── home.png
├── iconfont.css
├── iconfont.ttf
├── icons
│ ├── badge.png
│ ├── button.png
│ ├── calendar.png
│ ├── card.png
│ ├── collapse.png
│ ├── color.png
│ ├── combox.png
│ ├── countdown.png
│ ├── data-checkbox.png
│ ├── data-picker.png
│ ├── dateformat.png
│ ├── datetime-picker.png
│ ├── drawer.png
│ ├── easyinput.png
│ ├── fab.png
│ ├── fav.png
│ ├── file-picker.png
│ ├── font.png
│ ├── forms.png
│ ├── goods-nav.png
│ ├── grid.png
│ ├── group.png
│ ├── icons.png
│ ├── indexed-list.png
│ ├── link.png
│ ├── list.png
│ ├── load-more.png
│ ├── nav-bar.png
│ ├── notice-bar.png
│ ├── number-box.png
│ ├── pagination.png
│ ├── popup.png
│ ├── radius.png
│ ├── rate.png
│ ├── row.png
│ ├── search-bar.png
│ ├── section.png
│ ├── segmented-control.png
│ ├── space.png
│ ├── steps.png
│ ├── swipe-action.png
│ ├── swiper-dot.png
│ ├── tag.png
│ ├── title.png
│ └── transition.png
├── image-active.png
├── image-resize-3.0.1.min.js
├── image.png
├── image
│ ├── uniui-header-bg.png
│ └── uniui-logo.png
├── location.png
├── logo.png
├── menu.png
├── nav.png
├── pause.png
├── play.png
├── plus.png
├── quill-1.3.7.min.js
├── record.png
├── shuijiao.jpg
├── star-active.png
├── star.png
├── stop.png
├── template.png
├── templateHL.png
├── templateIndex.png
├── trash.png
├── uni.png
└── uni.ttf
├── store
├── counter.js
└── index.js
├── template.h5.html
├── uni.scss
├── uni_modules
├── uni-badge
│ ├── changelog.md
│ ├── components
│ │ └── uni-badge
│ │ │ └── uni-badge.vue
│ ├── package.json
│ └── readme.md
├── uni-breadcrumb
│ ├── changelog.md
│ ├── components
│ │ ├── uni-breadcrumb-item
│ │ │ └── uni-breadcrumb-item.vue
│ │ └── uni-breadcrumb
│ │ │ └── uni-breadcrumb.vue
│ ├── package.json
│ └── readme.md
├── uni-calendar
│ ├── changelog.md
│ ├── components
│ │ └── uni-calendar
│ │ │ ├── calendar.js
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ ├── uni-calendar-item.vue
│ │ │ ├── uni-calendar.vue
│ │ │ └── util.js
│ ├── package.json
│ └── readme.md
├── uni-card
│ ├── changelog.md
│ ├── components
│ │ └── uni-card
│ │ │ └── uni-card.vue
│ ├── package.json
│ └── readme.md
├── uni-collapse
│ ├── changelog.md
│ ├── components
│ │ ├── uni-collapse-item
│ │ │ └── uni-collapse-item.vue
│ │ └── uni-collapse
│ │ │ └── uni-collapse.vue
│ ├── package.json
│ └── readme.md
├── uni-combox
│ ├── changelog.md
│ ├── components
│ │ └── uni-combox
│ │ │ └── uni-combox.vue
│ ├── package.json
│ └── readme.md
├── uni-config-center
│ ├── changelog.md
│ ├── package.json
│ ├── readme.md
│ └── uniCloud
│ │ └── cloudfunctions
│ │ └── common
│ │ └── uni-config-center
│ │ ├── index.js
│ │ └── package.json
├── uni-countdown
│ ├── changelog.md
│ ├── components
│ │ └── uni-countdown
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ └── uni-countdown.vue
│ ├── package.json
│ └── readme.md
├── uni-data-checkbox
│ ├── changelog.md
│ ├── components
│ │ └── uni-data-checkbox
│ │ │ ├── clientdb.js
│ │ │ └── uni-data-checkbox.vue
│ ├── package.json
│ └── readme.md
├── uni-data-picker
│ ├── changelog.md
│ ├── components
│ │ ├── uni-data-picker
│ │ │ ├── keypress.js
│ │ │ ├── uni-data-picker.uvue
│ │ │ └── uni-data-picker.vue
│ │ └── uni-data-pickerview
│ │ │ ├── loading.uts
│ │ │ ├── uni-data-picker.js
│ │ │ ├── uni-data-picker.uts
│ │ │ ├── uni-data-pickerview.css
│ │ │ ├── uni-data-pickerview.uvue
│ │ │ └── uni-data-pickerview.vue
│ ├── package.json
│ └── readme.md
├── uni-data-select
│ ├── changelog.md
│ ├── components
│ │ └── uni-data-select
│ │ │ └── uni-data-select.vue
│ ├── package.json
│ └── readme.md
├── uni-dateformat
│ ├── changelog.md
│ ├── components
│ │ └── uni-dateformat
│ │ │ ├── date-format.js
│ │ │ └── uni-dateformat.vue
│ ├── package.json
│ └── readme.md
├── uni-datetime-picker
│ ├── changelog.md
│ ├── components
│ │ └── uni-datetime-picker
│ │ │ ├── calendar-item.vue
│ │ │ ├── calendar.js
│ │ │ ├── calendar.vue
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ ├── keypress.js
│ │ │ ├── time-picker.vue
│ │ │ ├── uni-datetime-picker.vue
│ │ │ └── util.js
│ ├── package.json
│ └── readme.md
├── uni-drawer
│ ├── changelog.md
│ ├── components
│ │ └── uni-drawer
│ │ │ ├── keypress.js
│ │ │ └── uni-drawer.vue
│ ├── package.json
│ └── readme.md
├── uni-easyinput
│ ├── changelog.md
│ ├── components
│ │ └── uni-easyinput
│ │ │ ├── common.js
│ │ │ └── uni-easyinput.vue
│ ├── package.json
│ └── readme.md
├── uni-fab
│ ├── changelog.md
│ ├── components
│ │ └── uni-fab
│ │ │ ├── uni-fab.vue
│ │ │ └── uni-fab.vue.bak
│ ├── package.json
│ └── readme.md
├── uni-fav
│ ├── changelog.md
│ ├── components
│ │ └── uni-fav
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ └── uni-fav.vue
│ ├── package.json
│ └── readme.md
├── uni-file-picker
│ ├── changelog.md
│ ├── components
│ │ └── uni-file-picker
│ │ │ ├── choose-and-upload-file.js
│ │ │ ├── uni-file-picker.vue
│ │ │ ├── upload-file.vue
│ │ │ ├── upload-image.vue
│ │ │ └── utils.js
│ ├── package.json
│ └── readme.md
├── uni-forms
│ ├── changelog.md
│ ├── components
│ │ ├── uni-forms-item
│ │ │ └── uni-forms-item.vue
│ │ └── uni-forms
│ │ │ ├── uni-forms.vue
│ │ │ ├── utils.js
│ │ │ └── validate.js
│ ├── package.json
│ └── readme.md
├── uni-goods-nav
│ ├── changelog.md
│ ├── components
│ │ └── uni-goods-nav
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ └── uni-goods-nav.vue
│ ├── package.json
│ └── readme.md
├── uni-grid
│ ├── changelog.md
│ ├── components
│ │ ├── uni-grid-item
│ │ │ └── uni-grid-item.vue
│ │ └── uni-grid
│ │ │ └── uni-grid.vue
│ ├── package.json
│ └── readme.md
├── uni-group
│ ├── changelog.md
│ ├── components
│ │ └── uni-group
│ │ │ └── uni-group.vue
│ ├── package.json
│ └── readme.md
├── uni-icons
│ ├── changelog.md
│ ├── components
│ │ └── uni-icons
│ │ │ ├── icons.js
│ │ │ ├── uni-icons.uvue
│ │ │ ├── uni-icons.vue
│ │ │ ├── uni.ttf
│ │ │ ├── uniicons.css
│ │ │ ├── uniicons.ttf
│ │ │ ├── uniicons_file.ts
│ │ │ └── uniicons_file_vue.js
│ ├── package.json
│ └── readme.md
├── uni-id
│ ├── changelog.md
│ ├── package.json
│ ├── readme.md
│ └── uniCloud
│ │ └── cloudfunctions
│ │ └── common
│ │ └── uni-id
│ │ ├── LICENSE.md
│ │ ├── index.js
│ │ └── package.json
├── uni-indexed-list
│ ├── changelog.md
│ ├── components
│ │ └── uni-indexed-list
│ │ │ ├── uni-indexed-list-item.vue
│ │ │ └── uni-indexed-list.vue
│ ├── package.json
│ └── readme.md
├── uni-installApk
│ ├── changelog.md
│ ├── package.json
│ ├── readme.md
│ └── utssdk
│ │ ├── app-android
│ │ ├── AndroidManifest.xml
│ │ └── index.uts
│ │ ├── app-ios
│ │ └── index.uts
│ │ ├── index.d.ts
│ │ ├── interface.uts
│ │ └── unierror.uts
├── uni-link
│ ├── changelog.md
│ ├── components
│ │ └── uni-link
│ │ │ └── uni-link.vue
│ ├── package.json
│ └── readme.md
├── uni-list
│ ├── changelog.md
│ ├── components
│ │ ├── uni-list-ad
│ │ │ └── uni-list-ad.vue
│ │ ├── uni-list-chat
│ │ │ ├── uni-list-chat.scss
│ │ │ └── uni-list-chat.vue
│ │ ├── uni-list-item
│ │ │ └── uni-list-item.vue
│ │ └── uni-list
│ │ │ ├── uni-list - 副本.vue
│ │ │ ├── uni-list.vue
│ │ │ ├── uni-refresh.vue
│ │ │ └── uni-refresh.wxs
│ ├── package.json
│ └── readme.md
├── uni-load-more
│ ├── changelog.md
│ ├── components
│ │ └── uni-load-more
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ └── uni-load-more.vue
│ ├── package.json
│ └── readme.md
├── uni-nav-bar
│ ├── changelog.md
│ ├── components
│ │ └── uni-nav-bar
│ │ │ ├── uni-nav-bar.vue
│ │ │ └── uni-status-bar.vue
│ ├── package.json
│ └── readme.md
├── uni-notice-bar
│ ├── changelog.md
│ ├── components
│ │ └── uni-notice-bar
│ │ │ └── uni-notice-bar.vue
│ ├── package.json
│ └── readme.md
├── uni-number-box
│ ├── changelog.md
│ ├── components
│ │ └── uni-number-box
│ │ │ └── uni-number-box.vue
│ ├── package.json
│ └── readme.md
├── uni-open-bridge-common
│ ├── changelog.md
│ ├── package.json
│ ├── readme.md
│ └── uniCloud
│ │ ├── cloudfunctions
│ │ └── common
│ │ │ └── uni-open-bridge-common
│ │ │ ├── bridge-error.js
│ │ │ ├── config.js
│ │ │ ├── consts.js
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ ├── storage.js
│ │ │ ├── uni-cloud-cache.js
│ │ │ ├── validator.js
│ │ │ └── weixin-server.js
│ │ └── database
│ │ └── opendb-open-data.schema.json
├── uni-pagination
│ ├── changelog.md
│ ├── components
│ │ └── uni-pagination
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── es.json
│ │ │ ├── fr.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ └── uni-pagination.vue
│ ├── package.json
│ └── readme.md
├── uni-popup
│ ├── changelog.md
│ ├── components
│ │ ├── uni-popup-dialog
│ │ │ ├── keypress.js
│ │ │ └── uni-popup-dialog.vue
│ │ ├── uni-popup-message
│ │ │ └── uni-popup-message.vue
│ │ ├── uni-popup-share
│ │ │ └── uni-popup-share.vue
│ │ └── uni-popup
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ ├── keypress.js
│ │ │ ├── popup.js
│ │ │ ├── uni-popup.uvue
│ │ │ └── uni-popup.vue
│ ├── package.json
│ └── readme.md
├── uni-rate
│ ├── changelog.md
│ ├── components
│ │ └── uni-rate
│ │ │ └── uni-rate.vue
│ ├── package.json
│ └── readme.md
├── uni-row
│ ├── changelog.md
│ ├── components
│ │ ├── uni-col
│ │ │ └── uni-col.vue
│ │ └── uni-row
│ │ │ └── uni-row.vue
│ ├── package.json
│ └── readme.md
├── uni-scss
│ ├── changelog.md
│ ├── index.scss
│ ├── package.json
│ ├── readme.md
│ ├── styles
│ │ ├── index.scss
│ │ ├── setting
│ │ │ ├── _border.scss
│ │ │ ├── _color.scss
│ │ │ ├── _radius.scss
│ │ │ ├── _space.scss
│ │ │ ├── _styles.scss
│ │ │ ├── _text.scss
│ │ │ └── _variables.scss
│ │ └── tools
│ │ │ └── functions.scss
│ ├── theme.scss
│ └── variables.scss
├── uni-search-bar
│ ├── changelog.md
│ ├── components
│ │ └── uni-search-bar
│ │ │ ├── i18n
│ │ │ ├── en.json
│ │ │ ├── index.js
│ │ │ ├── zh-Hans.json
│ │ │ └── zh-Hant.json
│ │ │ └── uni-search-bar.vue
│ ├── package.json
│ └── readme.md
├── uni-section
│ ├── changelog.md
│ ├── components
│ │ └── uni-section
│ │ │ └── uni-section.vue
│ ├── package.json
│ └── readme.md
├── uni-segmented-control
│ ├── changelog.md
│ ├── components
│ │ └── uni-segmented-control
│ │ │ └── uni-segmented-control.vue
│ ├── package.json
│ └── readme.md
├── uni-steps
│ ├── changelog.md
│ ├── components
│ │ └── uni-steps
│ │ │ └── uni-steps.vue
│ ├── package.json
│ └── readme.md
├── uni-swipe-action
│ ├── changelog.md
│ ├── components
│ │ ├── uni-swipe-action-item
│ │ │ ├── bindingx.js
│ │ │ ├── index.wxs
│ │ │ ├── isPC.js
│ │ │ ├── mpalipay.js
│ │ │ ├── mpother.js
│ │ │ ├── mpwxs.js
│ │ │ ├── render.js
│ │ │ ├── uni-swipe-action-item.vue
│ │ │ └── wx.wxs
│ │ └── uni-swipe-action
│ │ │ └── uni-swipe-action.vue
│ ├── package.json
│ └── readme.md
├── uni-swiper-dot
│ ├── changelog.md
│ ├── components
│ │ └── uni-swiper-dot
│ │ │ └── uni-swiper-dot.vue
│ ├── package.json
│ └── readme.md
├── uni-table
│ ├── changelog.md
│ ├── components
│ │ ├── uni-table
│ │ │ └── uni-table.vue
│ │ ├── uni-tbody
│ │ │ └── uni-tbody.vue
│ │ ├── uni-td
│ │ │ └── uni-td.vue
│ │ ├── uni-th
│ │ │ ├── filter-dropdown.vue
│ │ │ └── uni-th.vue
│ │ ├── uni-thead
│ │ │ └── uni-thead.vue
│ │ └── uni-tr
│ │ │ ├── table-checkbox.vue
│ │ │ └── uni-tr.vue
│ ├── i18n
│ │ ├── en.json
│ │ ├── es.json
│ │ ├── fr.json
│ │ ├── index.js
│ │ ├── zh-Hans.json
│ │ └── zh-Hant.json
│ ├── package.json
│ └── readme.md
├── uni-tag
│ ├── changelog.md
│ ├── components
│ │ └── uni-tag
│ │ │ └── uni-tag.vue
│ ├── package.json
│ └── readme.md
├── uni-title
│ ├── changelog.md
│ ├── components
│ │ └── uni-title
│ │ │ └── uni-title.vue
│ ├── package.json
│ └── readme.md
├── uni-tooltip
│ ├── changelog.md
│ ├── components
│ │ └── uni-tooltip
│ │ │ └── uni-tooltip.vue
│ ├── package.json
│ └── readme.md
├── uni-transition
│ ├── changelog.md
│ ├── components
│ │ └── uni-transition
│ │ │ ├── createAnimation.js
│ │ │ └── uni-transition.vue
│ ├── package.json
│ └── readme.md
├── uni-upgrade-center-app
│ ├── changelog.md
│ ├── components
│ │ └── uni-upgrade-center-app
│ │ │ └── uni-upgrade-center-app.uvue
│ ├── images
│ │ ├── app_update_close.png
│ │ └── bg_top.png
│ ├── package.json
│ ├── pages
│ │ └── upgrade-popup.vue
│ ├── pages_init.json
│ ├── readme.md
│ ├── static
│ │ ├── app_update_close.png
│ │ └── bg_top.png
│ ├── uniCloud
│ │ ├── cloudfunctions
│ │ │ ├── check-version
│ │ │ │ ├── check-version.param.json
│ │ │ │ └── index.js
│ │ │ ├── checkVersion
│ │ │ │ ├── checkVersion.param.json
│ │ │ │ ├── index.obj.js
│ │ │ │ └── package.json
│ │ │ └── temp.png
│ │ └── database
│ │ │ └── db_init.json
│ └── utils
│ │ ├── call-check-version.js
│ │ ├── call-check-version.ts
│ │ ├── check-update-nvue.js
│ │ ├── check-update.js
│ │ ├── check-update.ts
│ │ └── utils.uts
└── uts-progressNotification
│ ├── changelog.md
│ ├── package.json
│ ├── readme.md
│ └── utssdk
│ ├── app-android
│ ├── AndroidManifest.xml
│ ├── TransparentActivity.uts
│ ├── callbacks.uts
│ ├── config.json
│ ├── constant.uts
│ ├── index.uts
│ └── res
│ │ └── values
│ │ └── notification_progress_styles.xml
│ ├── interface.uts
│ └── unierror.uts
├── windows
├── left-window.vue
└── top-window.vue
└── wxcomponents
└── vant
├── button
├── index.d.ts
├── index.js
├── index.json
├── index.wxml
└── index.wxss
├── common
├── color.d.ts
├── color.js
├── component.d.ts
├── component.js
├── index.wxss
├── style
│ ├── clearfix.wxss
│ ├── ellipsis.wxss
│ ├── hairline.wxss
│ ├── mixins
│ │ ├── clearfix.wxss
│ │ ├── ellipsis.wxss
│ │ └── hairline.wxss
│ ├── theme.wxss
│ └── var.wxss
├── utils.d.ts
└── utils.js
├── icon
├── index.d.ts
├── index.js
├── index.json
├── index.wxml
└── index.wxss
├── info
├── index.d.ts
├── index.js
├── index.json
├── index.wxml
└── index.wxss
├── loading
├── index.d.ts
├── index.js
├── index.json
├── index.wxml
└── index.wxss
├── mixins
├── basic.d.ts
├── basic.js
├── button.d.ts
├── button.js
├── link.d.ts
├── link.js
├── observer
│ ├── behavior.d.ts
│ ├── behavior.js
│ ├── index.d.ts
│ └── index.js
├── open-type.d.ts
├── open-type.js
├── touch.d.ts
├── touch.js
├── transition.d.ts
└── transition.js
└── wxs
├── array.wxs
├── bem.wxs
├── memoize.wxs
├── object.wxs
└── utils.wxs
/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 |
3 | root = true
4 |
5 | # all files
6 | [*]
7 | charset = utf-8
8 | indent_style = tab
9 | indent_size = 4
10 | end_of_line = lf
11 | insert_final_newline = true
12 | trim_trailing_whitespace = true
13 |
14 | # md files
15 | [*.md]
16 | insert_final_newline = false
17 | trim_trailing_whitespace = false
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.nvue linguist-language=Vue
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | .project
3 | unpackage/
4 | .DS_Store
5 | wxcomponents/**/*.vue
6 | wxcomponents/**/*.css
7 | .hbuilderx/
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
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.
22 |
--------------------------------------------------------------------------------
/components/marked/index.js:
--------------------------------------------------------------------------------
1 | export default './lib/marked'
2 |
--------------------------------------------------------------------------------
/components/page-foot/page-foot.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | 感谢{{name}}提供本示例,
4 | 我也提交
5 |
6 |
7 |
8 |
27 |
39 |
--------------------------------------------------------------------------------
/components/page-head/page-head.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{title}}
4 |
5 |
6 |
17 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/jest.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | testTimeout: 20000,
3 | reporters: [
4 | 'default'
5 | ],
6 | watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
7 | moduleFileExtensions: ['js', 'json'],
8 | rootDir: __dirname,
9 | testMatch: ["/pages/**/*test.[jt]s?(x)"],
10 | testPathIgnorePatterns: ['/node_modules/']
11 | }
12 |
--------------------------------------------------------------------------------
/main.js:
--------------------------------------------------------------------------------
1 | import App from './App'
2 | import store from './store'
3 |
4 | // #ifndef VUE3
5 | import Vue from 'vue'
6 | Vue.config.productionTip = false
7 | Vue.prototype.$store = store
8 | Vue.prototype.$adpid = "1111111111"
9 | Vue.prototype.$backgroundAudioData = {
10 | playing: false,
11 | playTime: 0,
12 | formatedPlayTime: '00:00:00'
13 | }
14 | App.mpType = 'app'
15 | const app = new Vue({
16 | store,
17 | ...App
18 | })
19 | app.$mount()
20 | // #endif
21 |
22 | // #ifdef VUE3
23 | import {
24 | createSSRApp
25 | } from 'vue'
26 | import * as Pinia from 'pinia';
27 | import Vuex from "vuex";
28 | export function createApp() {
29 | const app = createSSRApp(App)
30 | app.use(store)
31 | app.use(Pinia.createPinia());
32 | app.config.globalProperties.$adpid = "1111111111"
33 | app.config.globalProperties.$backgroundAudioData = {
34 | playing: false,
35 | playTime: 0,
36 | formatedPlayTime: '00:00:00'
37 | }
38 | return {
39 | app,
40 | Vuex, // 如果 nvue 使用 vuex 的各种map工具方法时,必须 return Vuex
41 | Pinia // 此处必须将 Pinia 返回
42 | }
43 | }
44 | // #endif
45 |
--------------------------------------------------------------------------------
/pages/API/download-file/download-file.test.js:
--------------------------------------------------------------------------------
1 | const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
2 | describe('pages/API/download-file/download-file.vue', () => {
3 | let page;
4 | const versions = ['12.4', '13.7', '15.5', '17.4', '17.5_深色主题', '18.1'];
5 | const [platform, version] = platformInfo.split(' ');
6 | if (platform === 'ios_simulator' && versions.includes(version)) {
7 | it('skip', async () => {
8 | expect(1).toBe(1);
9 | });
10 | return;
11 | }
12 | beforeAll(async () => {
13 | page = await program.reLaunch('/pages/API/download-file/download-file')
14 | await page.waitFor('view')
15 | });
16 | it('check download url', async () => {
17 | expect.assertions(2);
18 | await page.callMethod('downloadImage')
19 | const waitTime = process.env.uniTestPlatformInfo.includes('firefox') ? 5000:2000
20 | const start = Date.now();
21 | await page.waitFor(async () => {
22 | return await page.data('jest_result') === true || (Date.now() - start > waitTime)
23 | })
24 | expect(await page.data('jest_result')).toBeTruthy();
25 | expect(await page.data('imageSrc')).toBeTruthy();
26 | });
27 | });
28 |
--------------------------------------------------------------------------------
/pages/API/get-node-info/get-node-info.test.js:
--------------------------------------------------------------------------------
1 | describe('测试 css 变量', () => {
2 | let page
3 | const isApp = process.env.UNI_PLATFORM.includes('app');
4 | beforeAll(async () => {
5 | // 重新reLaunch至首页,并获取首页page对象(其中 program 是uni-automator自动注入的全局对象)
6 | page = await program.reLaunch('/pages/API/get-node-info/get-node-info')
7 | await page.waitFor(1000)
8 | })
9 |
10 | it('css var', async () => {
11 |
12 | if (isApp) {
13 | const element1 = await page.$('.box1')
14 | const size = await element1.size()
15 | expect(size.height > 0).toBe(true)
16 |
17 | const element2 = await page.$('.box2')
18 | const size2 = await element2.size()
19 | expect(size2.height === 0).toBe(true)
20 |
21 | const element3 = await page.$('.box3')
22 | const size3 = await element3.size()
23 | expect(size3.height === 0).toBe(true)
24 |
25 | const element4 = await page.$('.box4')
26 | const size4 = await element4.size()
27 | expect(size4.height > size.height).toBe(true)
28 | } else {
29 | expect(1).toBe(1)
30 | }
31 | })
32 | });
33 |
--------------------------------------------------------------------------------
/pages/API/make-phone-call/make-phone-call.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 请在下方输入电话号码
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
41 |
42 |
51 |
--------------------------------------------------------------------------------
/pages/API/modal/modal.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/pages/API/set-navigation-bar-title/set-navigation-bar-title.test.js:
--------------------------------------------------------------------------------
1 | describe('pages/API/set-navigation-bar-title/set-navigation-bar-title.vue', () => {
2 | let page
3 | beforeAll(async () => {
4 | // 重新reLaunch至首页,并获取首页page对象(其中 program 是uni-automator自动注入的全局对象)
5 | page = await program.reLaunch('/pages/API/set-navigation-bar-title/set-navigation-bar-title')
6 | const waitTime = process.env.UNI_PLATFORM === "mp-weixin" ? 10000 : 5000
7 | await page.waitFor(waitTime)
8 | page = await program.currentPage()
9 | })
10 | it('set-navigation-bar-title 组件标题', async () => {
11 | let view = await page.$('.common-page-head-title')
12 | expect(await view.text()).toBe('nav-default')
13 | })
14 | })
15 |
--------------------------------------------------------------------------------
/pages/API/set-navigation-bar-title/set-navigation-bar-title.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 本页标题栏是uni-app的默认配置,开发者可在pages.json里配置文字内容及标题颜色,也可通过api接口将其改变。
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
42 |
43 |
45 |
--------------------------------------------------------------------------------
/pages/API/show-loading/show-loading.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
46 |
47 |
50 |
--------------------------------------------------------------------------------
/pages/API/vibrate/vibrate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Tips
10 | iOS上只有长震动,没有短震动
11 | iOS上需要手机设置“打开响铃时震动”或“静音时震动”,否则无法震动
12 |
13 |
14 |
15 |
16 |
42 |
43 |
60 |
--------------------------------------------------------------------------------
/pages/component/audio/audio.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
8 | audio组件不再维护,建议使用能力更强的uni.createInnerAudioContext()
9 |
10 |
11 |
12 |
13 |
30 |
--------------------------------------------------------------------------------
/pages/component/editor/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/pages/component/editor/iconfont.ttf
--------------------------------------------------------------------------------
/pages/component/image/image.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 示例1 \n本地图片
7 |
8 |
9 |
10 |
11 |
12 | 示例2 \n网络图片
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
29 |
35 |
--------------------------------------------------------------------------------
/pages/component/map/map.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
8 |
9 |
10 |
11 |
12 |
47 |
53 |
--------------------------------------------------------------------------------
/pages/component/navigator/navigate/navigate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
15 |
--------------------------------------------------------------------------------
/pages/component/navigator/navigator.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
34 |
--------------------------------------------------------------------------------
/pages/component/navigator/redirect/redirect.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
15 |
--------------------------------------------------------------------------------
/pages/component/rich-text/rich-text.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 数组类型
7 | \nnodes属性为Array
8 |
9 |
10 |
11 |
12 |
13 |
14 | 字符串类型
15 | \nnodes属性为String
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
45 |
--------------------------------------------------------------------------------
/pages/component/slider/slider.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 显示当前value
6 |
7 |
8 |
9 |
10 | 设置步进step跳动
11 |
12 |
13 |
14 |
15 | 设置最小/最大值
16 |
17 |
18 |
19 |
20 | 不同颜色和大小的滑块
21 |
22 |
23 |
24 |
25 |
26 |
27 |
41 |
--------------------------------------------------------------------------------
/pages/component/switch/switch.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 默认样式
6 |
7 |
8 |
9 |
10 | 不同颜色和尺寸的switch
11 |
12 |
13 |
14 |
15 |
16 | 推荐展示样式
17 |
18 |
19 |
20 | 开启中
21 |
22 |
23 |
24 | 关闭
25 |
26 |
27 |
28 |
29 |
30 |
47 |
48 |
--------------------------------------------------------------------------------
/pages/component/textarea/textarea.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 输入区域高度自适应,不会出现滚动条
5 |
6 |
7 |
8 | 占位符字体是红色的textarea
9 |
10 |
11 |
12 |
13 |
14 |
29 |
30 |
32 |
--------------------------------------------------------------------------------
/pages/component/view/view.test.js:
--------------------------------------------------------------------------------
1 | describe('pages/component/view/view.vue', () => {
2 | let page
3 | beforeAll(async () => {
4 | // 重新reLaunch至首页,并获取首页page对象(其中 program 是uni-automator自动注入的全局对象)
5 | page = await program.reLaunch('/pages/component/view/view')
6 | await page.waitFor(1000)
7 | })
8 |
9 | /**
10 | * 测试步骤
11 | * 1. 检测页面标题是否为 view
12 | */
13 | it('view 组件标题', async () => {
14 | let view = await page.$('.common-page-head-title')
15 | expect(await view.text()).toBe('view')
16 | })
17 | /**
18 | * 测试步骤
19 | * 1. uni-flex 的个数
20 | * 2. flex-item 的个数
21 | */
22 | it('view 个数', async () => {
23 | let viewLen = await page.$$('.uni-flex')
24 | expect(viewLen.length).toBe(18)
25 | let viewItemLen = await page.$$('.flex-item')
26 | expect(viewItemLen.length).toBe(6)
27 | })
28 | /**
29 | * 测试步骤
30 | * 1. 第一个颜色块的色值是否为 rgb(247, 98, 96)
31 | */
32 | it('view 前三个元素颜色', async () => {
33 | let viewRed = await page.$('.uni-bg-red')
34 | expect(await viewRed.style('backgroundColor')).toBe('rgb(247, 98, 96)')
35 | })
36 | })
37 |
--------------------------------------------------------------------------------
/pages/component/web-view-local/web-view-local.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
19 |
20 |
23 |
--------------------------------------------------------------------------------
/pages/component/web-view/web-view.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
29 |
30 |
33 |
--------------------------------------------------------------------------------
/pages/error/404.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 404 Page Not Found
6 |
7 |
8 |
9 |
10 | {{errMsg}}
11 |
12 |
13 |
14 |
15 |
16 |
31 |
32 |
35 |
--------------------------------------------------------------------------------
/pages/extUI/breadcrumb/breadcrumb.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 面包屑导航显示当前页面的路径,快速返回之前的任意可跳转页面
5 |
6 |
7 |
8 | {{route.name}}
9 |
10 |
11 |
12 |
13 | {{route.name}}
14 |
15 |
16 |
17 |
18 |
19 |
38 |
39 |
42 |
--------------------------------------------------------------------------------
/pages/extUI/combox/combox.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 组合框一般用于可以选择也可以输入的表单项。
5 |
6 |
7 |
8 |
9 |
10 | 所选城市为:{{city}}
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
43 |
44 |
56 |
--------------------------------------------------------------------------------
/pages/extUI/data-indexed-list/data-indexed-list.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
18 |
19 |
--------------------------------------------------------------------------------
/pages/extUI/dateformat/dateformat.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 日期格式化组件,通常用于需要展示友好的日期格式的场景。
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
40 |
41 |
48 |
--------------------------------------------------------------------------------
/pages/extUI/indexed-list/indexed-list.nvue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/pages/extUI/link/link.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 超链接组件,在小程序内复制url,在app内打开外部浏览器,在h5端打开新网页。
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
19 |
20 |
21 | 点击跳转
23 |
24 |
25 |
26 |
27 |
35 |
36 |
38 |
--------------------------------------------------------------------------------
/pages/template/component-communication/bus.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 |
3 | export default new Vue()
--------------------------------------------------------------------------------
/pages/template/component-communication/component-communication.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
34 |
35 |
37 |
--------------------------------------------------------------------------------
/pages/template/component-communication/reciver.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{msg===''?'等待发送':'收到消息:'}}{{msg}}
5 |
6 |
7 |
8 |
9 |
29 |
30 |
37 |
--------------------------------------------------------------------------------
/pages/template/component-communication/sender-bus.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
19 |
20 |
25 |
--------------------------------------------------------------------------------
/pages/template/component-communication/sender.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
19 |
20 |
25 |
--------------------------------------------------------------------------------
/pages/template/nav-button/nav-button.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 说明 :
7 |
8 | 在App端可在pages.json里配置buttons,暂不支持动态改变buttons的样式,使用onNavigationBarButtonTap可监听buttons的点击事件。
9 | 在小程序端,不支持配置buttons,故按钮不见了。
10 |
11 |
12 |
13 |
14 |
29 |
30 |
33 |
--------------------------------------------------------------------------------
/pages/template/nav-default/nav-default.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 本页标题栏是uni-app的默认配置,开发者可在pages.json里配置文字内容及标题颜色,也可通过api接口将其改变。
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
44 |
45 |
47 |
--------------------------------------------------------------------------------
/pages/template/nav-image/nav-image.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 说明 :
7 |
8 | 在App端可在pages.json里通过 style -> titleImage 配置,支付宝小程序只支持https地址的图片,暂不支持动态改变;常用于App首页顶部导航显示产品Logo。
9 | 在支付宝小程序里请使用真机调试查看效果。
10 |
11 |
12 |
13 |
14 |
23 |
24 |
27 |
--------------------------------------------------------------------------------
/pages/template/pinia/pinia.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 当前计数:{{ counter.count }}
5 | 计数翻倍:{{ counter.doubleCount }}
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
33 |
--------------------------------------------------------------------------------
/pages/template/renderjs/renderjs.test.js:
--------------------------------------------------------------------------------
1 | describe('renderjs', () => {
2 | let page, btns;
3 | if (process.env.UNI_PLATFORM === "mp-weixin") {
4 | // renderjs仅支持App和H5
5 | it('is mp-weixin', async () => {
6 | expect(1).toBe(1)
7 | })
8 | return
9 | }
10 | beforeAll(async () => {
11 | page = await program.reLaunch('/pages/template/renderjs/renderjs')
12 | await page.waitFor('view');
13 | btns = await page.$$('button');
14 | });
15 | it('check page data', async () => {
16 | const data1 = await page.$('.renderjs');
17 | expect(await data1.text()).toEqual('serviceData');
18 | });
19 | it('callMethod renderjs', async () => {
20 | await btns[0].tap();
21 | await page.waitFor(300);
22 | const data2 = await page.$('.renderjs');
23 | expect(await data2.text()).toEqual('renderjsData');
24 | });
25 | it('callMethod service', async () => {
26 | await btns[1].tap();
27 | await page.waitFor(300);
28 | const data3 = await page.$('.renderjs');
29 | expect(await data3.text()).toEqual('serviceData改变了');
30 | });
31 | if (process.env.UNI_PLATFORM === "h5") {
32 | it('trigger getServiceData', async () => {
33 | expect(await page.data('newValue')).toEqual('serviceData改变了');
34 | expect(await page.data('oldValue')).toEqual('renderjsData');
35 | });
36 | }
37 |
38 | });
39 |
--------------------------------------------------------------------------------
/pages/template/swiper-list/swiper-page.nvue:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tab View {{ pid}}
4 |
5 |
6 |
7 |
32 |
33 |
46 |
--------------------------------------------------------------------------------
/pages/template/tabbar/detail/detail.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 这是选项卡页面跳转详情页面的演示,下面是页面跳转时传递过来的标题:
5 | {{title}}
6 |
7 |
8 |
9 |
21 |
23 |
--------------------------------------------------------------------------------
/pages/template/vant-button/vant-button.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | uni-app支持在微信小程序、QQ小程序端、App端、H5端引入微信小程序自定义组件。以下以vant weapp组件为例演示
7 |
8 |
9 |
10 | vant weapp的van-button按钮组件
11 |
12 |
13 |
14 |
15 |
35 |
36 |
39 |
--------------------------------------------------------------------------------
/pages/template/vuex-nvue/vuex-nvue.nvue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 用户名:{{username}}
5 | 性别:{{sex}}
6 | 年龄:{{age}}
7 | 年龄翻倍:{{doubleAge}}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
57 |
--------------------------------------------------------------------------------
/pages/template/vuex-vue/vuex-vue.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 用户名:{{username}}
5 | 性别:{{sex}}
6 | 年龄:{{age}}
7 | 年龄翻倍:{{doubleAge}}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
54 |
--------------------------------------------------------------------------------
/static/60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/60x60.png
--------------------------------------------------------------------------------
/static/api.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/api.png
--------------------------------------------------------------------------------
/static/apiHL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/apiHL.png
--------------------------------------------------------------------------------
/static/apiIndex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/apiIndex.png
--------------------------------------------------------------------------------
/static/app-plus/location@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/app-plus/location@3x.png
--------------------------------------------------------------------------------
/static/app-plus/uni@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/app-plus/uni@2x.png
--------------------------------------------------------------------------------
/static/c1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c1.png
--------------------------------------------------------------------------------
/static/c2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c2.png
--------------------------------------------------------------------------------
/static/c3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c3.png
--------------------------------------------------------------------------------
/static/c4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c4.png
--------------------------------------------------------------------------------
/static/c5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c5.png
--------------------------------------------------------------------------------
/static/c6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c6.png
--------------------------------------------------------------------------------
/static/c7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c7.png
--------------------------------------------------------------------------------
/static/c8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c8.png
--------------------------------------------------------------------------------
/static/c9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/c9.png
--------------------------------------------------------------------------------
/static/compass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/compass.png
--------------------------------------------------------------------------------
/static/component.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/component.png
--------------------------------------------------------------------------------
/static/componentHL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/componentHL.png
--------------------------------------------------------------------------------
/static/componentIndex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/componentIndex.png
--------------------------------------------------------------------------------
/static/customicons.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: "customicons"; /* Project id 2878519 */
3 | src:url('/static/customicons.ttf') format('truetype');
4 | }
5 |
6 | .customicons {
7 | font-family: "customicons" !important;
8 | }
9 |
10 | .youxi:before {
11 | content: "\e60e";
12 | }
13 |
14 | .wenjian:before {
15 | content: "\e60f";
16 | }
17 |
18 | .zhuanfa:before {
19 | content: "\e610";
20 | }
21 |
--------------------------------------------------------------------------------
/static/customicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/customicons.ttf
--------------------------------------------------------------------------------
/static/extui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/extui.png
--------------------------------------------------------------------------------
/static/extuiHL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/extuiHL.png
--------------------------------------------------------------------------------
/static/extuiIndex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/extuiIndex.png
--------------------------------------------------------------------------------
/static/font/Pacifico-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/font/Pacifico-Regular.ttf
--------------------------------------------------------------------------------
/static/home-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/home-active.png
--------------------------------------------------------------------------------
/static/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/home.png
--------------------------------------------------------------------------------
/static/iconfont.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: "iconfont"; /* Project id */
3 | src: url('@/static/iconfont.ttf') format('truetype');
4 | }
5 |
6 | .iconfont {
7 | font-family: "iconfont" !important;
8 | font-size: 16px;
9 | font-style: normal;
10 | -webkit-font-smoothing: antialiased;
11 | -moz-osx-font-smoothing: grayscale;
12 | }
13 |
14 | .icon-link:before {
15 | content: "\e772";
16 | }
17 |
18 | .icon-poweroff:before {
19 | content: "\e774";
20 | }
21 |
22 | .icon-safety-certificate:before {
23 | content: "\e776";
24 | }
25 |
26 | .icon-chart-pie-alt:before {
27 | content: "\e78c";
28 | }
29 |
30 | .icon-kongxincai:before {
31 | content: "\e642";
32 | }
33 |
--------------------------------------------------------------------------------
/static/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/iconfont.ttf
--------------------------------------------------------------------------------
/static/icons/badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/badge.png
--------------------------------------------------------------------------------
/static/icons/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/button.png
--------------------------------------------------------------------------------
/static/icons/calendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/calendar.png
--------------------------------------------------------------------------------
/static/icons/card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/card.png
--------------------------------------------------------------------------------
/static/icons/collapse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/collapse.png
--------------------------------------------------------------------------------
/static/icons/color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/color.png
--------------------------------------------------------------------------------
/static/icons/combox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/combox.png
--------------------------------------------------------------------------------
/static/icons/countdown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/countdown.png
--------------------------------------------------------------------------------
/static/icons/data-checkbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/data-checkbox.png
--------------------------------------------------------------------------------
/static/icons/data-picker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/data-picker.png
--------------------------------------------------------------------------------
/static/icons/dateformat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/dateformat.png
--------------------------------------------------------------------------------
/static/icons/datetime-picker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/datetime-picker.png
--------------------------------------------------------------------------------
/static/icons/drawer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/drawer.png
--------------------------------------------------------------------------------
/static/icons/easyinput.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/easyinput.png
--------------------------------------------------------------------------------
/static/icons/fab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/fab.png
--------------------------------------------------------------------------------
/static/icons/fav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/fav.png
--------------------------------------------------------------------------------
/static/icons/file-picker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/file-picker.png
--------------------------------------------------------------------------------
/static/icons/font.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/font.png
--------------------------------------------------------------------------------
/static/icons/forms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/forms.png
--------------------------------------------------------------------------------
/static/icons/goods-nav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/goods-nav.png
--------------------------------------------------------------------------------
/static/icons/grid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/grid.png
--------------------------------------------------------------------------------
/static/icons/group.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/group.png
--------------------------------------------------------------------------------
/static/icons/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/icons.png
--------------------------------------------------------------------------------
/static/icons/indexed-list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/indexed-list.png
--------------------------------------------------------------------------------
/static/icons/link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/link.png
--------------------------------------------------------------------------------
/static/icons/list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/list.png
--------------------------------------------------------------------------------
/static/icons/load-more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/load-more.png
--------------------------------------------------------------------------------
/static/icons/nav-bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/nav-bar.png
--------------------------------------------------------------------------------
/static/icons/notice-bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/notice-bar.png
--------------------------------------------------------------------------------
/static/icons/number-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/number-box.png
--------------------------------------------------------------------------------
/static/icons/pagination.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/pagination.png
--------------------------------------------------------------------------------
/static/icons/popup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/popup.png
--------------------------------------------------------------------------------
/static/icons/radius.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/radius.png
--------------------------------------------------------------------------------
/static/icons/rate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/rate.png
--------------------------------------------------------------------------------
/static/icons/row.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/row.png
--------------------------------------------------------------------------------
/static/icons/search-bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/search-bar.png
--------------------------------------------------------------------------------
/static/icons/section.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/section.png
--------------------------------------------------------------------------------
/static/icons/segmented-control.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/segmented-control.png
--------------------------------------------------------------------------------
/static/icons/space.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/space.png
--------------------------------------------------------------------------------
/static/icons/steps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/steps.png
--------------------------------------------------------------------------------
/static/icons/swipe-action.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/swipe-action.png
--------------------------------------------------------------------------------
/static/icons/swiper-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/swiper-dot.png
--------------------------------------------------------------------------------
/static/icons/tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/tag.png
--------------------------------------------------------------------------------
/static/icons/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/title.png
--------------------------------------------------------------------------------
/static/icons/transition.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/icons/transition.png
--------------------------------------------------------------------------------
/static/image-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/image-active.png
--------------------------------------------------------------------------------
/static/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/image.png
--------------------------------------------------------------------------------
/static/image/uniui-header-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/image/uniui-header-bg.png
--------------------------------------------------------------------------------
/static/image/uniui-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/image/uniui-logo.png
--------------------------------------------------------------------------------
/static/location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/location.png
--------------------------------------------------------------------------------
/static/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/logo.png
--------------------------------------------------------------------------------
/static/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/menu.png
--------------------------------------------------------------------------------
/static/nav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/nav.png
--------------------------------------------------------------------------------
/static/pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/pause.png
--------------------------------------------------------------------------------
/static/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/play.png
--------------------------------------------------------------------------------
/static/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/plus.png
--------------------------------------------------------------------------------
/static/record.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/record.png
--------------------------------------------------------------------------------
/static/shuijiao.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/shuijiao.jpg
--------------------------------------------------------------------------------
/static/star-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/star-active.png
--------------------------------------------------------------------------------
/static/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/star.png
--------------------------------------------------------------------------------
/static/stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/stop.png
--------------------------------------------------------------------------------
/static/template.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/template.png
--------------------------------------------------------------------------------
/static/templateHL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/templateHL.png
--------------------------------------------------------------------------------
/static/templateIndex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/templateIndex.png
--------------------------------------------------------------------------------
/static/trash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/trash.png
--------------------------------------------------------------------------------
/static/uni.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/uni.png
--------------------------------------------------------------------------------
/static/uni.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dcloudio/hello-uniapp/396be09a7b41a76e3dd9b52a56a6df645446c5c3/static/uni.ttf
--------------------------------------------------------------------------------
/store/counter.js:
--------------------------------------------------------------------------------
1 | import { defineStore } from 'pinia'
2 | export const useCounterStore = defineStore('counter', {
3 | state: () => ({
4 | count: 0
5 | }),
6 | getters: {
7 | doubleCount: (state) => state.count * 2
8 | },
9 | actions: {
10 | increment() {
11 | this.count++
12 | },
13 | decrement() {
14 | this.count--
15 | }
16 | }
17 | })
18 |
--------------------------------------------------------------------------------
/uni_modules/uni-badge/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.2.2(2023-01-28)
2 | - 修复 运行/打包 控制台警告问题
3 | ## 1.2.1(2022-09-05)
4 | - 修复 当 text 超过 max-num 时,badge 的宽度计算是根据 text 的长度计算,更改为 css 计算实际展示宽度,详见:[https://ask.dcloud.net.cn/question/150473](https://ask.dcloud.net.cn/question/150473)
5 | ## 1.2.0(2021-11-19)
6 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
7 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-badge](https://uniapp.dcloud.io/component/uniui/uni-badge)
8 | ## 1.1.7(2021-11-08)
9 | - 优化 升级ui
10 | - 修改 size 属性默认值调整为 small
11 | - 修改 type 属性,默认值调整为 error,info 替换 default
12 | ## 1.1.6(2021-09-22)
13 | - 修复 在字节小程序上样式不生效的 bug
14 | ## 1.1.5(2021-07-30)
15 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
16 | ## 1.1.4(2021-07-29)
17 | - 修复 去掉 nvue 不支持css 的 align-self 属性,nvue 下不暂支持 absolute 属性
18 | ## 1.1.3(2021-06-24)
19 | - 优化 示例项目
20 | ## 1.1.1(2021-05-12)
21 | - 新增 组件示例地址
22 | ## 1.1.0(2021-05-12)
23 | - 新增 uni-badge 的 absolute 属性,支持定位
24 | - 新增 uni-badge 的 offset 属性,支持定位偏移
25 | - 新增 uni-badge 的 is-dot 属性,支持仅显示有一个小点
26 | - 新增 uni-badge 的 max-num 属性,支持自定义封顶的数字值,超过 99 显示99+
27 | - 优化 uni-badge 属性 custom-style, 支持以对象形式自定义样式
28 | ## 1.0.7(2021-05-07)
29 | - 修复 uni-badge 在 App 端,数字小于10时不是圆形的bug
30 | - 修复 uni-badge 在父元素不是 flex 布局时,宽度缩小的bug
31 | - 新增 uni-badge 属性 custom-style, 支持自定义样式
32 | ## 1.0.6(2021-02-04)
33 | - 调整为uni_modules目录规范
34 |
--------------------------------------------------------------------------------
/uni_modules/uni-badge/readme.md:
--------------------------------------------------------------------------------
1 | ## Badge 数字角标
2 | > **组件名:uni-badge**
3 | > 代码块: `uBadge`
4 |
5 | 数字角标一般和其它控件(列表、9宫格等)配合使用,用于进行数量提示,默认为实心灰色背景,
6 |
7 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-badge)
8 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
9 |
10 |
11 |
--------------------------------------------------------------------------------
/uni_modules/uni-breadcrumb/changelog.md:
--------------------------------------------------------------------------------
1 | ## 0.1.2(2022-06-08)
2 | - 修复 微信小程序 separator 不显示问题
3 | ## 0.1.1(2022-06-02)
4 | - 新增 支持 uni.scss 修改颜色
5 | ## 0.1.0(2022-04-21)
6 | - 初始化
7 |
--------------------------------------------------------------------------------
/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
37 |
42 |
--------------------------------------------------------------------------------
/uni_modules/uni-calendar/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.4.12(2024-09-21)
2 | - 修复 calendar在选择日期范围后重新选择日期需要点两次的Bug
3 | ## 1.4.11(2024-01-10)
4 | - 修复 回到今天时,月份显示不一致问题
5 | ## 1.4.10(2023-04-10)
6 | - 修复 某些情况 monthSwitch 未触发的Bug
7 | ## 1.4.9(2023-02-02)
8 | - 修复 某些情况切换月份错误的Bug
9 | ## 1.4.8(2023-01-30)
10 | - 修复 某些情况切换月份错误的Bug [详情](https://ask.dcloud.net.cn/question/161964)
11 | ## 1.4.7(2022-09-16)
12 | - 优化 支持使用 uni-scss 控制主题色
13 | ## 1.4.6(2022-09-08)
14 | - 修复 表头年月切换,导致改变当前日期为选择月1号,且未触发change事件的Bug
15 | ## 1.4.5(2022-02-25)
16 | - 修复 条件编译 nvue 不支持的 css 样式的Bug
17 | ## 1.4.4(2022-02-25)
18 | - 修复 条件编译 nvue 不支持的 css 样式的Bug
19 | ## 1.4.3(2021-09-22)
20 | - 修复 startDate、 endDate 属性失效的Bug
21 | ## 1.4.2(2021-08-24)
22 | - 新增 支持国际化
23 | ## 1.4.1(2021-08-05)
24 | - 修复 弹出层被 tabbar 遮盖的Bug
25 | ## 1.4.0(2021-07-30)
26 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
27 | ## 1.3.16(2021-05-12)
28 | - 新增 组件示例地址
29 | ## 1.3.15(2021-02-04)
30 | - 调整为uni_modules目录规范
31 |
--------------------------------------------------------------------------------
/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-calender.ok": "ok",
3 | "uni-calender.cancel": "cancel",
4 | "uni-calender.today": "today",
5 | "uni-calender.MON": "MON",
6 | "uni-calender.TUE": "TUE",
7 | "uni-calender.WED": "WED",
8 | "uni-calender.THU": "THU",
9 | "uni-calender.FRI": "FRI",
10 | "uni-calender.SAT": "SAT",
11 | "uni-calender.SUN": "SUN"
12 | }
13 |
--------------------------------------------------------------------------------
/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js:
--------------------------------------------------------------------------------
1 | import en from './en.json'
2 | import zhHans from './zh-Hans.json'
3 | import zhHant from './zh-Hant.json'
4 | export default {
5 | en,
6 | 'zh-Hans': zhHans,
7 | 'zh-Hant': zhHant
8 | }
9 |
--------------------------------------------------------------------------------
/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-calender.ok": "确定",
3 | "uni-calender.cancel": "取消",
4 | "uni-calender.today": "今日",
5 | "uni-calender.SUN": "日",
6 | "uni-calender.MON": "一",
7 | "uni-calender.TUE": "二",
8 | "uni-calender.WED": "三",
9 | "uni-calender.THU": "四",
10 | "uni-calender.FRI": "五",
11 | "uni-calender.SAT": "六"
12 | }
13 |
--------------------------------------------------------------------------------
/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-calender.ok": "確定",
3 | "uni-calender.cancel": "取消",
4 | "uni-calender.today": "今日",
5 | "uni-calender.SUN": "日",
6 | "uni-calender.MON": "一",
7 | "uni-calender.TUE": "二",
8 | "uni-calender.WED": "三",
9 | "uni-calender.THU": "四",
10 | "uni-calender.FRI": "五",
11 | "uni-calender.SAT": "六"
12 | }
13 |
--------------------------------------------------------------------------------
/uni_modules/uni-card/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.3.1(2021-12-20)
2 | - 修复 在vue页面下略缩图显示不正常的bug
3 | ## 1.3.0(2021-11-19)
4 | - 重构插槽的用法 ,header 替换为 title
5 | - 新增 actions 插槽
6 | - 新增 cover 封面图属性和插槽
7 | - 新增 padding 内容默认内边距离
8 | - 新增 margin 卡片默认外边距离
9 | - 新增 spacing 卡片默认内边距
10 | - 新增 shadow 卡片阴影属性
11 | - 取消 mode 属性,可使用组合插槽代替
12 | - 取消 note 属性 ,使用actions插槽代替
13 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
14 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-card](https://uniapp.dcloud.io/component/uniui/uni-card)
15 | ## 1.2.1(2021-07-30)
16 | - 优化 vue3下事件警告的问题
17 | ## 1.2.0(2021-07-13)
18 | - 组件兼容 vue3,如何创建vue3项目详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
19 | ## 1.1.8(2021-07-01)
20 | - 优化 图文卡片无图片加载时,提供占位图标
21 | - 新增 header 插槽,自定义卡片头部( 图文卡片 mode="style" 时,不支持)
22 | - 修复 thumbnail 不存在仍然占位的 bug
23 | ## 1.1.7(2021-05-12)
24 | - 新增 组件示例地址
25 | ## 1.1.6(2021-02-04)
26 | - 调整为uni_modules目录规范
27 |
--------------------------------------------------------------------------------
/uni_modules/uni-card/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Card 卡片
4 | > **组件名:uni-card**
5 | > 代码块: `uCard`
6 |
7 | 卡片视图组件。
8 |
9 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-card)
10 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
11 |
12 |
13 |
--------------------------------------------------------------------------------
/uni_modules/uni-collapse/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.4.4(2024-03-20)
2 | - 修复 titleBorder类型修正
3 | ## 1.4.3(2022-01-25)
4 | - 修复 初始化的时候 ,open 属性失效的bug
5 | ## 1.4.2(2022-01-21)
6 | - 修复 微信小程序resize后组件收起的bug
7 | ## 1.4.1(2021-11-22)
8 | - 修复 vue3中个别scss变量无法找到的问题
9 | ## 1.4.0(2021-11-19)
10 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
11 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-collapse](https://uniapp.dcloud.io/component/uniui/uni-collapse)
12 | ## 1.3.3(2021-08-17)
13 | - 优化 show-arrow 属性默认为true
14 | ## 1.3.2(2021-08-17)
15 | - 新增 show-arrow 属性,控制是否显示右侧箭头
16 | ## 1.3.1(2021-07-30)
17 | - 优化 vue3下小程序事件警告的问题
18 | ## 1.3.0(2021-07-30)
19 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
20 | ## 1.2.2(2021-07-21)
21 | - 修复 由1.2.0版本引起的 change 事件返回 undefined 的Bug
22 | ## 1.2.1(2021-07-21)
23 | - 优化 组件示例
24 | ## 1.2.0(2021-07-21)
25 | - 新增 组件折叠动画
26 | - 新增 value\v-model 属性 ,动态修改面板折叠状态
27 | - 新增 title 插槽 ,可定义面板标题
28 | - 新增 border 属性 ,显示隐藏面板内容分隔线
29 | - 新增 title-border 属性 ,显示隐藏面板标题分隔线
30 | - 修复 resize 方法失效的Bug
31 | - 修复 change 事件返回参数不正确的Bug
32 | - 优化 H5、App 平台自动更具内容更新高度,无需调用 reszie() 方法
33 | ## 1.1.7(2021-05-12)
34 | - 新增 组件示例地址
35 | ## 1.1.6(2021-02-05)
36 | - 优化 组件引用关系,通过uni_modules引用组件
37 | ## 1.1.5(2021-02-05)
38 | - 调整为uni_modules目录规范
--------------------------------------------------------------------------------
/uni_modules/uni-collapse/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Collapse 折叠面板
4 | > **组件名:uni-collapse**
5 | > 代码块: `uCollapse`
6 | > 关联组件:`uni-collapse-item`、`uni-icons`。
7 |
8 |
9 | 折叠面板用来折叠/显示过长的内容或者是列表。通常是在多内容分类项使用,折叠不重要的内容,显示重要内容。点击可以展开折叠部分。
10 |
11 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-collapse)
12 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-combox/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.0.2(2024-09-21)
2 | - 新增 clearAble属性
3 | ## 1.0.1(2021-11-23)
4 | - 优化 label、label-width 属性
5 | ## 1.0.0(2021-11-19)
6 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
7 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-combox](https://uniapp.dcloud.io/component/uniui/uni-combox)
8 | ## 0.1.0(2021-07-30)
9 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
10 | ## 0.0.6(2021-05-12)
11 | - 新增 组件示例地址
12 | ## 0.0.5(2021-04-21)
13 | - 优化 添加依赖 uni-icons, 导入后自动下载依赖
14 | ## 0.0.4(2021-02-05)
15 | - 优化 组件引用关系,通过uni_modules引用组件
16 | ## 0.0.3(2021-02-04)
17 | - 调整为uni_modules目录规范
18 |
--------------------------------------------------------------------------------
/uni_modules/uni-combox/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Combox 组合框
4 | > **组件名:uni-combox**
5 | > 代码块: `uCombox`
6 |
7 |
8 | 组合框组件。
9 |
10 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-combox)
11 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-config-center/changelog.md:
--------------------------------------------------------------------------------
1 | ## 0.0.3(2022-11-11)
2 | - 修复 config 方法获取根节点为数组格式配置时错误的转化为了对象的Bug
3 | ## 0.0.2(2021-04-16)
4 | - 修改插件package信息
5 | ## 0.0.1(2021-03-15)
6 | - 初始化项目
7 |
--------------------------------------------------------------------------------
/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "uni-config-center",
3 | "version": "0.0.3",
4 | "description": "配置中心",
5 | "main": "index.js",
6 | "keywords": [],
7 | "author": "DCloud",
8 | "license": "Apache-2.0",
9 | "origin-plugin-dev-name": "uni-config-center",
10 | "origin-plugin-version": "0.0.3",
11 | "plugin-dev-name": "uni-config-center",
12 | "plugin-version": "0.0.3"
13 | }
--------------------------------------------------------------------------------
/uni_modules/uni-countdown/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.2.4(2024-09-21)
2 | - 新增 支持控制显示位数 默认显示2位
3 | ## 1.2.3(2024-02-20)
4 | - 新增 支持控制小时,分钟的显隐:showHour showMinute
5 | ## 1.2.2(2022-01-19)
6 | - 修复 在微信小程序中样式不生效的bug
7 | ## 1.2.1(2022-01-18)
8 | - 新增 update 方法 ,在动态更新时间后,刷新组件
9 | ## 1.2.0(2021-11-19)
10 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
11 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-countdown](https://uniapp.dcloud.io/component/uniui/uni-countdown)
12 | ## 1.1.3(2021-10-18)
13 | - 重构
14 | - 新增 font-size 支持自定义字体大小
15 | ## 1.1.2(2021-08-24)
16 | - 新增 支持国际化
17 | ## 1.1.1(2021-07-30)
18 | - 优化 vue3下小程序事件警告的问题
19 | ## 1.1.0(2021-07-30)
20 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
21 | ## 1.0.5(2021-06-18)
22 | - 修复 uni-countdown 重复赋值跳两秒的 bug
23 | ## 1.0.4(2021-05-12)
24 | - 新增 组件示例地址
25 | ## 1.0.3(2021-05-08)
26 | - 修复 uni-countdown 不能控制倒计时的 bug
27 | ## 1.0.2(2021-02-04)
28 | - 调整为uni_modules目录规范
29 |
--------------------------------------------------------------------------------
/uni_modules/uni-countdown/components/uni-countdown/i18n/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-countdown.day": "day",
3 | "uni-countdown.h": "h",
4 | "uni-countdown.m": "m",
5 | "uni-countdown.s": "s"
6 | }
7 |
--------------------------------------------------------------------------------
/uni_modules/uni-countdown/components/uni-countdown/i18n/index.js:
--------------------------------------------------------------------------------
1 | import en from './en.json'
2 | import zhHans from './zh-Hans.json'
3 | import zhHant from './zh-Hant.json'
4 | export default {
5 | en,
6 | 'zh-Hans': zhHans,
7 | 'zh-Hant': zhHant
8 | }
9 |
--------------------------------------------------------------------------------
/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-countdown.day": "天",
3 | "uni-countdown.h": "时",
4 | "uni-countdown.m": "分",
5 | "uni-countdown.s": "秒"
6 | }
7 |
--------------------------------------------------------------------------------
/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-countdown.day": "天",
3 | "uni-countdown.h": "時",
4 | "uni-countdown.m": "分",
5 | "uni-countdown.s": "秒"
6 | }
7 |
--------------------------------------------------------------------------------
/uni_modules/uni-countdown/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## CountDown 倒计时
4 | > **组件名:uni-countdown**
5 | > 代码块: `uCountDown`
6 |
7 | 倒计时组件。
8 |
9 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-countdown)
10 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-data-checkbox/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## DataCheckbox 数据驱动的单选复选框
4 | > **组件名:uni-data-checkbox**
5 | > 代码块: `uDataCheckbox`
6 |
7 |
8 | 本组件是基于uni-app基础组件checkbox的封装。本组件要解决问题包括:
9 |
10 | 1. 数据绑定型组件:给本组件绑定一个data,会自动渲染一组候选内容。再以往,开发者需要编写不少代码实现类似功能
11 | 2. 自动的表单校验:组件绑定了data,且符合[uni-forms](https://ext.dcloud.net.cn/plugin?id=2773)组件的表单校验规范,搭配使用会自动实现表单校验
12 | 3. 本组件合并了单选多选
13 | 4. 本组件有若干风格选择,如普通的单选多选框、并列button风格、tag风格。开发者可以快速选择需要的风格。但作为一个封装组件,样式代码虽然不用自己写了,却会牺牲一定的样式自定义性
14 |
15 | 在uniCloud开发中,`DB Schema`中配置了enum枚举等类型后,在web控制台的[自动生成表单](https://uniapp.dcloud.io/uniCloud/schema?id=autocode)功能中,会自动生成``uni-data-checkbox``组件并绑定好data
16 |
17 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-checkbox)
18 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-data-picker/components/uni-data-picker/keypress.js:
--------------------------------------------------------------------------------
1 | // #ifdef H5
2 | export default {
3 | name: 'Keypress',
4 | props: {
5 | disable: {
6 | type: Boolean,
7 | default: false
8 | }
9 | },
10 | mounted () {
11 | const keyNames = {
12 | esc: ['Esc', 'Escape'],
13 | tab: 'Tab',
14 | enter: 'Enter',
15 | space: [' ', 'Spacebar'],
16 | up: ['Up', 'ArrowUp'],
17 | left: ['Left', 'ArrowLeft'],
18 | right: ['Right', 'ArrowRight'],
19 | down: ['Down', 'ArrowDown'],
20 | delete: ['Backspace', 'Delete', 'Del']
21 | }
22 | const listener = ($event) => {
23 | if (this.disable) {
24 | return
25 | }
26 | const keyName = Object.keys(keyNames).find(key => {
27 | const keyName = $event.key
28 | const value = keyNames[key]
29 | return value === keyName || (Array.isArray(value) && value.includes(keyName))
30 | })
31 | if (keyName) {
32 | // 避免和其他按键事件冲突
33 | setTimeout(() => {
34 | this.$emit(keyName, {})
35 | }, 0)
36 | }
37 | }
38 | document.addEventListener('keyup', listener)
39 | this.$once('hook:beforeDestroy', () => {
40 | document.removeEventListener('keyup', listener)
41 | })
42 | },
43 | render: () => {}
44 | }
45 | // #endif
46 |
--------------------------------------------------------------------------------
/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.css:
--------------------------------------------------------------------------------
1 | .uni-data-pickerview {
2 | position: relative;
3 | flex-direction: column;
4 | overflow: hidden;
5 | }
6 |
7 | .loading-cover {
8 | position: absolute;
9 | left: 0;
10 | top: 0;
11 | right: 0;
12 | bottom: 0;
13 | align-items: center;
14 | justify-content: center;
15 | background-color: rgba(150, 150, 150, .1);
16 | }
17 |
18 | .error {
19 | background-color: #fff;
20 | padding: 15px;
21 | }
22 |
23 | .error-text {
24 | color: #DD524D;
25 | }
26 |
27 | .selected-node-list {
28 | flex-direction: row;
29 | flex-wrap: nowrap;
30 | }
31 |
32 | .selected-node-item {
33 | margin-left: 10px;
34 | margin-right: 10px;
35 | padding: 8px 10px 8px 10px;
36 | border-bottom: 2px solid transparent;
37 | }
38 |
39 | .selected-node-item-active {
40 | color: #007aff;
41 | border-bottom-color: #007aff;
42 | }
43 |
44 | .list-view {
45 | flex: 1;
46 | }
47 |
48 | .list-item {
49 | flex-direction: row;
50 | justify-content: space-between;
51 | padding: 12px 15px;
52 | border-bottom: 1px solid #f0f0f0;
53 | }
54 |
55 | .item-text {
56 | color: #333333;
57 | }
58 |
59 | .item-text-disabled {
60 | opacity: .5;
61 | }
62 |
63 | .item-text-overflow {
64 | overflow: hidden;
65 | }
66 |
67 | .check {
68 | margin-right: 5px;
69 | border: 2px solid #007aff;
70 | border-left: 0;
71 | border-top: 0;
72 | height: 12px;
73 | width: 6px;
74 | transform-origin: center;
75 | transform: rotate(45deg);
76 | }
77 |
--------------------------------------------------------------------------------
/uni_modules/uni-data-picker/readme.md:
--------------------------------------------------------------------------------
1 | ## DataPicker 级联选择
2 | > **组件名:uni-data-picker**
3 | > 代码块: `uDataPicker`
4 | > 关联组件:`uni-data-pickerview`、`uni-load-more`。
5 |
6 |
7 | `` 是一个选择类[datacom组件](https://uniapp.dcloud.net.cn/component/datacom)。
8 |
9 | 支持单列、和多列级联选择。列数没有限制,如果屏幕显示不全,顶部tab区域会左右滚动。
10 |
11 | 候选数据支持一次性加载完毕,也支持懒加载,比如示例图中,选择了“北京”后,动态加载北京的区县数据。
12 |
13 | `` 组件尤其适用于地址选择、分类选择等选择类。
14 |
15 | `` 支持本地数据、云端静态数据(json),uniCloud云数据库数据。
16 |
17 | `` 可以通过JQL直连uniCloud云数据库,配套[DB Schema](https://uniapp.dcloud.net.cn/uniCloud/schema),可在schema2code中自动生成前端页面,还支持服务器端校验。
18 |
19 | 在uniCloud数据表中新建表“uni-id-address”和“opendb-city-china”,这2个表的schema自带foreignKey关联。在“uni-id-address”表的表结构页面使用schema2code生成前端页面,会自动生成地址管理的维护页面,自动从“opendb-city-china”表包含的中国所有省市区信息里选择地址。
20 |
21 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-picker)
22 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-data-select/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.0.8(2024-03-28)
2 | - 修复 在vue2下:style动态绑定导致编译失败的bug
3 | ## 1.0.7(2024-01-20)
4 | - 修复 长文本回显超过容器的bug,超过容器部分显示省略号
5 | ## 1.0.6(2023-04-12)
6 | - 修复 微信小程序点击时会改变背景颜色的 bug
7 | ## 1.0.5(2023-02-03)
8 | - 修复 禁用时会显示清空按钮
9 | ## 1.0.4(2023-02-02)
10 | - 优化 查询条件短期内多次变更只查询最后一次变更后的结果
11 | - 调整 内部缓存键名调整为 uni-data-select-lastSelectedValue
12 | ## 1.0.3(2023-01-16)
13 | - 修复 不关联服务空间报错的问题
14 | ## 1.0.2(2023-01-14)
15 | - 新增 属性 `format` 可用于格式化显示选项内容
16 | ## 1.0.1(2022-12-06)
17 | - 修复 当where变化时,数据不会自动更新的问题
18 | ## 0.1.9(2022-09-05)
19 | - 修复 微信小程序下拉框出现后选择会点击到蒙板后面的输入框
20 | ## 0.1.8(2022-08-29)
21 | - 修复 点击的位置不准确
22 | ## 0.1.7(2022-08-12)
23 | - 新增 支持 disabled 属性
24 | ## 0.1.6(2022-07-06)
25 | - 修复 pc端宽度异常的bug
26 | ## 0.1.5
27 | - 修复 pc端宽度异常的bug
28 | ## 0.1.4(2022-07-05)
29 | - 优化 显示样式
30 | ## 0.1.3(2022-06-02)
31 | - 修复 localdata 赋值不生效的 bug
32 | - 新增 支持 uni.scss 修改颜色
33 | - 新增 支持选项禁用(数据选项设置 disabled: true 即禁用)
34 | ## 0.1.2(2022-05-08)
35 | - 修复 当 value 为 0 时选择不生效的 bug
36 | ## 0.1.1(2022-05-07)
37 | - 新增 记住上次的选项(仅 collection 存在时有效)
38 | ## 0.1.0(2022-04-22)
39 | - 初始化
40 |
--------------------------------------------------------------------------------
/uni_modules/uni-data-select/readme.md:
--------------------------------------------------------------------------------
1 | ## DataSelect 下拉框选择器
2 | > **组件名:uni-data-select**
3 | > 代码块: `uDataSelect`
4 |
5 | 当选项过多时,使用下拉菜单展示并选择内容
6 |
7 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-select)
8 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
9 |
--------------------------------------------------------------------------------
/uni_modules/uni-dateformat/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.0.0(2021-11-19)
2 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
3 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-dateformat](https://uniapp.dcloud.io/component/uniui/uni-dateformat)
4 | ## 0.0.5(2021-07-08)
5 | - 调整 默认时间不再是当前时间,而是显示'-'字符
6 | ## 0.0.4(2021-05-12)
7 | - 新增 组件示例地址
8 | ## 0.0.3(2021-02-04)
9 | - 调整为uni_modules目录规范
10 | - 修复 iOS 平台日期格式化出错的问题
11 |
--------------------------------------------------------------------------------
/uni_modules/uni-dateformat/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ### DateFormat 日期格式化
4 | > **组件名:uni-dateformat**
5 | > 代码块: `uDateformat`
6 |
7 |
8 | 日期格式化组件。
9 |
10 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-dateformat)
11 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-datetime-picker.selectDate": "select date",
3 | "uni-datetime-picker.selectTime": "select time",
4 | "uni-datetime-picker.selectDateTime": "select date and time",
5 | "uni-datetime-picker.startDate": "start date",
6 | "uni-datetime-picker.endDate": "end date",
7 | "uni-datetime-picker.startTime": "start time",
8 | "uni-datetime-picker.endTime": "end time",
9 | "uni-datetime-picker.ok": "ok",
10 | "uni-datetime-picker.clear": "clear",
11 | "uni-datetime-picker.cancel": "cancel",
12 | "uni-datetime-picker.year": "-",
13 | "uni-datetime-picker.month": "",
14 | "uni-calender.MON": "MON",
15 | "uni-calender.TUE": "TUE",
16 | "uni-calender.WED": "WED",
17 | "uni-calender.THU": "THU",
18 | "uni-calender.FRI": "FRI",
19 | "uni-calender.SAT": "SAT",
20 | "uni-calender.SUN": "SUN",
21 | "uni-calender.confirm": "confirm"
22 | }
23 |
--------------------------------------------------------------------------------
/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js:
--------------------------------------------------------------------------------
1 | import en from './en.json'
2 | import zhHans from './zh-Hans.json'
3 | import zhHant from './zh-Hant.json'
4 | export default {
5 | en,
6 | 'zh-Hans': zhHans,
7 | 'zh-Hant': zhHant
8 | }
9 |
--------------------------------------------------------------------------------
/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-datetime-picker.selectDate": "选择日期",
3 | "uni-datetime-picker.selectTime": "选择时间",
4 | "uni-datetime-picker.selectDateTime": "选择日期时间",
5 | "uni-datetime-picker.startDate": "开始日期",
6 | "uni-datetime-picker.endDate": "结束日期",
7 | "uni-datetime-picker.startTime": "开始时间",
8 | "uni-datetime-picker.endTime": "结束时间",
9 | "uni-datetime-picker.ok": "确定",
10 | "uni-datetime-picker.clear": "清除",
11 | "uni-datetime-picker.cancel": "取消",
12 | "uni-datetime-picker.year": "年",
13 | "uni-datetime-picker.month": "月",
14 | "uni-calender.SUN": "日",
15 | "uni-calender.MON": "一",
16 | "uni-calender.TUE": "二",
17 | "uni-calender.WED": "三",
18 | "uni-calender.THU": "四",
19 | "uni-calender.FRI": "五",
20 | "uni-calender.SAT": "六",
21 | "uni-calender.confirm": "确认"
22 | }
--------------------------------------------------------------------------------
/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-datetime-picker.selectDate": "選擇日期",
3 | "uni-datetime-picker.selectTime": "選擇時間",
4 | "uni-datetime-picker.selectDateTime": "選擇日期時間",
5 | "uni-datetime-picker.startDate": "開始日期",
6 | "uni-datetime-picker.endDate": "結束日期",
7 | "uni-datetime-picker.startTime": "開始时间",
8 | "uni-datetime-picker.endTime": "結束时间",
9 | "uni-datetime-picker.ok": "確定",
10 | "uni-datetime-picker.clear": "清除",
11 | "uni-datetime-picker.cancel": "取消",
12 | "uni-datetime-picker.year": "年",
13 | "uni-datetime-picker.month": "月",
14 | "uni-calender.SUN": "日",
15 | "uni-calender.MON": "一",
16 | "uni-calender.TUE": "二",
17 | "uni-calender.WED": "三",
18 | "uni-calender.THU": "四",
19 | "uni-calender.FRI": "五",
20 | "uni-calender.SAT": "六",
21 | "uni-calender.confirm": "確認"
22 | }
--------------------------------------------------------------------------------
/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js:
--------------------------------------------------------------------------------
1 | // #ifdef H5
2 | export default {
3 | name: 'Keypress',
4 | props: {
5 | disable: {
6 | type: Boolean,
7 | default: false
8 | }
9 | },
10 | mounted () {
11 | const keyNames = {
12 | esc: ['Esc', 'Escape'],
13 | tab: 'Tab',
14 | enter: 'Enter',
15 | space: [' ', 'Spacebar'],
16 | up: ['Up', 'ArrowUp'],
17 | left: ['Left', 'ArrowLeft'],
18 | right: ['Right', 'ArrowRight'],
19 | down: ['Down', 'ArrowDown'],
20 | delete: ['Backspace', 'Delete', 'Del']
21 | }
22 | const listener = ($event) => {
23 | if (this.disable) {
24 | return
25 | }
26 | const keyName = Object.keys(keyNames).find(key => {
27 | const keyName = $event.key
28 | const value = keyNames[key]
29 | return value === keyName || (Array.isArray(value) && value.includes(keyName))
30 | })
31 | if (keyName) {
32 | // 避免和其他按键事件冲突
33 | setTimeout(() => {
34 | this.$emit(keyName, {})
35 | }, 0)
36 | }
37 | }
38 | document.addEventListener('keyup', listener)
39 | this.$once('hook:beforeDestroy', () => {
40 | document.removeEventListener('keyup', listener)
41 | })
42 | },
43 | render: () => {}
44 | }
45 | // #endif
--------------------------------------------------------------------------------
/uni_modules/uni-datetime-picker/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | > `重要通知:组件升级更新 2.0.0 后,支持日期+时间范围选择,组件 ui 将使用日历选择日期,ui 变化较大,同时支持 PC 和 移动端。此版本不向后兼容,不再支持单独的时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)。若仍需使用旧版本,可在插件市场下载*非uni_modules版本*,旧版本将不再维护`
4 |
5 | ## DatetimePicker 时间选择器
6 |
7 | > **组件名:uni-datetime-picker**
8 | > 代码块: `uDatetimePicker`
9 |
10 |
11 | 该组件的优势是,支持**时间戳**输入和输出(起始时间、终止时间也支持时间戳),可**同时选择**日期和时间。
12 |
13 | 若只是需要单独选择日期和时间,不需要时间戳输入和输出,可使用原生的 picker 组件。
14 |
15 | **_点击 picker 默认值规则:_**
16 |
17 | - 若设置初始值 value, 会显示在 picker 显示框中
18 | - 若无初始值 value,则初始值 value 为当前本地时间 Date.now(), 但不会显示在 picker 显示框中
19 |
20 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker)
21 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-drawer/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.2.1(2021-11-22)
2 | - 修复 vue3中个别scss变量无法找到的问题
3 | ## 1.2.0(2021-11-19)
4 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
5 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-drawer](https://uniapp.dcloud.io/component/uniui/uni-drawer)
6 | ## 1.1.1(2021-07-30)
7 | - 优化 vue3下事件警告的问题
8 | ## 1.1.0(2021-07-13)
9 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
10 | ## 1.0.7(2021-05-12)
11 | - 新增 组件示例地址
12 | ## 1.0.6(2021-02-04)
13 | - 调整为uni_modules目录规范
14 |
--------------------------------------------------------------------------------
/uni_modules/uni-drawer/components/uni-drawer/keypress.js:
--------------------------------------------------------------------------------
1 | // #ifdef H5
2 | export default {
3 | name: 'Keypress',
4 | props: {
5 | disable: {
6 | type: Boolean,
7 | default: false
8 | }
9 | },
10 | mounted () {
11 | const keyNames = {
12 | esc: ['Esc', 'Escape'],
13 | tab: 'Tab',
14 | enter: 'Enter',
15 | space: [' ', 'Spacebar'],
16 | up: ['Up', 'ArrowUp'],
17 | left: ['Left', 'ArrowLeft'],
18 | right: ['Right', 'ArrowRight'],
19 | down: ['Down', 'ArrowDown'],
20 | delete: ['Backspace', 'Delete', 'Del']
21 | }
22 | const listener = ($event) => {
23 | if (this.disable) {
24 | return
25 | }
26 | const keyName = Object.keys(keyNames).find(key => {
27 | const keyName = $event.key
28 | const value = keyNames[key]
29 | return value === keyName || (Array.isArray(value) && value.includes(keyName))
30 | })
31 | if (keyName) {
32 | // 避免和其他按键事件冲突
33 | setTimeout(() => {
34 | this.$emit(keyName, {})
35 | }, 0)
36 | }
37 | }
38 | document.addEventListener('keyup', listener)
39 | // this.$once('hook:beforeDestroy', () => {
40 | // document.removeEventListener('keyup', listener)
41 | // })
42 | },
43 | render: () => {}
44 | }
45 | // #endif
46 |
--------------------------------------------------------------------------------
/uni_modules/uni-drawer/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Drawer 抽屉
4 | > **组件名:uni-drawer**
5 | > 代码块: `uDrawer`
6 |
7 | 抽屉侧滑菜单。
8 |
9 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-drawer)
10 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-easyinput/components/uni-easyinput/common.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @desc 函数防抖
3 | * @param func 目标函数
4 | * @param wait 延迟执行毫秒数
5 | * @param immediate true - 立即执行, false - 延迟执行
6 | */
7 | export const debounce = function(func, wait = 1000, immediate = true) {
8 | let timer;
9 | return function() {
10 | let context = this,
11 | args = arguments;
12 | if (timer) clearTimeout(timer);
13 | if (immediate) {
14 | let callNow = !timer;
15 | timer = setTimeout(() => {
16 | timer = null;
17 | }, wait);
18 | if (callNow) func.apply(context, args);
19 | } else {
20 | timer = setTimeout(() => {
21 | func.apply(context, args);
22 | }, wait)
23 | }
24 | }
25 | }
26 | /**
27 | * @desc 函数节流
28 | * @param func 函数
29 | * @param wait 延迟执行毫秒数
30 | * @param type 1 使用表时间戳,在时间段开始的时候触发 2 使用表定时器,在时间段结束的时候触发
31 | */
32 | export const throttle = (func, wait = 1000, type = 1) => {
33 | let previous = 0;
34 | let timeout;
35 | return function() {
36 | let context = this;
37 | let args = arguments;
38 | if (type === 1) {
39 | let now = Date.now();
40 |
41 | if (now - previous > wait) {
42 | func.apply(context, args);
43 | previous = now;
44 | }
45 | } else if (type === 2) {
46 | if (!timeout) {
47 | timeout = setTimeout(() => {
48 | timeout = null;
49 | func.apply(context, args)
50 | }, wait)
51 | }
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/uni_modules/uni-easyinput/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ### Easyinput 增强输入框
4 | > **组件名:uni-easyinput**
5 | > 代码块: `uEasyinput`
6 |
7 |
8 | easyinput 组件是对原生input组件的增强 ,是专门为配合表单组件[uni-forms](https://ext.dcloud.net.cn/plugin?id=2773)而设计的,easyinput 内置了边框,图标等,同时包含 input 所有功能
9 |
10 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-easyinput)
11 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-fab/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.2.6(2024-10-12)
2 | - 修复 微信小程序中的getSystemInfo警告
3 | ## 1.2.5(2023-03-29)
4 | - 新增 pattern.icon 属性,可自定义图标
5 | ## 1.2.4(2022-09-07)
6 | 小程序端由于 style 使用了对象导致报错,[详情](https://ask.dcloud.net.cn/question/152790?item_id=211778&rf=false)
7 | ## 1.2.3(2022-09-05)
8 | - 修复 nvue 环境下,具有 tabBar 时,fab 组件下部位置无法正常获取 --window-bottom 的bug,详见:[https://ask.dcloud.net.cn/question/110638?notification_id=826310](https://ask.dcloud.net.cn/question/110638?notification_id=826310)
9 | ## 1.2.2(2021-12-29)
10 | - 更新 组件依赖
11 | ## 1.2.1(2021-11-19)
12 | - 修复 阴影颜色不正确的bug
13 | ## 1.2.0(2021-11-19)
14 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
15 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-fab](https://uniapp.dcloud.io/component/uniui/uni-fab)
16 | ## 1.1.1(2021-11-09)
17 | - 新增 提供组件设计资源,组件样式调整
18 | ## 1.1.0(2021-07-30)
19 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
20 | ## 1.0.7(2021-05-12)
21 | - 新增 组件示例地址
22 | ## 1.0.6(2021-02-05)
23 | - 调整为uni_modules目录规范
24 | - 优化 按钮背景色调整
25 | - 优化 兼容pc端
26 |
--------------------------------------------------------------------------------
/uni_modules/uni-fab/readme.md:
--------------------------------------------------------------------------------
1 | ## Fab 悬浮按钮
2 | > **组件名:uni-fab**
3 | > 代码块: `uFab`
4 |
5 |
6 | 点击可展开一个图形按钮菜单
7 |
8 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-fab)
9 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-fav/changelog.md:
--------------------------------------------------------------------------------
1 | ## 1.2.1(2022-05-30)
2 | - 新增 stat 属性 ,是否开启uni统计功能
3 | ## 1.2.0(2021-11-19)
4 | - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
5 | - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-fav](https://uniapp.dcloud.io/component/uniui/uni-fav)
6 | ## 1.1.1(2021-08-24)
7 | - 新增 支持国际化
8 | ## 1.1.0(2021-07-13)
9 | - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
10 | ## 1.0.6(2021-05-12)
11 | - 新增 组件示例地址
12 | ## 1.0.5(2021-04-21)
13 | - 优化 添加依赖 uni-icons, 导入后自动下载依赖
14 | ## 1.0.4(2021-02-05)
15 | - 优化 组件引用关系,通过uni_modules引用组件
16 | ## 1.0.3(2021-02-05)
17 | - 优化 组件引用关系,通过uni_modules引用组件
18 | ## 1.0.2(2021-02-05)
19 | - 调整为uni_modules目录规范
20 |
--------------------------------------------------------------------------------
/uni_modules/uni-fav/components/uni-fav/i18n/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-fav.collect": "collect",
3 | "uni-fav.collected": "collected"
4 | }
5 |
--------------------------------------------------------------------------------
/uni_modules/uni-fav/components/uni-fav/i18n/index.js:
--------------------------------------------------------------------------------
1 | import en from './en.json'
2 | import zhHans from './zh-Hans.json'
3 | import zhHant from './zh-Hant.json'
4 | export default {
5 | en,
6 | 'zh-Hans': zhHans,
7 | 'zh-Hant': zhHant
8 | }
9 |
--------------------------------------------------------------------------------
/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-fav.collect": "收藏",
3 | "uni-fav.collected": "已收藏"
4 | }
5 |
--------------------------------------------------------------------------------
/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "uni-fav.collect": "收藏",
3 | "uni-fav.collected": "已收藏"
4 | }
5 |
--------------------------------------------------------------------------------
/uni_modules/uni-fav/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Fav 收藏按钮
4 | > **组件名:uni-fav**
5 | > 代码块: `uFav`
6 |
7 | 用于收藏功能,可点击切换选中、不选中的状态。
8 |
9 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-fav)
10 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-file-picker/readme.md:
--------------------------------------------------------------------------------
1 |
2 | ## FilePicker 文件选择上传
3 |
4 | > **组件名:uni-file-picker**
5 | > 代码块: `uFilePicker`
6 |
7 |
8 | 文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间
9 |
10 | ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-file-picker)
11 | #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
--------------------------------------------------------------------------------
/uni_modules/uni-forms/readme.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Forms 表单
4 |
5 | > **组件名:uni-forms**
6 | > 代码块: `uForms`、`uni-forms-item`
7 | > 关联组件:`uni-forms-item`、`uni-easyinput`、`uni-data-checkbox`、`uni-group`。
8 |
9 |
10 | uni-app的内置组件已经有了 `