tmui-cli 2.0.6 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +120 -2
- package/data/components.json +1 -1
- package/data/config.json +1 -1
- package/data/doc-index.json +1 -1
- package/data/docs/upload-photo.md +1 -0
- package/data/docs/upload-video.md +1 -0
- package/data/examples/navbar.vue +3 -3
- package/data/examples/upload-photo.vue +14 -0
- package/data/examples/upload-video.vue +14 -0
- package/data/guides//346/233/264/346/226/260/346/227/245/345/277/227.md +2 -0
- package/data/tmui4x/01./346/225/231/347/250/213/02./346/233/264/346/226/260/346/227/245/345/277/227.md +4 -0
- package/data/tmui4x/01./346/225/231/347/250/213/06./345/216/237/347/224/237/346/217/222/344/273/266/344/275/277/347/224/250/346/214/207/345/215/227.md +35 -0
- package/data/tmui4x/01./346/225/231/347/250/213/10./345/205/245/351/227/250/346/214/207/345/215/227/12./345/256/211/350/243/205.md +3 -1
- package/data/tmui4x/01./346/225/231/347/250/213/35.Interface/347/261/273/345/236/213.md +5 -0
- package/data/tmui4x/01./346/225/231/347/250/213/50.TMUI4x/350/222/270/346/261/275/350/256/241/345/210/222.md +21 -17
- package/data/tmui4x/10./346/217/222/344/273/266/345/272/223/xChatmarkdownU AI/350/201/212/345/244/251Markdown.md" +13 -1
- package/data/tmui4x/10./346/217/222/344/273/266/345/272/223/xSkiaU Skia/347/224/273/345/270/203.md" +1 -1
- package/data/tmui4x/10./346/217/222/344/273/266/345/272/223/xWebviewU /346/267/267/345/220/210WebView.md" +2 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//344/272/214/347/273/264/347/240/201 xQrcoder.md" +4 -4
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//345/216/237/347/224/237/345/233/276/350/241/250 Chart.md" +6 -0
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//345/233/276/347/211/207/350/243/201/345/211/252 xImageResizer.md" +3 -3
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//345/233/276/350/241/250 xEchart.md" +4 -4
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//345/256/211/345/205/250/351/252/214/350/257/201 xSafeVerify.md" +239 -0
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//346/200/235/347/273/264/345/257/274/345/233/276 xTreeFlat.md" +4 -4
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//346/211/213/345/212/277/345/272/223 xFinger.md" +12 -12
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//346/217/220/345/217/212 xMention.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//346/235/241/347/240/201 xBarcode.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//346/273/221/345/212/250/351/252/214/350/257/201 xSlideVerify.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//347/255/276/345/220/215/346/235/277 xSignBoard.md" +5 -5
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/205/266/345/256/203/347/273/204/344/273/266//351/242/234/350/211/262/351/200/211/346/213/251 xColorView.md" +3 -3
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//344/270/213/346/213/211/345/210/267/346/226/260 xPullRefresh.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//345/212/250/344/275/234/350/217/234/345/215/225/351/235/242/346/235/277 xActionMenu.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//345/267/246/346/273/221/350/217/234/345/215/225 xSwitchSlider.md" +8 -8
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//346/212/275/345/261/211 xDrawer.md" +1 -0
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//346/213/226/346/213/275/346/216/222/345/272/217 xDrag.md" +36 -36
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//346/213/226/346/213/275/346/216/222/345/272/217/345/255/220/347/273/204/344/273/266 xDragItem.md" +35 -35
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//346/265/256/347/220/203 xFloatButton.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//346/266/210/346/201/257/346/235/241 xSnackbar.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/217/215/351/246/210/347/273/204/344/273/266//346/266/210/346/201/257/346/235/241/345/255/220/350/212/202/347/202/271 xSnackbarItem.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//344/276/247/350/276/271/350/217/234/345/215/225 xSliderMenu.md" +3 -3
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//345/256/253/346/240/274 xGrid.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//345/256/253/346/240/274/345/255/220/347/273/204/344/273/266 xGridItem.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//345/272/225/351/203/250/345/257/274/350/210/252 xTabbar.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//345/274/225/345/257/274 xGuid.md" +31 -10
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//345/274/225/345/257/274/345/255/220/347/273/204/344/273/266 xGuidItem.md" +26 -5
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//346/227/266/351/227/264/345/221/250 xWeekbar.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//346/240/207/347/255/276/345/257/274/350/210/252 xTabs.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//346/240/207/351/242/230/345/257/274/350/210/252 xNavbar.md" +5 -2
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//347/262/230/346/200/247/345/270/203/345/261/200 Sticky.md" +4 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/257/274/350/210/252/347/273/204/344/273/266//347/264/242/345/274/225 xIndexbar.md" +55 -13
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266/markdown xCmarkdown.md" +24 -17
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/210/206/345/211/262/347/272/277 xDivider.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/215/241/347/211/207 xCard.md" +2 -2
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/233/276/351/233/206 xImageGroup.md" +31 -5
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/244/264/345/203/217/347/273/204 xAvatarGroup.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/257/214/346/226/207/346/234/254 xHtml.md" +186 -0
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/257/214/346/226/207/346/234/254/345/255/220/347/273/204/344/273/266 xHtmlNode.md" +183 -0
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//346/212/230/345/217/240/351/235/242/346/235/277 xCollapse.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//346/212/230/345/217/240/351/235/242/346/235/277/345/255/220/347/273/204/344/273/266 xCollapseItem.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//347/251/272/347/212/266/346/200/201 xEmpty.md" +4 -4
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//350/241/250/346/240/274 xTable.md" +11 -2
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//350/241/250/346/240/274/345/210/227 xTableCol.md" +9 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//350/257/215/344/272/221 xTextCloud.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//350/277/233/345/272/246/346/235/241 xProgress.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//351/223/276/346/216/245 xLink.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/270/270/347/224/250/347/273/204/344/273/266//345/223/215/345/272/224/345/274/217/345/270/203/345/261/200 xLayout.md" +330 -0
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//345/233/276/347/211/207/344/270/212/344/274/240 xUploadMedia.md" +57 -10
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//345/237/216/345/270/202/351/200/211/346/213/251/345/231/250 xPickerCity.md" +2 -2
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//345/244/232/351/200/211/346/227/245/345/216/206 xCalendarMultiple.md" +2 -7
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//345/257/206/347/240/201/351/224/256/347/233/230 xKeyboard.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//345/257/214/346/226/207/346/234/254/347/274/226/350/276/221/345/231/250 xEditor.md" +4 -4
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//345/265/214/345/205/245/345/274/217/346/227/245/346/234/237/351/200/211/346/213/251/345/231/250 xDateView.md" +29 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/220/234/347/264/242/351/200/211/346/213/251 xpickerSelected.md" +70 -70
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/225/260/345/255/227/351/224/256/347/233/230 xKeyboardNumber.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/226/207/344/273/266/351/200/211/346/213/251 xUploadFile.md" +8 -8
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/227/245/345/216/206 xCalendar.md" +8 -10
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/227/245/346/234/237/351/200/211/346/213/251/345/231/250 xPickerDate.md" +27 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/227/266/351/227/264/345/214/272/351/227/264/351/200/211/346/213/251 xBetweenTime.md" +4 -4
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//346/240/221 xTree.md" +51 -51
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//347/277/273/351/241/265/345/231/250 xPagination.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//350/241/250/345/215/225 xForm.md" +37 -29
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//350/241/250/345/215/225/345/255/220/347/273/204/344/273/266 xFormItem.md" +35 -28
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//350/272/253/344/273/275/350/257/201/351/224/256/347/233/230 xKeyboardIdcard.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//350/275/246/347/211/214/351/224/256/347/233/230 xKeyboardCar.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//350/276/223/345/205/245/346/241/206 xInput.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//350/276/223/345/205/245/346/241/206 xInputNumber.md" +1 -1
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//350/241/250/345/215/225/347/273/204/344/273/266//351/200/211/346/213/251/345/231/250/345/256/271/345/231/250 xPickerView.md" +3 -2
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/01./345/211/215/347/275/256/345/237/272/347/241/200.md +105 -0
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/02.SKILL/345/222/214MCP.md +27 -0
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/03.Agent.md +42 -0
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/04.Agent/350/256/276/350/256/241.md +65 -0
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/05./344/274/201/344/270/232/347/272/247Agents.md +19 -0
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/06.tokens/350/207/252/347/224/261.md +47 -0
- package/data/tmui4x-doc-index.json +94 -46
- package/data/uni-app-x-docs/.vuepress/config/footer.js +5 -1
- package/data/uni-app-x-docs/.vuepress/config/navbar.js +7 -0
- package/data/uni-app-x-docs/.vuepress/utils/cssJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/customTypeJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/maniFestJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/pageInstanceJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/pagesJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/utsApiJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/utsComJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/utsJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/utsUnicloudApiJson.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/vueJson.json +1 -1
- package/data/uni-app-x-docs/_sidebar.md +28 -26
- package/data/uni-app-x-docs/adapt.md +7 -4
- package/data/uni-app-x-docs/api/README.md +8 -10
- package/data/uni-app-x-docs/api/_sidebar.md +7 -0
- package/data/uni-app-x-docs/api/animation-frame.md +10 -3
- package/data/uni-app-x-docs/api/capture-screen.md +0 -5
- package/data/uni-app-x-docs/api/convert2-abs-full-path.md +33 -0
- package/data/uni-app-x-docs/api/create-drama-ad.md +65 -0
- package/data/uni-app-x-docs/api/create-inner-audio-context.md +1 -0
- package/data/uni-app-x-docs/api/create-selector-query.md +3 -2
- package/data/uni-app-x-docs/api/create-worker.md +10 -11
- package/data/uni-app-x-docs/api/dialog-page.md +4 -0
- package/data/uni-app-x-docs/api/dom/README.md +1 -1
- package/data/uni-app-x-docs/api/dom/cssstyledeclaration.md +10 -55
- package/data/uni-app-x-docs/api/dom/unielement.md +2 -1
- package/data/uni-app-x-docs/api/dom/uninativeviewelement.md +5 -0
- package/data/uni-app-x-docs/api/dom/uniresizeobserver.md +4 -47
- package/data/uni-app-x-docs/api/event-bus.md +1 -1
- package/data/uni-app-x-docs/api/ext.md +17 -7
- package/data/uni-app-x-docs/api/file-system-spec.md +12 -9
- package/data/uni-app-x-docs/api/get-app.md +2 -0
- package/data/uni-app-x-docs/api/get-file-system-manager.md +1 -3
- package/data/uni-app-x-docs/api/get-recorder-manager.md +5 -5
- package/data/uni-app-x-docs/api/install-wgt.md +73 -0
- package/data/uni-app-x-docs/api/modal.md +1 -1
- package/data/uni-app-x-docs/api/request.md +1 -1
- package/data/uni-app-x-docs/api/screen-brightness.md +6 -0
- package/data/uni-app-x-docs/api/theme-change.md +1 -1
- package/data/uni-app-x-docs/api/toast.md +29 -16
- package/data/uni-app-x-docs/api/uasm.md +42 -0
- package/data/uni-app-x-docs/api/uni-push.md +1 -27
- package/data/uni-app-x-docs/api/unicloud/README.md +41 -0
- package/data/uni-app-x-docs/api/unicloud/function.md +1 -1
- package/data/uni-app-x-docs/api/unicloud/object.md +1 -1
- package/data/uni-app-x-docs/api/uniresizeobserver.md +50 -0
- package/data/uni-app-x-docs/app-vapor.md +36 -43
- package/data/uni-app-x-docs/collocation/app.md +3 -3
- package/data/uni-app-x-docs/collocation/manifest-android.md +52 -0
- package/data/uni-app-x-docs/collocation/manifest-modules.md +27 -3
- package/data/uni-app-x-docs/collocation/pagesjson.md +3 -0
- package/data/uni-app-x-docs/compiler/README.md +1 -1
- package/data/uni-app-x-docs/component/README.md +11 -3
- package/data/uni-app-x-docs/component/_sidebar.md +5 -1
- package/data/uni-app-x-docs/component/ad-drama.md +48 -0
- package/data/uni-app-x-docs/component/button.md +1 -1
- package/data/uni-app-x-docs/component/camera.md +2 -0
- package/data/uni-app-x-docs/component/canvas.md +2 -0
- package/data/uni-app-x-docs/component/common.md +4 -2
- package/data/uni-app-x-docs/component/glass-effect-view.md +1 -1
- package/data/uni-app-x-docs/component/icon.md +2 -0
- package/data/uni-app-x-docs/component/image.md +32 -21
- package/data/uni-app-x-docs/component/input.md +3 -1
- package/data/uni-app-x-docs/component/page-container.md +1 -0
- package/data/uni-app-x-docs/component/page-meta.md +4 -0
- package/data/uni-app-x-docs/component/picker-view.md +1 -1
- package/data/uni-app-x-docs/component/picker.md +2 -4
- package/data/uni-app-x-docs/component/rich-text.md +1 -2
- package/data/uni-app-x-docs/component/scroll-view.md +11 -9
- package/data/uni-app-x-docs/component/swiper.md +5 -1
- package/data/uni-app-x-docs/component/text.md +9 -7
- package/data/uni-app-x-docs/component/textarea.md +8 -4
- package/data/uni-app-x-docs/component/uni-ui-x/uni-collapse.md +1 -1
- package/data/uni-app-x-docs/component/uni-ui-x/uni-combox.md +25 -0
- package/data/uni-app-x-docs/component/uni-ui-x/uni-icons.md +25 -0
- package/data/uni-app-x-docs/component/uni-ui-x/uni-link.md +1 -1
- package/data/uni-app-x-docs/component/uni-ui-x/uni-nav-bar.md +1 -1
- package/data/uni-app-x-docs/component/uni-ui-x/uni-number-box.md +1 -1
- package/data/uni-app-x-docs/component/uni-ui-x/uni-rate.md +1 -1
- package/data/uni-app-x-docs/component/video.md +3 -3
- package/data/uni-app-x-docs/component/view.md +2 -1
- package/data/uni-app-x-docs/css/README.md +21 -14
- package/data/uni-app-x-docs/css/_sidebar.md +15 -0
- package/data/uni-app-x-docs/css/common/at-rules.md +15 -4
- package/data/uni-app-x-docs/css/common/function.md +9 -3
- package/data/uni-app-x-docs/css/common/selector.md +28 -14
- package/data/uni-app-x-docs/css/common/style-isolation.md +3 -3
- package/data/uni-app-x-docs/css/position.md +2 -6
- package/data/uni-app-x-docs/css/visibility.md +8 -3
- package/data/uni-app-x-docs/css/word-break.md +18 -0
- package/data/uni-app-x-docs/i18n.md +30 -30
- package/data/uni-app-x-docs/mp/README.md +113 -58
- package/data/uni-app-x-docs/mp/native-component-and-wxs.md +1 -1
- package/data/uni-app-x-docs/native/download/android.md +15 -21
- package/data/uni-app-x-docs/native/download/ios.md +5 -5
- package/data/uni-app-x-docs/native/modules/android/others.md +15 -0
- package/data/uni-app-x-docs/native/modules/harmony/facialVerify.md +5 -5
- package/data/uni-app-x-docs/native/modules/harmony/location.md +5 -4
- package/data/uni-app-x-docs/native/modules/harmony/map.md +6 -5
- package/data/uni-app-x-docs/native/modules/harmony/oauth.md +6 -5
- package/data/uni-app-x-docs/native/modules/harmony/pay.md +8 -8
- package/data/uni-app-x-docs/native/modules/harmony/push.md +6 -5
- package/data/uni-app-x-docs/native/modules/harmony/verify.md +6 -5
- package/data/uni-app-x-docs/native/use/android.md +5 -2
- package/data/uni-app-x-docs/native/use/androidcomm.md +154 -40
- package/data/uni-app-x-docs/native/use/harmony.md +13 -13
- package/data/uni-app-x-docs/native/use/harmonyapi.md +81 -17
- package/data/uni-app-x-docs/page.md +1 -0
- package/data/uni-app-x-docs/project.md +13 -5
- package/data/uni-app-x-docs/readme.md +82 -45
- package/data/uni-app-x-docs/release-note-alpha.md +115 -0
- package/data/uni-app-x-docs/release.md +1 -132
- package/data/uni-app-x-docs/sample.md +58 -13
- package/data/uni-app-x-docs/select/crossplatform-on-ai.md +475 -0
- package/data/uni-app-x-docs/select/native-render-and-self-render.md +5 -4
- package/data/uni-app-x-docs/tutorial/android-16kb.md +50 -28
- package/data/uni-app-x-docs/tutorial/compatibility.md +2 -1
- package/data/uni-app-x-docs/tutorial/compliance.md +6 -6
- package/data/uni-app-x-docs/tutorial/debug/devtools.md +18 -8
- package/data/uni-app-x-docs/tutorial/ls-plugin.md +1 -1
- package/data/uni-app-x-docs/tutorial/store.md +4 -4
- package/data/uni-app-x-docs/uniapptox.md +57 -19
- package/data/uni-app-x-docs/uniappvsuniappx.md +408 -0
- package/data/uni-app-x-docs/uts/README.md +9 -12
- package/data/uni-app-x-docs/uts/_sidebar.md +1 -1
- package/data/uni-app-x-docs/uts/buildin-object-api/array.md +0 -296
- package/data/uni-app-x-docs/uts/uts2js.md +34 -0
- package/data/uni-app-x-docs/vue/README.md +34 -8
- package/data/uni-app-x-docs/vue/built-in.md +68 -44
- package/data/uni-app-x-docs/vue/component.md +22 -22
- package/data/uni-app-x-docs/vue/composition-api.md +10 -9
- package/data/uni-app-x-docs/vue/data-bind.md +31 -28
- package/data/uni-app-x-docs/web/README.md +2 -6
- package/data/uni-app-x-docs/web/ssr.md +22 -86
- package/data/uniappx/_sidebar.md +28 -26
- package/data/uniappx/adapt.md +6 -4
- package/data/uniappx/api/README.md +8 -10
- package/data/uniappx/api/_sidebar.md +7 -0
- package/data/uniappx/api/accelerometer.md +21 -21
- package/data/uniappx/api/action-sheet.md +41 -76
- package/data/uniappx/api/animation-frame.md +2 -14
- package/data/uniappx/api/app-route.md +123 -103
- package/data/uniappx/api/authentication.md +64 -64
- package/data/uniappx/api/base64.md +10 -10
- package/data/uniappx/api/calendar.md +70 -72
- package/data/uniappx/api/canvas-to-temp-file-path.md +17 -17
- package/data/uniappx/api/canvasrenderingcontext2d.md +62 -62
- package/data/uniappx/api/capture-screen.md +23 -31
- package/data/uniappx/api/choose-file.md +26 -32
- package/data/uniappx/api/choose-image.md +95 -101
- package/data/uniappx/api/choose-location.md +13 -13
- package/data/uniappx/api/choose-media.md +76 -82
- package/data/uniappx/api/choose-video.md +25 -31
- package/data/uniappx/api/clipboard.md +10 -10
- package/data/uniappx/api/compass.md +20 -20
- package/data/uniappx/api/compress-image.md +12 -18
- package/data/uniappx/api/compress-video.md +6 -12
- package/data/uniappx/api/connect-event-source.md +54 -72
- package/data/uniappx/api/contact.md +8 -8
- package/data/uniappx/api/convert2-abs-full-path.md +57 -0
- package/data/uniappx/api/create-camera-context.md +7 -7
- package/data/uniappx/api/create-canvas-context-async.md +28 -28
- package/data/uniappx/api/create-drama-ad.md +834 -0
- package/data/uniappx/api/create-editor-context-async.md +320 -320
- package/data/uniappx/api/create-inner-audio-context.md +100 -112
- package/data/uniappx/api/create-intersection-observer.md +4 -4
- package/data/uniappx/api/create-interstitial-ad.md +51 -51
- package/data/uniappx/api/create-live-player-context.md +53 -53
- package/data/uniappx/api/create-live-pusher-context.md +90 -90
- package/data/uniappx/api/create-map-context.md +450 -450
- package/data/uniappx/api/create-request-permission-listener.md +2 -8
- package/data/uniappx/api/create-rewarded-video-ad.md +62 -62
- package/data/uniappx/api/create-selector-query.md +17 -22
- package/data/uniappx/api/create-video-context.md +30 -30
- package/data/uniappx/api/create-webview-context.md +4 -4
- package/data/uniappx/api/create-worker.md +38 -29
- package/data/uniappx/api/dialog-page.md +67 -65
- package/data/uniappx/api/dom/cssstyledeclaration.md +1 -46
- package/data/uniappx/api/dom/domrect.md +11 -11
- package/data/uniappx/api/dom/drawablecontext.md +22 -28
- package/data/uniappx/api/dom/unicanvaselement.md +5 -5
- package/data/uniappx/api/dom/unielement.md +27 -26
- package/data/uniappx/api/dom/uniimageelement.md +4 -4
- package/data/uniappx/api/dom/uniinputelement.md +8 -8
- package/data/uniappx/api/dom/uninativeviewelement.md +6 -1
- package/data/uniappx/api/dom/uniresizeobserver.md +2 -19
- package/data/uniappx/api/dom/unitextareaelement.md +7 -7
- package/data/uniappx/api/dom/unitextelement.md +4 -4
- package/data/uniappx/api/dom/univideoelement.md +3 -3
- package/data/uniappx/api/dom/uniwebviewelement.md +3 -3
- package/data/uniappx/api/download-file.md +24 -68
- package/data/uniappx/api/env.md +1 -1
- package/data/uniappx/api/event-bus.md +41 -47
- package/data/uniappx/api/exit.md +18 -17
- package/data/uniappx/api/ext.md +17 -7
- package/data/uniappx/api/facial-recognition-meta-info.md +16 -22
- package/data/uniappx/api/file-system-spec.md +12 -9
- package/data/uniappx/api/get-accessibility-info.md +2 -14
- package/data/uniappx/api/get-app-authorize-setting.md +188 -163
- package/data/uniappx/api/get-app-base-info.md +55 -54
- package/data/uniappx/api/get-app.md +60 -53
- package/data/uniappx/api/get-background-audio-manager.md +21 -24
- package/data/uniappx/api/get-battery-info.md +23 -23
- package/data/uniappx/api/get-current-pages.md +8 -8
- package/data/uniappx/api/get-device-info.md +74 -80
- package/data/uniappx/api/get-element-by-id.md +5 -5
- package/data/uniappx/api/get-file-system-manager.md +550 -515
- package/data/uniappx/api/get-image-info.md +22 -28
- package/data/uniappx/api/get-location.md +31 -37
- package/data/uniappx/api/get-network-type.md +5 -5
- package/data/uniappx/api/get-performance.md +13 -13
- package/data/uniappx/api/get-recorder-manager.md +137 -124
- package/data/uniappx/api/get-system-info.md +261 -267
- package/data/uniappx/api/get-system-setting.md +72 -49
- package/data/uniappx/api/get-video-info.md +27 -33
- package/data/uniappx/api/get-window-info.md +32 -32
- package/data/uniappx/api/gyroscope.md +23 -23
- package/data/uniappx/api/image.md +4 -4
- package/data/uniappx/api/install-apk.md +15 -21
- package/data/uniappx/api/install-wgt.md +160 -0
- package/data/uniappx/api/interceptor.md +6 -6
- package/data/uniappx/api/is-simulator.md +5 -17
- package/data/uniappx/api/keyboard.md +15 -15
- package/data/uniappx/api/launch.md +38 -38
- package/data/uniappx/api/load-font-face.md +12 -12
- package/data/uniappx/api/loading.md +21 -21
- package/data/uniappx/api/locale.md +9 -9
- package/data/uniappx/api/location-change.md +71 -71
- package/data/uniappx/api/make-phone-call.md +10 -10
- package/data/uniappx/api/memory.md +6 -6
- package/data/uniappx/api/modal.md +46 -52
- package/data/uniappx/api/navigator-bar-loading.md +12 -12
- package/data/uniappx/api/navigator.md +63 -67
- package/data/uniappx/api/network-status-change.md +15 -15
- package/data/uniappx/api/on-tab-bar-mid-button-tap.md +6 -6
- package/data/uniappx/api/open-app-authorize-setting.md +2 -14
- package/data/uniappx/api/open-document.md +15 -15
- package/data/uniappx/api/open-location.md +12 -12
- package/data/uniappx/api/page-scroll-to.md +15 -21
- package/data/uniappx/api/preview-image.md +28 -34
- package/data/uniappx/api/privacy.md +15 -15
- package/data/uniappx/api/provider.md +65 -77
- package/data/uniappx/api/pull-down-refresh.md +15 -17
- package/data/uniappx/api/report.md +8 -8
- package/data/uniappx/api/request-merchant-transfer.md +14 -14
- package/data/uniappx/api/request-payment.md +16 -16
- package/data/uniappx/api/request-system-permission.md +21 -17
- package/data/uniappx/api/request.md +82 -156
- package/data/uniappx/api/rpx2px.md +18 -24
- package/data/uniappx/api/save-image-to-photos-album.md +9 -15
- package/data/uniappx/api/save-video-to-photos-album.md +7 -13
- package/data/uniappx/api/scan-code.md +14 -17
- package/data/uniappx/api/screen-brightness.md +37 -31
- package/data/uniappx/api/set-navigation-bar-color.md +21 -24
- package/data/uniappx/api/set-navigation-bar-title.md +10 -10
- package/data/uniappx/api/set-tab-bar.md +48 -48
- package/data/uniappx/api/share-with-system.md +7 -7
- package/data/uniappx/api/share.md +6 -12
- package/data/uniappx/api/sign-in.md +69 -88
- package/data/uniappx/api/storage.md +50 -56
- package/data/uniappx/api/theme-change.md +72 -72
- package/data/uniappx/api/toast.md +128 -75
- package/data/uniappx/api/uasm.md +229 -0
- package/data/uniappx/api/uni-push.md +35 -66
- package/data/uniappx/api/unicloud/README.md +151 -3
- package/data/uniappx/api/unicloud/database.md +6 -6
- package/data/uniappx/api/unicloud/function.md +11 -11
- package/data/uniappx/api/unicloud/object.md +5 -5
- package/data/uniappx/api/unicloud/storage.md +18 -18
- package/data/uniappx/api/unicloud/utils.md +18 -18
- package/data/uniappx/api/unipage.md +15 -15
- package/data/uniappx/api/uniresizeobserver.md +108 -0
- package/data/uniappx/api/upload-file.md +37 -80
- package/data/uniappx/api/vibrate.md +8 -8
- package/data/uniappx/api/virtual-payment.md +11 -17
- package/data/uniappx/api/websocket.md +69 -69
- package/data/uniappx/api/wide-screen-adaptation.md +69 -69
- package/data/uniappx/api/window.md +14 -14
- package/data/uniappx/app-vapor.md +34 -43
- package/data/uniappx/collocation/app.md +80 -78
- package/data/uniappx/collocation/manifest-android.md +51 -0
- package/data/uniappx/collocation/manifest-modules.md +26 -3
- package/data/uniappx/collocation/manifest.md +6 -5
- package/data/uniappx/collocation/pagesjson.md +356 -351
- package/data/uniappx/component/README.md +11 -2
- package/data/uniappx/component/_sidebar.md +5 -1
- package/data/uniappx/component/ad-custom.md +7 -7
- package/data/uniappx/component/ad-drama.md +63 -0
- package/data/uniappx/component/ad.md +11 -11
- package/data/uniappx/component/animation-view.md +14 -14
- package/data/uniappx/component/aria-component.md +3 -3
- package/data/uniappx/component/block.md +3 -3
- package/data/uniappx/component/button.md +97 -93
- package/data/uniappx/component/camera.md +54 -43
- package/data/uniappx/component/canvas.md +18 -16
- package/data/uniappx/component/channel-live.md +5 -5
- package/data/uniappx/component/channel-video.md +14 -14
- package/data/uniappx/component/checkbox-group.md +10 -6
- package/data/uniappx/component/checkbox.md +33 -18
- package/data/uniappx/component/common.md +60 -57
- package/data/uniappx/component/cover-image.md +9 -9
- package/data/uniappx/component/cover-view.md +4 -4
- package/data/uniappx/component/custom-tab-bar.md +9 -9
- package/data/uniappx/component/double-tap-gesture-handler.md +12 -12
- package/data/uniappx/component/draggable-sheet.md +9 -9
- package/data/uniappx/component/editor.md +24 -20
- package/data/uniappx/component/force-press-gesture-handler.md +12 -12
- package/data/uniappx/component/form.md +11 -17
- package/data/uniappx/component/functional-page-navigator.md +17 -17
- package/data/uniappx/component/glass-effect-view.md +11 -9
- package/data/uniappx/component/grid-builder.md +15 -15
- package/data/uniappx/component/grid-view.md +11 -11
- package/data/uniappx/component/horizontal-drag-gesture-handler.md +16 -16
- package/data/uniappx/component/icon.md +8 -6
- package/data/uniappx/component/image.md +85 -73
- package/data/uniappx/component/input.md +109 -86
- package/data/uniappx/component/keyboard-accessory.md +3 -3
- package/data/uniappx/component/label.md +20 -16
- package/data/uniappx/component/list-builder.md +12 -12
- package/data/uniappx/component/list-view.md +86 -62
- package/data/uniappx/component/live-player.md +49 -49
- package/data/uniappx/component/live-pusher.md +104 -104
- package/data/uniappx/component/loading.md +10 -10
- package/data/uniappx/component/long-press-gesture-handler.md +16 -16
- package/data/uniappx/component/map.md +53 -53
- package/data/uniappx/component/match-media.md +14 -14
- package/data/uniappx/component/movable-area.md +4 -4
- package/data/uniappx/component/movable-view.md +20 -20
- package/data/uniappx/component/native-component.md +3 -3
- package/data/uniappx/component/native-view.md +9 -10
- package/data/uniappx/component/navigation-bar.md +19 -19
- package/data/uniappx/component/navigator.md +53 -53
- package/data/uniappx/component/nested-scroll-body.md +4 -4
- package/data/uniappx/component/nested-scroll-header.md +4 -4
- package/data/uniappx/component/official-account.md +3 -3
- package/data/uniappx/component/open-container.md +14 -14
- package/data/uniappx/component/page-container.md +95 -86
- package/data/uniappx/component/page-meta.md +26 -17
- package/data/uniappx/component/pan-gesture-handler.md +16 -16
- package/data/uniappx/component/picker-view.md +34 -26
- package/data/uniappx/component/picker.md +45 -53
- package/data/uniappx/component/progress.md +35 -31
- package/data/uniappx/component/radio-group.md +10 -6
- package/data/uniappx/component/radio.md +38 -21
- package/data/uniappx/component/rich-text.md +20 -27
- package/data/uniappx/component/root-portal.md +4 -4
- package/data/uniappx/component/scale-gesture-handler.md +21 -21
- package/data/uniappx/component/scroll-view.md +67 -69
- package/data/uniappx/component/share-element.md +23 -20
- package/data/uniappx/component/slider.md +48 -42
- package/data/uniappx/component/snapshot.md +6 -6
- package/data/uniappx/component/span.md +3 -3
- package/data/uniappx/component/sticky-header.md +10 -5
- package/data/uniappx/component/sticky-section.md +14 -10
- package/data/uniappx/component/store-home.md +4 -4
- package/data/uniappx/component/store-product.md +6 -6
- package/data/uniappx/component/swiper.md +84 -86
- package/data/uniappx/component/switch.md +33 -27
- package/data/uniappx/component/tap-gesture-handler.md +12 -12
- package/data/uniappx/component/text.md +24 -28
- package/data/uniappx/component/textarea.md +93 -75
- package/data/uniappx/component/uni-ui-x/README.md +74 -101
- package/data/uniappx/component/uni-ui-x/uni-badge-view.md +15 -10
- package/data/uniappx/component/uni-ui-x/uni-collapse.md +7 -7
- package/data/uniappx/component/uni-ui-x/uni-combox.md +412 -0
- package/data/uniappx/component/uni-ui-x/uni-drag-cell.md +5 -5
- package/data/uniappx/component/uni-ui-x/uni-fab-button.md +3 -3
- package/data/uniappx/component/uni-ui-x/uni-icons.md +376 -0
- package/data/uniappx/component/uni-ui-x/uni-index-bar.md +6 -6
- package/data/uniappx/component/uni-ui-x/uni-link.md +4 -4
- package/data/uniappx/component/uni-ui-x/uni-nav-bar.md +9 -7
- package/data/uniappx/component/uni-ui-x/uni-number-box.md +4 -4
- package/data/uniappx/component/uni-ui-x/uni-rate.md +8 -4
- package/data/uniappx/component/uni-ui-x/uni-refresh-box.md +3 -3
- package/data/uniappx/component/uni-ui-x/uni-tab.md +40 -26
- package/data/uniappx/component/uni-ui-x/uni-time-format.md +3 -3
- package/data/uniappx/component/unicloud-db.md +39 -39
- package/data/uniappx/component/vertical-drag-gesture-handler.md +16 -16
- package/data/uniappx/component/video.md +126 -116
- package/data/uniappx/component/view.md +13 -11
- package/data/uniappx/component/voip-room.md +15 -15
- package/data/uniappx/component/waterflow.md +60 -54
- package/data/uniappx/component/web-view.md +97 -99
- package/data/uniappx/css/README.md +35 -27
- package/data/uniappx/css/_sidebar.md +15 -0
- package/data/uniappx/css/align-content.md +0 -6
- package/data/uniappx/css/align-items.md +0 -6
- package/data/uniappx/css/align-self.md +1 -7
- package/data/uniappx/css/animation-composition.md +8 -8
- package/data/uniappx/css/animation-delay.md +4 -4
- package/data/uniappx/css/animation-direction.md +6 -6
- package/data/uniappx/css/animation-duration.md +4 -4
- package/data/uniappx/css/animation-fill-mode.md +4 -4
- package/data/uniappx/css/animation-iteration-count.md +7 -7
- package/data/uniappx/css/animation-name.md +7 -7
- package/data/uniappx/css/animation-play-state.md +8 -8
- package/data/uniappx/css/animation-range-end.md +3 -3
- package/data/uniappx/css/animation-range-start.md +3 -3
- package/data/uniappx/css/animation-range.md +12 -12
- package/data/uniappx/css/animation-timeline.md +9 -9
- package/data/uniappx/css/animation-timing-function.md +10 -10
- package/data/uniappx/css/animation.md +550 -9
- package/data/uniappx/css/backdrop-filter.md +1 -1
- package/data/uniappx/css/background-color.md +1 -7
- package/data/uniappx/css/background-image.md +16 -6
- package/data/uniappx/css/border-bottom-color.md +3 -3
- package/data/uniappx/css/border-bottom.md +0 -6
- package/data/uniappx/css/border-color.md +10 -16
- package/data/uniappx/css/border-left.md +0 -6
- package/data/uniappx/css/border-radius.md +0 -6
- package/data/uniappx/css/border-right.md +0 -6
- package/data/uniappx/css/border-style.md +0 -6
- package/data/uniappx/css/border-top.md +0 -6
- package/data/uniappx/css/border-width.md +1 -7
- package/data/uniappx/css/border.md +0 -6
- package/data/uniappx/css/bottom.md +1 -7
- package/data/uniappx/css/box-shadow.md +1 -7
- package/data/uniappx/css/box-sizing.md +1 -7
- package/data/uniappx/css/color.md +3 -9
- package/data/uniappx/css/common/at-rules.md +21 -10
- package/data/uniappx/css/common/function.md +427 -24
- package/data/uniappx/css/common/length.md +88 -88
- package/data/uniappx/css/common/selector.md +27 -11
- package/data/uniappx/css/direction.md +0 -6
- package/data/uniappx/css/flex-basis.md +0 -6
- package/data/uniappx/css/flex-direction.md +0 -6
- package/data/uniappx/css/flex-flow.md +0 -6
- package/data/uniappx/css/flex-grow.md +0 -6
- package/data/uniappx/css/flex-shrink.md +0 -6
- package/data/uniappx/css/flex-wrap.md +0 -6
- package/data/uniappx/css/flex.md +0 -6
- package/data/uniappx/css/font-family.md +0 -6
- package/data/uniappx/css/font-size.md +13 -19
- package/data/uniappx/css/font-style.md +0 -6
- package/data/uniappx/css/font-weight.md +0 -6
- package/data/uniappx/css/height.md +2 -8
- package/data/uniappx/css/justify-content.md +0 -6
- package/data/uniappx/css/left.md +1 -7
- package/data/uniappx/css/letter-spacing.md +3 -9
- package/data/uniappx/css/line-height.md +0 -6
- package/data/uniappx/css/margin-bottom.md +0 -6
- package/data/uniappx/css/margin-left.md +0 -6
- package/data/uniappx/css/margin-right.md +0 -6
- package/data/uniappx/css/margin-top.md +0 -6
- package/data/uniappx/css/margin.md +0 -6
- package/data/uniappx/css/max-height.md +1 -7
- package/data/uniappx/css/max-width.md +1 -7
- package/data/uniappx/css/min-height.md +1 -7
- package/data/uniappx/css/min-width.md +1 -7
- package/data/uniappx/css/opacity.md +0 -6
- package/data/uniappx/css/overflow.md +0 -6
- package/data/uniappx/css/padding-bottom.md +0 -6
- package/data/uniappx/css/padding-left.md +0 -6
- package/data/uniappx/css/padding-right.md +0 -6
- package/data/uniappx/css/padding-top.md +0 -6
- package/data/uniappx/css/padding.md +0 -6
- package/data/uniappx/css/pointer-events.md +5 -11
- package/data/uniappx/css/position.md +3 -14
- package/data/uniappx/css/right.md +1 -7
- package/data/uniappx/css/text-decoration-line.md +0 -6
- package/data/uniappx/css/text-decoration.md +15 -15
- package/data/uniappx/css/text-overflow.md +0 -6
- package/data/uniappx/css/text-shadow.md +0 -6
- package/data/uniappx/css/top.md +1 -7
- package/data/uniappx/css/transform-origin.md +0 -6
- package/data/uniappx/css/transition-delay.md +1 -7
- package/data/uniappx/css/transition-duration.md +12 -7
- package/data/uniappx/css/transition-property.md +1 -1
- package/data/uniappx/css/transition-timing-function.md +1 -7
- package/data/uniappx/css/transition.md +4 -8
- package/data/uniappx/css/visibility.md +9 -10
- package/data/uniappx/css/white-space.md +0 -6
- package/data/uniappx/css/width.md +1 -7
- package/data/uniappx/css/word-break.md +151 -0
- package/data/uniappx/css/z-index.md +4 -10
- package/data/uniappx/i18n.md +29 -29
- package/data/uniappx/mp/README.md +112 -58
- package/data/uniappx/native/download/android.md +14 -21
- package/data/uniappx/native/download/ios.md +5 -5
- package/data/uniappx/native/modules/android/others.md +15 -0
- package/data/uniappx/native/modules/harmony/facialVerify.md +4 -4
- package/data/uniappx/native/modules/harmony/location.md +4 -4
- package/data/uniappx/native/modules/harmony/map.md +4 -4
- package/data/uniappx/native/modules/harmony/oauth.md +4 -4
- package/data/uniappx/native/modules/harmony/pay.md +8 -8
- package/data/uniappx/native/modules/harmony/push.md +4 -4
- package/data/uniappx/native/modules/harmony/verify.md +4 -4
- package/data/uniappx/native/use/android.md +5 -2
- package/data/uniappx/native/use/androidcomm.md +130 -4
- package/data/uniappx/native/use/harmony.md +13 -13
- package/data/uniappx/native/use/harmonyapi.md +81 -17
- package/data/uniappx/page.md +1 -0
- package/data/uniappx/project.md +13 -5
- package/data/uniappx/readme.md +81 -44
- package/data/uniappx/release-note-alpha.md +115 -0
- package/data/uniappx/release.md +0 -131
- package/data/uniappx/sample.md +58 -13
- package/data/uniappx/select/crossplatform-on-ai.md +470 -0
- package/data/uniappx/select/native-render-and-self-render.md +5 -4
- package/data/uniappx/tutorial/android-16kb.md +50 -28
- package/data/uniappx/tutorial/compatibility.md +2 -1
- package/data/uniappx/tutorial/compliance.md +1 -1
- package/data/uniappx/tutorial/debug/devtools.md +18 -8
- package/data/uniappx/tutorial/ls-plugin.md +1 -1
- package/data/uniappx/tutorial/store.md +2 -2
- package/data/uniappx/uniapptox.md +56 -18
- package/data/uniappx/uniappvsuniappx.md +404 -0
- package/data/uniappx/uts/README.md +9 -12
- package/data/uniappx/uts/_sidebar.md +2 -1
- package/data/uniappx/uts/buildin-object-api/array.md +0 -371
- package/data/uniappx/uts/buildin-object-api/global.md +2 -2
- package/data/uniappx/uts/buildin-object-api/utsjsonobject.md +0 -4
- package/data/uniappx/uts/uts2js.md +34 -0
- package/data/uniappx/vue/README.md +16 -11
- package/data/uniappx/vue/built-in.md +130 -118
- package/data/uniappx/vue/component.md +47 -47
- package/data/uniappx/vue/composition-api.md +41 -38
- package/data/uniappx/vue/data-bind.md +60 -59
- package/data/uniappx/vue/global-api.md +18 -18
- package/data/uniappx/vue/modifier.md +6 -6
- package/data/uniappx/vue/options-api.md +8 -8
- package/data/uniappx/web/README.md +2 -6
- package/data/uniappx/web/ssr.md +17 -58
- package/data/uniappx-doc-index.json +209 -62
- package/dist/main.mjs +113 -87
- package/package.json +2 -2
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266/markdown/345/255/220/347/273/204/344/273/266 xCmarkdownItem.md" +0 -523
- package/data/tmui4x/30./347/273/204/344/273/266/345/272/223//345/261/225/347/244/272/347/273/204/344/273/266//345/257/214/346/226/207/346/234/254 xMarkdown.md" +0 -211
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/01.Agent.md +0 -66
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/01./345/211/215/350/250/200.md +0 -20
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/04.SKILL.md +0 -17
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/05.LLMS.md +0 -9
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/06./346/226/207/346/241/243/351/233/206.md +0 -10
- package/data/uni-app-x-docs/tutorial/app-update-wgt.md +0 -13
- package/data/uniappx/tutorial/app-update-wgt.md +0 -9
|
@@ -6,21 +6,26 @@ uni-app x 在 app平台实现了 web css 的子集。
|
|
|
6
6
|
|
|
7
7
|
子集并不影响开发者开发出所需的界面,仅是写法上没有那么丰富。
|
|
8
8
|
|
|
9
|
-
当 uni-app x 编译到 web、小程序等平台时,可以支持 web 的全部 css。同时,**编译器会进行 css 重置**,保证 ucss
|
|
9
|
+
当 uni-app x 编译到 web、小程序等平台时,可以支持 web 的全部 css。同时,**编译器会进行 css 重置**,保证 ucss 这个子集在各端效果的一致性。
|
|
10
|
+
这也意味着使用 uni-app x 的web和小程序平台,在默认值处理上有一定的差异。[见下](#css-reset)
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
浏览器、各平台原生,都有自己的布局和样式设置系统。
|
|
12
13
|
|
|
13
14
|
ucss这个子集,是抽取了web和app的共同能力,并通过web的css写法来设置原生布局和样式。
|
|
14
15
|
|
|
15
16
|
原生App的组件样式都是通过组件的属性设置的。父子组件的属性隔离,样式不会继承。
|
|
16
17
|
|
|
17
18
|
App端与web常见的区别是:
|
|
18
|
-
1. 仅支持**flex
|
|
19
|
+
1. 仅支持**flex 布局**和绝对定位:这是全平台均支持的布局方式
|
|
19
20
|
2. 选择器**只能用 class 选择器**,不能用tag、#id、[attr]等选择器,目前class选择器不支持除A-Z、a-z、0-9、_、- 之外的字符
|
|
20
21
|
3. **样式不继承**,即父元素样式不影响子元素
|
|
21
22
|
|
|
22
23
|
> 但以上仅是常见的区别,并非所有,需开发者继续阅读全文。
|
|
23
24
|
|
|
25
|
+
在AI时代,AI需要的是简单的规则,哪怕多写几个单词;而不是一个界面有很多种写法。这与人手写代码有很大的区别。
|
|
26
|
+
|
|
27
|
+
web中过于灵活的css,一方面影响运行时性能,另一方面影响AI排错。AI很容易搞不清复杂的css选择器权重、搞不清样式继承的影响,导致画错界面。
|
|
28
|
+
|
|
24
29
|
## 页面布局
|
|
25
30
|
|
|
26
31
|
uni-app x 使用flex布局,即弹性盒布局。
|
|
@@ -44,7 +49,7 @@ web和小程序平台虽然默认是flex布局,但通过高权重的样式写`
|
|
|
44
49
|
|
|
45
50
|
在W3C规范中,flex 默认是`横向`的,但uni-app x里全平台的flex方向默认值都是`纵向`的。
|
|
46
51
|
|
|
47
|
-
因为W3C规范中,起初布局是block,后来推出flex
|
|
52
|
+
因为W3C规范中,起初布局是block,后来推出flex时更多场景是用它的横排能力。而在flex是第一布局模型的手机端,大量布局都是竖排的,此时要求开发者大量编写`style="flex-direction:column"`很不友好。
|
|
48
53
|
|
|
49
54
|
所以在uni-app x中默认是竖排(之前nvue也默认是竖排)。
|
|
50
55
|
|
|
@@ -96,11 +101,15 @@ web和小程序平台虽然默认是flex布局,但通过高权重的样式写`
|
|
|
96
101
|
|
|
97
102
|
### 页面级滚动@pagescroll
|
|
98
103
|
|
|
99
|
-
|
|
104
|
+
uni-app x 页面默认均可滚动,除非配置了disablescroll。[详见](../page.md#disablescroll)
|
|
105
|
+
|
|
106
|
+
仅App平台vdom模式下页面不可滚动。
|
|
100
107
|
|
|
101
108
|
## 样式不继承@stylenoextends
|
|
102
109
|
|
|
103
|
-
web的样式继承,主要是文字样式继承。web的css属性众多,规范比较松散,随便一个div
|
|
110
|
+
web的样式继承,主要是文字样式继承。web的css属性众多,规范比较松散,随便一个div都可以写文字相关的样式。
|
|
111
|
+
|
|
112
|
+
这样其实不严谨、性能不好,对AI也很不友好。
|
|
104
113
|
|
|
105
114
|
在原生等严谨的应用开发方案中,均是组件搭配该组件的专有属性。容器组件和文本组件分离,属性各自隔离,不可能在容器组件里写文本组件的样式。
|
|
106
115
|
|
|
@@ -159,7 +168,7 @@ app-uvue的css的“样式不继承”规则,虽然与web有差异,其实只
|
|
|
159
168
|
|
|
160
169
|
由于app平台样式不继承,那么在web中继承相关的关键字`inherit`、`unset`在app中也不支持。
|
|
161
170
|
|
|
162
|
-
由于web的css中某些属性的默认值就是`inherit`,即继承父,此时在ucss
|
|
171
|
+
由于web的css中某些属性的默认值就是`inherit`,即继承父,此时在ucss中会重置为一个独立而具体的默认值。
|
|
163
172
|
|
|
164
173
|
## 样式冲突、优先级@css-specificity
|
|
165
174
|
|
|
@@ -219,21 +228,19 @@ app中,设置样式只有内联样式即style属性和class属性这两种方
|
|
|
219
228
|
|
|
220
229
|
## 样式作用范围 @scoped
|
|
221
230
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
在HBuilderX 5.0以前,不同平台的样式隔离策略有差异。
|
|
231
|
+
非web平台不支持 `css scoped`。
|
|
225
232
|
|
|
226
|
-
|
|
233
|
+
全平台统一遵守[样式隔离策略2.0](./common/style-isolation.md)
|
|
227
234
|
|
|
228
|
-
|
|
235
|
+
页面是否被全局样式影响、组件是否被全局和页面样式影响,均可配置。
|
|
229
236
|
|
|
230
|
-
## 层级
|
|
237
|
+
## z-index层级
|
|
231
238
|
|
|
232
239
|
app平台仅对`同层的兄弟节点`之间支持`z-index`来调节层级。不支持脱离dom树任意调节层级。
|
|
233
240
|
|
|
234
241
|
## css方法 @css-function
|
|
235
242
|
|
|
236
|
-
app平台目前支持url()、rgb()、rgba()、var()、env()。[详见](./common/function.md)
|
|
243
|
+
app平台目前支持url()、rgb()、rgba()、var()、env()、calc()。[详见](./common/function.md)
|
|
237
244
|
|
|
238
245
|
## 字体图标注意
|
|
239
246
|
|
|
@@ -393,26 +400,27 @@ app平台由于暂不支持伪元素,字体图标需使用unicode直显方式
|
|
|
393
400
|
| [visibility](visibility.md) |
|
|
394
401
|
| [white-space](white-space.md) |
|
|
395
402
|
| [width](width.md) |
|
|
403
|
+
| [word-break](word-break.md) |
|
|
396
404
|
| [z-index](z-index.md) |
|
|
397
405
|
|
|
398
406
|
## 不支持拍平的 CSS 属性@css_no_flatten_list
|
|
399
407
|
|
|
400
408
|
| CSS 属性列表 | 兼容性 |
|
|
401
409
|
| :- | :-: |
|
|
402
|
-
| [animation](animation.md) | Android(Vapor)
|
|
410
|
+
| [animation](animation.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
403
411
|
| [animation-composition](animation-composition.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
404
|
-
| [animation-delay](animation-delay.md) | Android(Vapor)
|
|
405
|
-
| [animation-direction](animation-direction.md) | Android(Vapor)
|
|
406
|
-
| [animation-duration](animation-duration.md) | Android(Vapor)
|
|
412
|
+
| [animation-delay](animation-delay.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
413
|
+
| [animation-direction](animation-direction.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
414
|
+
| [animation-duration](animation-duration.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
407
415
|
| [animation-fill-mode](animation-fill-mode.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
408
|
-
| [animation-iteration-count](animation-iteration-count.md) | Android(Vapor)
|
|
409
|
-
| [animation-name](animation-name.md) | Android(Vapor)
|
|
410
|
-
| [animation-play-state](animation-play-state.md) | Android(Vapor)
|
|
416
|
+
| [animation-iteration-count](animation-iteration-count.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
417
|
+
| [animation-name](animation-name.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
418
|
+
| [animation-play-state](animation-play-state.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
411
419
|
| [animation-range](animation-range.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
412
420
|
| [animation-range-end](animation-range-end.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
413
421
|
| [animation-range-start](animation-range-start.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
414
422
|
| [animation-timeline](animation-timeline.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
415
|
-
| [animation-timing-function](animation-timing-function.md) | Android(Vapor)
|
|
423
|
+
| [animation-timing-function](animation-timing-function.md) | Android(Vapor) 5.31 / iOS(Vapor) 5.31 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
416
424
|
| [backdrop-filter](backdrop-filter.md) | |
|
|
417
425
|
| [background-clip](background-clip.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
418
426
|
| [background-image](background-image.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
@@ -423,11 +431,11 @@ app平台由于暂不支持伪元素,字体图标需使用unicode直显方式
|
|
|
423
431
|
| [text-decoration-color](text-decoration-color.md) | Android(Vapor) x / iOS(Vapor) 5.11 / HarmonyOS(Vapor) 5.0(部分支持,见上) |
|
|
424
432
|
| [text-decoration-style](text-decoration-style.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
425
433
|
| [text-decoration-thickness](text-decoration-thickness.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
426
|
-
| [transition](transition.md) | Android(Vapor)
|
|
427
|
-
| [transition-delay](transition-delay.md) | Android(Vapor)
|
|
428
|
-
| [transition-duration](transition-duration.md) | Android(Vapor)
|
|
429
|
-
| [transition-property](transition-property.md) | Android(Vapor)
|
|
430
|
-
| [transition-timing-function](transition-timing-function.md) | Android(Vapor)
|
|
434
|
+
| [transition](transition.md) | Android(Vapor) 5.21 / iOS(Vapor) 5.11 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
435
|
+
| [transition-delay](transition-delay.md) | Android(Vapor) 5.21 / iOS(Vapor) 5.11 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
436
|
+
| [transition-duration](transition-duration.md) | Android(Vapor) 5.21 / iOS(Vapor) 5.11 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
437
|
+
| [transition-property](transition-property.md) | Android(Vapor) 5.21 / iOS(Vapor) 5.11 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
438
|
+
| [transition-timing-function](transition-timing-function.md) | Android(Vapor) 5.21 / iOS(Vapor) 5.11 / HarmonyOS(Vapor) x(部分支持,见上) |
|
|
431
439
|
| [visibility](visibility.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
432
440
|
| [z-index](z-index.md) | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(不支持) |
|
|
433
441
|
|
|
@@ -9,6 +9,20 @@
|
|
|
9
9
|
* [align-content](align-content.md)
|
|
10
10
|
* [align-items](align-items.md)
|
|
11
11
|
* [align-self](align-self.md)
|
|
12
|
+
* [animation](animation.md)
|
|
13
|
+
* [animation-composition](animation-composition.md)
|
|
14
|
+
* [animation-delay](animation-delay.md)
|
|
15
|
+
* [animation-direction](animation-direction.md)
|
|
16
|
+
* [animation-duration](animation-duration.md)
|
|
17
|
+
* [animation-fill-mode](animation-fill-mode.md)
|
|
18
|
+
* [animation-iteration-count](animation-iteration-count.md)
|
|
19
|
+
* [animation-name](animation-name.md)
|
|
20
|
+
* [animation-play-state](animation-play-state.md)
|
|
21
|
+
* [animation-range](animation-range.md)
|
|
22
|
+
* [animation-range-end](animation-range-end.md)
|
|
23
|
+
* [animation-range-start](animation-range-start.md)
|
|
24
|
+
* [animation-timeline](animation-timeline.md)
|
|
25
|
+
* [animation-timing-function](animation-timing-function.md)
|
|
12
26
|
* [backdrop-filter](backdrop-filter.md)
|
|
13
27
|
* [background](background.md)
|
|
14
28
|
* [background-clip](background-clip.md)
|
|
@@ -100,4 +114,5 @@
|
|
|
100
114
|
* [visibility](visibility.md)
|
|
101
115
|
* [white-space](white-space.md)
|
|
102
116
|
* [width](width.md)
|
|
117
|
+
* [word-break](word-break.md)
|
|
103
118
|
* [z-index](z-index.md)
|
|
@@ -58,9 +58,6 @@ align-content: normal | <baseline-position> | <content-distribution> | <overflow
|
|
|
58
58
|
>示例
|
|
59
59
|
```vue
|
|
60
60
|
<template>
|
|
61
|
-
|
|
62
|
-
<scroll-view style="flex: 1">
|
|
63
|
-
|
|
64
61
|
<view style="flex-grow: 1">
|
|
65
62
|
<text class="uni-tips">说明:左边是正常版本,右边是拍平版本</text>
|
|
66
63
|
<view>
|
|
@@ -265,9 +262,6 @@ align-content: normal | <baseline-position> | <content-distribution> | <overflow
|
|
|
265
262
|
<input-data :defaultValue="data.alignContent" title="align-content 自定义值" type="text" @confirm="inputChangeAlignContent"></input-data>
|
|
266
263
|
</view>
|
|
267
264
|
</view>
|
|
268
|
-
|
|
269
|
-
</scroll-view>
|
|
270
|
-
|
|
271
265
|
</template>
|
|
272
266
|
|
|
273
267
|
<style>
|
|
@@ -55,9 +55,6 @@ align-items: normal | stretch | <baseline-position> | [ <overflow-position>? <se
|
|
|
55
55
|
>示例
|
|
56
56
|
```vue
|
|
57
57
|
<template>
|
|
58
|
-
|
|
59
|
-
<scroll-view style="flex: 1">
|
|
60
|
-
|
|
61
58
|
<view style="flex-grow: 1">
|
|
62
59
|
<text class="uni-tips">说明:左边是正常版本,右边是拍平版本</text>
|
|
63
60
|
<view>
|
|
@@ -200,9 +197,6 @@ align-items: normal | stretch | <baseline-position> | [ <overflow-position>? <se
|
|
|
200
197
|
<enum-data :items="alignItemsEnum" title="align-items 枚举值" @change="radioChangeAlignItems" :compact="true"></enum-data>
|
|
201
198
|
<input-data :defaultValue="data.alignItems" title="align-items 自定义值" type="text" @confirm="inputChangeAlignItems"></input-data>
|
|
202
199
|
</view>
|
|
203
|
-
|
|
204
|
-
</scroll-view>
|
|
205
|
-
|
|
206
200
|
</template>
|
|
207
201
|
|
|
208
202
|
<style>
|
|
@@ -43,10 +43,7 @@ align-self: auto | normal | stretch | <baseline-position> | <overflow-position>?
|
|
|
43
43
|
>示例
|
|
44
44
|
```vue
|
|
45
45
|
<template>
|
|
46
|
-
|
|
47
|
-
<scroll-view class="uni-theme-root" style="flex: 1">
|
|
48
|
-
|
|
49
|
-
<view class="css-page uni-theme-root" style="flex-grow: 1;">
|
|
46
|
+
<view class="css-page" style="flex-grow: 1;">
|
|
50
47
|
<text class="uni-tips">说明:左边是正常版本,右边是拍平版本</text>
|
|
51
48
|
<view>
|
|
52
49
|
<text class="theme-label">align-self: auto</text>
|
|
@@ -212,9 +209,6 @@ align-self: auto | normal | stretch | <baseline-position> | <overflow-position>?
|
|
|
212
209
|
</view>
|
|
213
210
|
|
|
214
211
|
</view>
|
|
215
|
-
|
|
216
|
-
</scroll-view>
|
|
217
|
-
|
|
218
212
|
</template>
|
|
219
213
|
|
|
220
214
|
<style>
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
The animation-composition CSS property specifies the composite operation to use when multiple animations affect the same property simultaneously.
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android | iOS | HarmonyOS |
|
|
7
|
-
| :- | :- | :- |
|
|
8
|
-
| x | x | x |
|
|
6
|
+
| Web | Android | iOS | HarmonyOS |
|
|
7
|
+
| :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | x | x |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
@@ -19,11 +19,11 @@ animation-composition: <single-animation-composition>#;
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### animation-composition 的属性值
|
|
22
|
-
| 名称 |
|
|
23
|
-
| :- | :- |
|
|
24
|
-
| replace |
|
|
25
|
-
| add |
|
|
26
|
-
| accumulate |
|
|
22
|
+
| 名称 | 描述 |
|
|
23
|
+
| :- | :- |
|
|
24
|
+
| replace | The effect value overrides the underlying value of the property. This is the default value. |
|
|
25
|
+
| add | The effect value builds on the underlying value of the property. This operation produces an additive effect. For animation types where the addition operation is not commutative, the order of the operands is the underlying value followed by the effect value. |
|
|
26
|
+
| accumulate | The effect and underlying values are combined. For animation types where the addition operation is not commutative, the order of the operands is the underlying value followed by the effect value. |
|
|
27
27
|
|
|
28
28
|
### 默认值 @default-value
|
|
29
29
|
`replace`
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
animation-delay CSS 属性指定从应用动画到元素开始执行动画之前等待的时间量。动画可以稍后开始、立即从开头开始或立即开始并在动画中途播放。
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
12
12
|
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|
|
13
13
|
| :- | :- | :- |
|
|
14
|
-
|
|
|
14
|
+
| 5.31 | 5.31 | x |
|
|
15
15
|
|
|
16
16
|
### 语法
|
|
17
17
|
```
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
animation-direction CSS 属性设置动画是应正向播放、反向播放还是在正向和反向之间交替播放。
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
12
12
|
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|
|
13
13
|
| :- | :- | :- |
|
|
14
|
-
|
|
|
14
|
+
| 5.31 | 5.31 | x |
|
|
15
15
|
|
|
16
16
|
### 语法
|
|
17
17
|
```
|
|
@@ -21,9 +21,9 @@ animation-direction: <single-animation-direction>#;
|
|
|
21
21
|
### animation-direction 的属性值
|
|
22
22
|
| 名称 | 兼容性 | 描述 |
|
|
23
23
|
| :- | :- | :- |
|
|
24
|
-
| alternate |
|
|
24
|
+
| alternate | | 动画在每个循环中正反交替播放,第一次迭代是正向播放。确定循环是奇数还是偶数的计数从 1 开始。 |
|
|
25
25
|
| alternate-reverse | Android(Vapor) x / iOS(Vapor) x(部分支持,见上) | 动画在每个循环中正反交替播放,第一次迭代是反向播放。确定循环是奇数还是偶数的计数从 1 开始。 |
|
|
26
|
-
| normal |
|
|
26
|
+
| normal | | 动画在每个循环中正向播放。换句话说,每次动画循环时,动画将重置为起始状态并重新开始。这是默认值。 |
|
|
27
27
|
| reverse | Android(Vapor) x / iOS(Vapor) x(部分支持,见上) | 动画在每个循环中反向播放。换句话说,每次动画循环时,动画将重置为结束状态并重新开始。动画步骤将反向执行,并且时间函数也将被反转。例如,ease-in 时间函数变为 ease-out。 |
|
|
28
28
|
|
|
29
29
|
### 默认值 @default-value
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
animation-duration CSS 属性设置动画完成一个动画周期所需的时间。
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
12
12
|
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|
|
13
13
|
| :- | :- | :- |
|
|
14
|
-
|
|
|
14
|
+
| 5.31 | 5.31 | x |
|
|
15
15
|
|
|
16
16
|
### 语法
|
|
17
17
|
```
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
CSS 属性 animation-fill-mode 设置 CSS 动画在执行之前和之后如何将样式应用于其目标。
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
@@ -23,7 +23,7 @@ animation-fill-mode: <single-animation-fill-mode>#;
|
|
|
23
23
|
| :- | :- | :- |
|
|
24
24
|
| backwards | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(部分支持,见上) | 动画将在应用于目标时立即应用第一个关键帧中定义的值,并在animation-delay期间保留此值。第一个关键帧取决于animation-direction的值:<br/> <br/> <br/> <br/> animation-direction<br/> first relevant keyframe<br/> <br/> <br/> <br/> <br/> normal or alternate<br/> 0% or from<br/> <br/> <br/> reverse or alternate-reverse<br/> 100% or to |
|
|
25
25
|
| both | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(部分支持,见上) | 动画将遵循forwards和backwards的规则,从而在两个方向上扩展动画属性。 |
|
|
26
|
-
| forwards |
|
|
26
|
+
| forwards | | 目标将保留由执行期间遇到的最后一个关键帧 (en-US)计算值。最后一个关键帧取决于animation-direction和animation-iteration-count的值:<br/> <br/> <br/> <br/> animation-direction<br/> animation-iteration-count<br/> last keyframe encountered<br/> <br/> <br/> <br/> <br/> normal<br/> even or odd<br/> 100% or to<br/> <br/> <br/> reverse<br/> even or odd<br/> 0% or from<br/> <br/> <br/> alternate<br/> even<br/> 0% or from<br/> <br/> <br/> alternate<br/> odd<br/> 100% or to<br/> <br/> <br/> alternate-reverse<br/> even<br/> 100% or to<br/> <br/> <br/> alternate-reverse<br/> odd<br/> 0% or from |
|
|
27
27
|
| none | Android(Vapor) x / iOS(Vapor) x / HarmonyOS(Vapor) x(部分支持,见上) | 当动画未执行时,动画将不会将任何样式应用于目标,而是已经赋予给该元素的 CSS 规则来显示该元素。这是默认值。 |
|
|
28
28
|
|
|
29
29
|
### 默认值 @default-value
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
animation-iteration-count CSS 属性设置动画序列在停止前应播放的次数
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
12
12
|
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|
|
13
13
|
| :- | :- | :- |
|
|
14
|
-
|
|
|
14
|
+
| 5.31 | 5.31 | x |
|
|
15
15
|
|
|
16
16
|
### 语法
|
|
17
17
|
```
|
|
@@ -19,9 +19,9 @@ animation-iteration-count: <single-animation-iteration-count>#;
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### animation-iteration-count 的属性值
|
|
22
|
-
| 名称 |
|
|
23
|
-
| :- | :- |
|
|
24
|
-
| infinite |
|
|
22
|
+
| 名称 | 描述 |
|
|
23
|
+
| :- | :- |
|
|
24
|
+
| infinite | 无限循环播放动画。 |
|
|
25
25
|
|
|
26
26
|
### 默认值 @default-value
|
|
27
27
|
`1`
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
animation-name CSS 属性指定一个或多个 @keyframes at-rule 的名称,这些 at-rule 描述了要应用于元素的动画。多个 @keyframes at-rule 以逗号分隔的名称列表的形式指定。如果指定的名称不匹配任何 @keyframes at-rule,则不会对任何属性进行动画处理。
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
12
12
|
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|
|
13
13
|
| :- | :- | :- |
|
|
14
|
-
|
|
|
14
|
+
| 5.31 | 5.31 | x |
|
|
15
15
|
|
|
16
16
|
### 语法
|
|
17
17
|
```
|
|
@@ -19,9 +19,9 @@ animation-name: [ none | <keyframes-name> ]#;
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### animation-name 的属性值
|
|
22
|
-
| 名称 |
|
|
23
|
-
| :- | :- |
|
|
24
|
-
| none |
|
|
22
|
+
| 名称 | 描述 |
|
|
23
|
+
| :- | :- |
|
|
24
|
+
| none | 一个特殊的关键字,表示没有关键帧。它可用于禁用动画,而不改变其他标识符的顺序,或禁用级联的动画。 |
|
|
25
25
|
|
|
26
26
|
### 默认值 @default-value
|
|
27
27
|
`none`
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
animation-play-state CSS 属性设置动画是运行还是暂停。
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
-
| :- | :- | :- | :- | :- | :- |
|
|
8
|
-
| x | 5.
|
|
6
|
+
| Web | Android(VDOM) | Android(Vapor) | iOS(VDOM) | iOS(Vapor) | HarmonyOS(VDOM) | HarmonyOS(Vapor) |
|
|
7
|
+
| :- | :- | :- | :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
12
12
|
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|
|
13
13
|
| :- | :- | :- |
|
|
14
|
-
|
|
|
14
|
+
| 5.31 | 5.31 | x |
|
|
15
15
|
|
|
16
16
|
### 语法
|
|
17
17
|
```
|
|
@@ -19,10 +19,10 @@ animation-play-state: <single-animation-play-state>#;
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### animation-play-state 的属性值
|
|
22
|
-
| 名称 |
|
|
23
|
-
| :- | :- |
|
|
24
|
-
| paused |
|
|
25
|
-
| running |
|
|
22
|
+
| 名称 | 描述 |
|
|
23
|
+
| :- | :- |
|
|
24
|
+
| paused | 当前动画已被停止。 |
|
|
25
|
+
| running | 当前动画正在运行。 |
|
|
26
26
|
|
|
27
27
|
### 默认值 @default-value
|
|
28
28
|
`running`
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
The animation-range-end CSS property is used to set the end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will end.
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android | iOS | HarmonyOS |
|
|
7
|
-
| :- | :- | :- |
|
|
8
|
-
| x | x | x |
|
|
6
|
+
| Web | Android | iOS | HarmonyOS |
|
|
7
|
+
| :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | x | x |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
The animation-range-start CSS property is used to set the start of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start.
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android | iOS | HarmonyOS |
|
|
7
|
-
| :- | :- | :- |
|
|
8
|
-
| x | x | x |
|
|
6
|
+
| Web | Android | iOS | HarmonyOS |
|
|
7
|
+
| :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | x | x |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
The animation-range CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start and end.
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android | iOS | HarmonyOS |
|
|
7
|
-
| :- | :- | :- |
|
|
8
|
-
| x | x | x |
|
|
6
|
+
| Web | Android | iOS | HarmonyOS |
|
|
7
|
+
| :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | x | x |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
@@ -19,15 +19,15 @@ animation-range: [ <'animation-range-start'> <'animation-range-end'>? ]#;
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### animation-range 的属性值
|
|
22
|
-
| 名称 |
|
|
23
|
-
| :- | :- |
|
|
24
|
-
| normal |
|
|
25
|
-
| cover |
|
|
26
|
-
| contain |
|
|
27
|
-
| entry |
|
|
28
|
-
| exit |
|
|
29
|
-
| entry-crossing |
|
|
30
|
-
| exit-crossing |
|
|
22
|
+
| 名称 | 描述 |
|
|
23
|
+
| :- | :- |
|
|
24
|
+
| normal | Represents the start of the timeline in the case of animation-range-start and the end of the timeline in the case of animation-range-end. This is the default value. |
|
|
25
|
+
| cover | Represents the full range of a named view progress timeline (see CSS scroll-driven animations for more details), from the point where the subject element first starts to enter the scroll port's view progress visibility range (0% progress) to the point where it has completely left it (100% progress). |
|
|
26
|
+
| contain | Represents the range of a named view progress timeline where the subject element is fully contained by, or fully contains, the scroll port's view progress visibility range.<br/> <br/> If the subject element is smaller than the scrollport, it ranges from the point where the subject element is first completely contained by the scroll port (0% progress), to the point where it is no longer completely contained by the scroll port (100% progress).<br/> If the subject element is larger than the scrollport, it ranges from the point where the subject element first completely covers the scroll port (0% progress), to the point where it no longer completely covers the scroll port (100% progress). |
|
|
27
|
+
| entry | Represents the range of a named view progress timeline from the point where the subject element first starts to enter the scroll port (0% progress), to the point where it has completely entered the scroll port (100%). |
|
|
28
|
+
| exit | Represents the range of a named view progress timeline from the point where the subject element first starts to exit the scroll port (0% progress), to the point where it has completely exited the scroll port (100%). |
|
|
29
|
+
| entry-crossing | Represents the range of a named view progress timeline from the point where the subject element first starts to cross the scroll port's starting edge (0% progress), to the point where it has completely crossed the scroll port's starting edge (100%). |
|
|
30
|
+
| exit-crossing | Represents the range of a named view progress timeline from the point where the subject element first starts to cross the scroll port's end edge (0% progress), to the point where it has completely crossed the scroll port's end edge (100%). |
|
|
31
31
|
|
|
32
32
|
### 参见
|
|
33
33
|
- [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range)
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
The animation-timeline CSS property specifies the timeline that is used to control the progress of a CSS animation.
|
|
4
4
|
|
|
5
5
|
### uni-app x 兼容性
|
|
6
|
-
| Android | iOS | HarmonyOS |
|
|
7
|
-
| :- | :- | :- |
|
|
8
|
-
| x | x | x |
|
|
6
|
+
| Web | Android | iOS | HarmonyOS |
|
|
7
|
+
| :- | :- | :- | :- |
|
|
8
|
+
| 4.0 | x | x | x |
|
|
9
9
|
|
|
10
10
|
### App平台拍平(flatten)兼容性 @flatten_compatibility
|
|
11
11
|
|
|
@@ -19,12 +19,12 @@ animation-timeline: <single-animation-timeline>#;
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### animation-timeline 的属性值
|
|
22
|
-
| 名称 |
|
|
23
|
-
| :- | :- |
|
|
24
|
-
| none |
|
|
25
|
-
| auto |
|
|
26
|
-
| scroll() |
|
|
27
|
-
| view() |
|
|
22
|
+
| 名称 | 描述 |
|
|
23
|
+
| :- | :- |
|
|
24
|
+
| none | The animation is not associated with a timeline. |
|
|
25
|
+
| auto | The animation's timeline is the document's default DocumentTimeline. |
|
|
26
|
+
| scroll() | An anonymous scroll progress timeline is provided by some ancestor scroller of the current element. The function parameters allow you to select the scroller, and the scrolling axis the timeline will be measured along.<br/> See scroll() for more information. |
|
|
27
|
+
| view() | An anonymous view progress timeline is provided by the subject that animation-timeline: view(); is set on. The function parameters allow you to select the scrollbar axis along which timeline progress will be tracked and an inset that adjusts the position of the box in which the subject is deemed to be visible.<br/> See view() for more information. |
|
|
28
28
|
|
|
29
29
|
### 默认值 @default-value
|
|
30
30
|
`auto`
|