tmui-cli 5.3.2 → 5.3.3
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/data/components.json +1 -1
- package/data/config.json +1 -1
- package/data/doc-index.json +7 -2
- package/data/guides//345/201/234/346/255/242/345/205/254/345/221/212.md +29 -0
- package/data/guides//346/233/264/346/226/260/346/227/245/345/277/227.md +5 -1
- package/data/tmui4x/01./346/225/231/347/250/213/02./346/233/264/346/226/260/346/227/245/345/277/227.md +1214 -1183
- package/data/tmui4x/10./346/217/222/344/273/266/345/272/223/xCorrectS /346/226/207/346/241/243/346/240/241/346/255/243/344/270/216/350/257/206/345/210/253.md" +1 -1
- package/data/tmui4x/10./346/217/222/344/273/266/345/272/223/xOfficeU Office /346/226/207/346/241/243/347/274/226/350/276/221.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//344/272/214/347/273/264/347/240/201 xQrcoder.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//345/212/250/347/224/273 xAnimation.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//345/216/237/347/224/237/345/233/276/350/241/250 Chart.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//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" +2 -2
- 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" +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/200/235/347/273/264/345/257/274/345/233/276 xTreeFlat.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/211/213/345/212/277/345/272/223 xFinger.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/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" +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//351/242/234/350/211/262/351/200/211/346/213/251 xColorView.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//351/252/214/350/257/201/347/240/201/350/276/223/345/205/245/346/241/206 xCodeInput.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//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//344/270/213/346/213/211/350/217/234/345/215/225 xDropdownMenu.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//344/270/213/346/213/211/350/217/234/345/215/225/345/255/220/347/273/204/344/273/266 xDropdownItem.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/240/350/275/275/344/270/255 xLoading.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/257/271/350/257/235/346/241/206 xModal.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" +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/272/225/351/203/250/345/257/271/350/257/235/346/241/206 xActionModal.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/274/271/345/271/225 Barrage.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/274/271/345/271/225/345/255/220/350/212/202/347/202/271 xBarrageItem.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/212/275/345/261/211 xDrawer.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/213/226/346/213/275/346/216/222/345/272/217 xDrag.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/213/226/346/213/275/346/216/222/345/272/217/345/255/220/347/273/204/344/273/266 xDragItem.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/261/275/346/263/241/350/217/234/345/215/225 xPopover.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/265/256/345/212/250/351/235/242/346/235/277 FloatDrawer.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/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/217/215/351/246/210/347/273/204/344/273/266//346/266/210/346/201/257/351/200/232/347/237/245 xMsgNotice.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//351/201/256/347/275/251 xOverlay.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/345/210/206/347/261/273 xSliderTree.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/345/210/206/347/261/273/345/255/220/350/212/202/347/202/271 xSliderTreeChildren.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" +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/215/225/351/200/211/346/214/211/351/222/256/347/273/204 xRadioButton.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 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" +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/345/255/220/347/273/204/344/273/266 xGuidItem.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/220/234/347/264/242/346/240/217 xSearch.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/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" +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//347/262/230/346/200/247/345/270/203/345/261/200 Sticky.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//347/264/242/345/274/225 xIndexbar.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//350/277/224/345/233/236/351/241/266/351/203/250 xBacktop.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/markdown xCmarkdown.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/200/222/350/256/241/346/227/266 xCountdown.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/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/210/227/350/241/250 xCell.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/212/250/346/200/201/345/205/250/345/261/217 xViewTofull.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" +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/233/276/347/211/207 xImage.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/233/276/351/233/206 xImageGroup.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/234/206/345/275/242/350/277/233/345/272/246/347/216/257 xCircleProgress.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/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" +3 -3
- 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" +3 -3
- 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//346/225/260/345/255/227/347/277/273/346/273/232 xRollingNumber.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/237/245/347/234/213/346/233/264/345/244/232 xMore.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/250/252/345/220/221/346/273/232/345/212/250 xScrollx.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/255/245/351/252/244/346/235/241 xSteps.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/255/245/351/252/244/346/235/241/345/255/220/347/273/204/344/273/266 xStepsItem.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/260/264/345/215/260 xWatermark.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/200/221/345/270/203/346/265/201 xWaterfall.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" +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/231/232/346/213/237/345/210/227/350/241/250 xVirtualList.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/241/250/346/240/274 xTable.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/241/250/346/240/274/345/210/227 xTableCol.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/247/222/346/240/207 xBadge.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/255/246/345/221/212 xAlert.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/257/215/344/272/221 xTextCloud.md" +8 -3
- 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/200/232/347/237/245/346/240/217 xNotice.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/207/221/351/242/235/346/240/205/346/240/274 xMoney.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/261/225/347/244/272/347/273/204/344/273/266//351/252/250/346/236/266/345/261/217 xSkeleton.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" +15 -25
- 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/233/276/346/240/207 xIcon.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/256/271/345/231/250 xSheet.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/270/203/345/261/200 xRow.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/270/203/345/261/200/345/255/220/347/273/204/344/273/266 xCol.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//346/214/211/351/222/256 xButton.md" +74 -72
- 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//346/226/207/346/234/254 xText.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//346/240/207/347/255/276 xTag.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/215/225/346/273/221/345/235/227 xSlider.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/215/225/351/200/211/346/241/206 xRadio.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/215/225/351/200/211/346/241/206/347/273/204 xRadioGroup.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/217/214/345/220/221/346/273/221/345/235/227 xSliderDouble.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/233/276/347/211/207/344/270/212/344/274/240 xUploadMedia.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/237/216/345/270/202/351/200/211/346/213/251/345/231/250 xPickerCity.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/244/232/351/200/211/346/227/245/345/216/206 xCalendarMultiple.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/244/232/351/200/211/346/241/206 xCheckbox.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/244/232/351/200/211/346/241/206/347/273/204 xCheckboxGroup.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/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" +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/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" +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/274/200/345/205/263 xSwitch.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/220/234/347/264/242/351/200/211/346/213/251 xpickerSelected.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/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" +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/227/245/345/216/206 xCalendar.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/227/245/346/234/237/351/200/211/346/213/251/345/231/250 xPickerDate.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/227/266/351/227/264/345/214/272/351/227/264/351/200/211/346/213/251 xBetweenTime.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/227/266/351/227/264/351/200/211/346/213/251/345/231/250 xPickerTime.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/236/201/350/201/224/345/231/250 xCascader.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/240/207/347/255/276/350/276/223/345/205/245/346/241/206 xInputTag.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/240/221 xTree.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/255/245/350/277/233/345/231/250 xStepper.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//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" +139 -3
- 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" +139 -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//350/257/204/345/210/206 xRate.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/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" +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//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 xPicker.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" +1 -1
- package/data/tmui4x/60.AI/350/207/252/345/212/250/345/214/226/06.tokens/350/207/252/347/224/261.md +2 -6
- package/data/tmui4x-doc-index.json +1 -1
- package/data/uni-app-x-docs/.vuepress/utils/customTypeJson.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/_sidebar.md +1 -0
- package/data/uni-app-x-docs/api/_sidebar.md +3 -0
- package/data/uni-app-x-docs/api/bluetooth-general.md +280 -0
- package/data/uni-app-x-docs/api/bluetooth-le-central.md +376 -0
- package/data/uni-app-x-docs/api/keyboard.md +6 -0
- package/data/uni-app-x-docs/api/memory.md +1 -1
- package/data/uni-app-x-docs/api/scrollviewcontext.md +111 -0
- package/data/uni-app-x-docs/api/unicloud/README.md +1 -1
- package/data/uni-app-x-docs/app-vapor.md +2 -41
- package/data/uni-app-x-docs/collocation/manifest-android.md +1 -1
- package/data/uni-app-x-docs/component/_sidebar.md +2 -1
- package/data/uni-app-x-docs/component/common.md +48 -2
- package/data/uni-app-x-docs/component/datacom.md +823 -0
- package/data/uni-app-x-docs/component/input.md +2 -2
- package/data/uni-app-x-docs/component/label.md +1 -1
- package/data/uni-app-x-docs/component/map.md +12 -12
- package/data/uni-app-x-docs/component/text.md +7 -3
- package/data/uni-app-x-docs/component/textarea.md +2 -6
- package/data/uni-app-x-docs/component/uni-ui-x/uni-expandable-text.md +22 -0
- package/data/uni-app-x-docs/component/web-view.md +65 -0
- package/data/uni-app-x-docs/css/common/style-isolation.md +8 -0
- package/data/uni-app-x-docs/css/word-break.md +3 -0
- package/data/uni-app-x-docs/native/download/android.md +83 -103
- package/data/uni-app-x-docs/native/download/ios.md +10 -10
- package/data/uni-app-x-docs/readme.md +2 -1
- package/data/uni-app-x-docs/release-note-alpha.md +39 -0
- package/data/uni-app-x-docs/release.md +144 -1
- package/data/uni-app-x-docs/sample.md +15 -12
- package/data/uni-app-x-docs/static/bluetooth-general-flow.svg +69 -0
- package/data/uni-app-x-docs/static/bluetooth-le-central-flow.svg +102 -0
- package/data/uniappx/_sidebar.md +1 -0
- package/data/uniappx/api/_sidebar.md +3 -0
- package/data/uniappx/api/app-route.md +10 -10
- package/data/uniappx/api/bluetooth-general.md +822 -0
- package/data/uniappx/api/bluetooth-le-central.md +1044 -0
- package/data/uniappx/api/calendar.md +4 -4
- package/data/uniappx/api/compress-image.md +1 -1
- package/data/uniappx/api/contact.md +0 -4
- package/data/uniappx/api/convert2-abs-full-path.md +4 -0
- package/data/uniappx/api/create-canvas-context-async.md +0 -4
- package/data/uniappx/api/create-inner-audio-context.md +1 -1
- package/data/uniappx/api/get-app-base-info.md +1 -1
- package/data/uniappx/api/get-location.md +2 -2
- package/data/uniappx/api/get-recorder-manager.md +1 -1
- package/data/uniappx/api/get-video-info.md +1 -1
- package/data/uniappx/api/gyroscope.md +8 -8
- package/data/uniappx/api/install-wgt.md +4 -0
- package/data/uniappx/api/keyboard.md +6 -0
- package/data/uniappx/api/loading.md +2 -2
- package/data/uniappx/api/memory.md +1 -1
- package/data/uniappx/api/modal.md +1 -1
- package/data/uniappx/api/preview-image.md +4 -4
- package/data/uniappx/api/report.md +0 -4
- package/data/uniappx/api/request-system-permission.md +2 -2
- package/data/uniappx/api/screen-brightness.md +6 -6
- package/data/uniappx/api/scrollviewcontext.md +3 -0
- package/data/uniappx/api/toast.md +2 -2
- package/data/uniappx/api/uasm.md +4 -4
- package/data/uniappx/api/unicloud/README.md +1 -1
- package/data/uniappx/api/uniresizeobserver.md +144 -27
- package/data/uniappx/api/vibrate.md +8 -0
- package/data/uniappx/app-vapor.md +2 -41
- package/data/uniappx/collocation/manifest-android.md +1 -1
- package/data/uniappx/component/_sidebar.md +2 -1
- package/data/uniappx/component/animation-view.md +2 -2
- package/data/uniappx/component/camera.md +1 -1
- package/data/uniappx/component/canvas.md +2 -2
- package/data/uniappx/component/common.md +48 -1
- package/data/uniappx/component/datacom.md +683 -0
- package/data/uniappx/component/editor.md +1 -1
- package/data/uniappx/component/image.md +1 -1
- package/data/uniappx/component/input.md +2 -2
- package/data/uniappx/component/label.md +1 -1
- package/data/uniappx/component/map.md +12 -12
- package/data/uniappx/component/progress.md +3 -3
- package/data/uniappx/component/radio.md +1 -1
- package/data/uniappx/component/rich-text.md +3 -3
- package/data/uniappx/component/swiper.md +1 -1
- package/data/uniappx/component/switch.md +2 -2
- package/data/uniappx/component/text.md +9 -5
- package/data/uniappx/component/textarea.md +2 -6
- package/data/uniappx/component/uni-ui-x/README.md +21 -19
- package/data/uniappx/component/uni-ui-x/uni-collapse.md +8 -0
- package/data/uniappx/component/uni-ui-x/uni-combox.md +19 -0
- package/data/uniappx/component/uni-ui-x/uni-drag-cell.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-expandable-text.md +120 -0
- package/data/uniappx/component/uni-ui-x/uni-fab-button.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-icons.md +60 -18
- package/data/uniappx/component/uni-ui-x/uni-index-bar.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-link.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-nav-bar.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-number-box.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-rate.md +2 -2
- package/data/uniappx/component/uni-ui-x/uni-refresh-box.md +4 -0
- package/data/uniappx/component/uni-ui-x/uni-tab.md +16 -0
- package/data/uniappx/component/uni-ui-x/uni-time-format.md +4 -0
- package/data/uniappx/component/view.md +1 -1
- package/data/uniappx/component/waterflow.md +1 -1
- package/data/uniappx/component/web-view.md +54 -1
- package/data/uniappx/css/common/style-isolation.md +8 -0
- package/data/uniappx/css/word-break.md +3 -0
- package/data/uniappx/native/download/android.md +80 -100
- package/data/uniappx/native/download/ios.md +10 -10
- package/data/uniappx/readme.md +2 -1
- package/data/uniappx/release-note-alpha.md +39 -0
- package/data/uniappx/release.md +143 -0
- package/data/uniappx/sample.md +15 -12
- package/data/uniappx/uts/buildin-object-api/global.md +2 -2
- package/data/uniappx/uts/buildin-object-api/utsjsonobject.md +4 -0
- package/data/uniappx-doc-index.json +99 -25
- package/package.json +1 -1
|
@@ -107,87 +107,89 @@
|
|
|
107
107
|
|
|
108
108
|
```vue
|
|
109
109
|
<template>
|
|
110
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
110
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
111
111
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
112
112
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
113
113
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
114
114
|
</page-meta>
|
|
115
115
|
<!-- #endif -->
|
|
116
|
-
<x-sheet>
|
|
117
|
-
<x-text font-size="18" class=" text-weight-b">按钮 Button</x-text>
|
|
118
|
-
<x-text class=" text-grey line-8">样式比原生丰富,主题颜色可以随意的为css合法值以及自己定义的品牌颜色名称,比较随意。</x-text>
|
|
119
|
-
</x-sheet>
|
|
120
116
|
<view>
|
|
121
117
|
<x-sheet>
|
|
122
|
-
<x-
|
|
123
|
-
<x-
|
|
124
|
-
<x-button :block="true" class="mb-12" color="warn">警告</x-button>
|
|
125
|
-
<x-button :block="true" class="mb-12" color="danger">危险</x-button>
|
|
126
|
-
<x-button :block="true" class="mb-12" color="success">成功</x-button>
|
|
127
|
-
<x-button darkColor="#222222" :block="true" :shadow="[0,0]" class="mb-12" skin="thin" color="info">次要</x-button>
|
|
128
|
-
|
|
129
|
-
</x-sheet>
|
|
130
|
-
|
|
131
|
-
<x-sheet>
|
|
132
|
-
<x-text font-size="18" class=" text-weight-b">尺寸</x-text>
|
|
133
|
-
</x-sheet>
|
|
134
|
-
<x-sheet class=" white round-10 pa-24 mx-24 mb-12 ">
|
|
135
|
-
<x-button size="mini" class="mb-12">超小</x-button>
|
|
136
|
-
<x-button size="small" class="mb-12" color="warn">小</x-button>
|
|
137
|
-
<x-button size="normal" class="mb-12" color="success">正常</x-button>
|
|
138
|
-
<x-button size="large" class="mb-12" color="danger">大</x-button>
|
|
139
|
-
</x-sheet>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<x-sheet>
|
|
143
|
-
<x-text font-size="18" class=" text-weight-b">样式</x-text>
|
|
118
|
+
<x-text font-size="18" class=" text-weight-b">按钮 Button</x-text>
|
|
119
|
+
<x-text class=" text-grey line-8">样式比原生丰富,主题颜色可以随意的为css合法值以及自己定义的品牌颜色名称,比较随意。</x-text>
|
|
144
120
|
</x-sheet>
|
|
145
|
-
<
|
|
146
|
-
<x-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
<x-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<x-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<x-button
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
<x-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
<x-button
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<x-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
:
|
|
183
|
-
|
|
184
|
-
:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
121
|
+
<view>
|
|
122
|
+
<x-sheet>
|
|
123
|
+
<x-button :block="true" class="mb-12">主色</x-button>
|
|
124
|
+
<x-button :block="true" class="mb-12" color="error">错误</x-button>
|
|
125
|
+
<x-button :block="true" class="mb-12" color="warn">警告</x-button>
|
|
126
|
+
<x-button :block="true" class="mb-12" color="danger">危险</x-button>
|
|
127
|
+
<x-button :block="true" class="mb-12" color="success">成功</x-button>
|
|
128
|
+
<x-button darkColor="#222222" :block="true" :shadow="[0,0]" class="mb-12" skin="thin" color="info">次要</x-button>
|
|
129
|
+
|
|
130
|
+
</x-sheet>
|
|
131
|
+
|
|
132
|
+
<x-sheet>
|
|
133
|
+
<x-text font-size="18" class=" text-weight-b">尺寸</x-text>
|
|
134
|
+
</x-sheet>
|
|
135
|
+
<x-sheet class=" white round-10 pa-24 mx-24 mb-12 flex flex-row flex-wrap">
|
|
136
|
+
<x-button size="mini" class="mb-12">超小</x-button>
|
|
137
|
+
<x-button class="ml-5 mb-12" size="small" color="warn">小</x-button>
|
|
138
|
+
<x-button class="ml-5 mb-12" size="normal" color="success">正常</x-button>
|
|
139
|
+
<x-button size="large" class="mb-12" color="danger">大</x-button>
|
|
140
|
+
</x-sheet>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
<x-sheet>
|
|
144
|
+
<x-text font-size="18" class=" text-weight-b">样式</x-text>
|
|
145
|
+
</x-sheet>
|
|
146
|
+
<x-sheet class=" white round-10 pa-24 mx-24 mb-12 ">
|
|
147
|
+
<x-button :block="true" class="mb-12" skin="primary">主色</x-button>
|
|
148
|
+
<x-button :block="true" class="mb-12" skin="thin">浅色按钮</x-button>
|
|
149
|
+
<x-button :block="true" class="mb-12" :skin="skin" @click="skin = 'primary'">镂空按钮</x-button>
|
|
150
|
+
<x-button :block="true" class="mb-12" skin="dashed">虚线按钮</x-button>
|
|
151
|
+
<x-button :block="true" class="mb-12" skin="text">文本按钮</x-button>
|
|
152
|
+
</x-sheet>
|
|
153
|
+
<x-sheet>
|
|
154
|
+
<x-text font-size="18" class=" text-weight-b">其它样式,图标,尺寸等</x-text>
|
|
155
|
+
</x-sheet>
|
|
156
|
+
<x-sheet class=" white round-10 pa-24 mx-24 mb-12 ">
|
|
157
|
+
<x-button :block="true" icon="thumb-up-fill" class="mb-12" >图标按钮</x-button>
|
|
158
|
+
<x-button :block="true" icon="verified-badge-line" :disabled="disable" class="mb-12"
|
|
159
|
+
>禁用</x-button>
|
|
160
|
+
<x-button :block="true" icon="customer-service-fill" :loading="disable" class="mb-12"
|
|
161
|
+
>加载中</x-button>
|
|
162
|
+
|
|
163
|
+
<view class="flex flex-row flex-row-center-between pb-8">
|
|
164
|
+
<x-button font-size="20" :iconBtn="true" icon="lock-unlock-fill" round="88" width="88">
|
|
165
|
+
</x-button>
|
|
166
|
+
<x-button font-size="20" :iconBtn="true" icon="thumb-up-fill" round="88" width="88"
|
|
167
|
+
color="naplesyellow">
|
|
168
|
+
</x-button>
|
|
169
|
+
<x-button font-size="20" :iconBtn="true" icon="headphone-fill" round="88" width="88"
|
|
170
|
+
color="majorelleblue">
|
|
171
|
+
</x-button>
|
|
172
|
+
<x-button font-size="20" :iconBtn="true" icon="alarm-fill" round="88" width="88" color="venetianred">
|
|
173
|
+
</x-button>
|
|
174
|
+
|
|
175
|
+
</view>
|
|
176
|
+
</x-sheet>
|
|
177
|
+
<x-sheet>
|
|
178
|
+
<x-text font-size="18" class=" text-weight-b">渐变</x-text>
|
|
179
|
+
<x-text class=" text-grey ">渐变参考:https://www.designgradients.com/</x-text>
|
|
180
|
+
</x-sheet>
|
|
181
|
+
<x-sheet class=" white round-10 pa-24 mx-24 mb-12 ">
|
|
182
|
+
<x-button :block="true" :border="0" round="88" color="#ff667f"
|
|
183
|
+
:linearGradient="['left','#ff667f','#fdb247']" class="mb-12" status="primary">渐变</x-button>
|
|
184
|
+
<x-button :block="true" :border="0" round="88" color="#A531DC"
|
|
185
|
+
:linearGradient="['left','#A531DC','#4300B1']" class="mb-12" status="primary">渐变</x-button>
|
|
186
|
+
<x-button :block="true" :border="0" round="88" color="#D02020"
|
|
187
|
+
:linearGradient="['left','#FF896D','#D02020']" class="mb-12" status="primary">渐变</x-button>
|
|
188
|
+
</x-sheet>
|
|
189
|
+
|
|
190
|
+
</view>
|
|
191
|
+
<view class="py-32"></view>
|
|
189
192
|
</view>
|
|
190
|
-
<view class="py-32"></view>
|
|
191
193
|
|
|
192
194
|
</template>
|
|
193
195
|
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
76
|
|
|
77
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
77
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
78
78
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
79
79
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
80
80
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
```vue
|
|
79
79
|
<template>
|
|
80
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
80
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
81
81
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
82
82
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
83
83
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
76
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
77
77
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
78
78
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
79
79
|
</page-meta>
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
```vue
|
|
78
78
|
<template>
|
|
79
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
79
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
80
80
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
81
81
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
82
82
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
```vue
|
|
65
65
|
<template>
|
|
66
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
66
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
67
67
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
68
68
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
69
69
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
76
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
77
77
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
78
78
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
79
79
|
</page-meta>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
```vue
|
|
92
92
|
<template>
|
|
93
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
93
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
94
94
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
95
95
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
96
96
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
|
|
76
76
|
```vue
|
|
77
77
|
<template>
|
|
78
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
78
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
79
79
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
80
80
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
81
81
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
```vue
|
|
94
94
|
<template>
|
|
95
95
|
|
|
96
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
96
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
97
97
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
98
98
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
99
99
|
</page-meta>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
```vue
|
|
79
79
|
<template>
|
|
80
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
80
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
81
81
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
82
82
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
83
83
|
</page-meta>
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
```vue
|
|
66
66
|
<template>
|
|
67
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
67
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
68
68
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
69
69
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
70
70
|
</page-meta>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
```vue
|
|
73
73
|
<template>
|
|
74
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
74
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
75
75
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
76
76
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
77
77
|
</page-meta>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
```vue
|
|
74
74
|
<template>
|
|
75
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
75
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
76
76
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
77
77
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
78
78
|
</page-meta>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
```vue
|
|
73
73
|
<template>
|
|
74
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
74
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
75
75
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
76
76
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
77
77
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
```vue
|
|
75
75
|
<template>
|
|
76
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
76
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
77
77
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
78
78
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
79
79
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
```vue
|
|
100
100
|
<template>
|
|
101
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
101
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
102
102
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
103
103
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
104
104
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|
|
75
75
|
```vue
|
|
76
76
|
<template>
|
|
77
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
77
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
78
78
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
79
79
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
80
80
|
</page-meta>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
```vue
|
|
79
79
|
<template>
|
|
80
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
80
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
81
81
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
82
82
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
83
83
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
```vue
|
|
90
90
|
<template>
|
|
91
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
91
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
92
92
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
93
93
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
94
94
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
```vue
|
|
83
83
|
<template>
|
|
84
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
84
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
85
85
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
86
86
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
87
87
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
```vue
|
|
84
84
|
<template>
|
|
85
85
|
|
|
86
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
86
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
87
87
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
88
88
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
89
89
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
```vue
|
|
81
81
|
<template>
|
|
82
82
|
|
|
83
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
83
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
84
84
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
85
85
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
86
86
|
</page-meta>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
```vue
|
|
73
73
|
<template>
|
|
74
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
74
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
75
75
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
76
76
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
77
77
|
</page-meta>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|
|
75
75
|
```vue
|
|
76
76
|
<template>
|
|
77
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
77
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
78
78
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
79
79
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
80
80
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
|
|
76
76
|
```vue
|
|
77
77
|
<template>
|
|
78
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
78
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
79
79
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
80
80
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
81
81
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
```vue
|
|
86
86
|
<template>
|
|
87
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
87
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
88
88
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
89
89
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
90
90
|
</page-meta>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
```vue
|
|
79
79
|
<template>
|
|
80
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
80
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
81
81
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
82
82
|
<navigation-bar :background-color="xThemeConfigNavBgColor" :front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
83
83
|
</page-meta>
|
|
@@ -61,8 +61,10 @@
|
|
|
61
61
|
| ------ | ---- | ---- | ---- |
|
|
62
62
|
| id | - | `-` | - |
|
|
63
63
|
| checkAsyncVaildStatus | - | `-` | 用来首次同步检测:modelValid,一定要在onready生命期中执行,并且你赋值完表数据后再来个,nextTick中执行本方法,可以确保不会有遗漏。 |
|
|
64
|
-
| valid |
|
|
64
|
+
| valid | - | `-` | 手动校验。空数组校验全部已注册字段,model 里没有的键按空值处理。<br>options 不传时显示错误并触发 submit。静默校验传 showError / emitSubmit。 |
|
|
65
65
|
| clearValid | - | `-` | 清除校验状态并回到初始状态。 |
|
|
66
|
+
| setFieldError | - | `-` | 把服务端错误写到对应字段上,不重新跑本地规则。 |
|
|
67
|
+
| clearFieldError | - | `-` | 清除一个字段的错误。key 为空时清除全部。 |
|
|
66
68
|
| submit | - | `-` | - |
|
|
67
69
|
|
|
68
70
|
|
|
@@ -76,7 +78,7 @@
|
|
|
76
78
|
|
|
77
79
|
```vue
|
|
78
80
|
<template>
|
|
79
|
-
<!-- #ifdef MP-WEIXIN -->
|
|
81
|
+
<!-- #ifdef MP-WEIXIN || MP-ALIPAY -->
|
|
80
82
|
<page-meta :page-style="`background-color:${xThemeConfigBgColor}`">
|
|
81
83
|
<navigation-bar :background-color="xThemeConfigNavBgColor"
|
|
82
84
|
:front-color="xThemeConfigNavFontColor"></navigation-bar>
|
|
@@ -170,15 +172,53 @@
|
|
|
170
172
|
</x-form>
|
|
171
173
|
</x-sheet>
|
|
172
174
|
|
|
175
|
+
<x-sheet>
|
|
176
|
+
<x-text font-size="18" class=" text-weight-b mb-8">JSON 规则</x-text>
|
|
177
|
+
<x-text color="#999999">邮箱选填,空值通过,有值才校验格式。编码、城市、确认密码只写数据规则,不写函数。动态字段卸掉后不再参与校验。</x-text>
|
|
178
|
+
</x-sheet>
|
|
179
|
+
<x-sheet>
|
|
180
|
+
<x-form ref="dslForm" :rules="dslRules" v-model="(dslData as DSL_TYPE)" @submit="(onDslSubmit as resultTtype)">
|
|
181
|
+
<x-form-item field="email" label="邮箱(选填)" :required="false">
|
|
182
|
+
<x-input color="transparent" align="right" placeholder="可空" v-model="(dslData.email as string)"></x-input>
|
|
183
|
+
</x-form-item>
|
|
184
|
+
<x-form-item field="code" label="编码" :required="true">
|
|
185
|
+
<x-input color="transparent" align="right" placeholder="字母或数字" v-model="(dslData.code as string)"></x-input>
|
|
186
|
+
</x-form-item>
|
|
187
|
+
<x-form-item field="city" label="城市" :required="true">
|
|
188
|
+
<x-input color="transparent" align="right" placeholder="北京/上海/深圳" v-model="(dslData.city as string)"></x-input>
|
|
189
|
+
</x-form-item>
|
|
190
|
+
<x-form-item field="password" label="密码" :required="true">
|
|
191
|
+
<x-input color="transparent" :password="true" align="right" v-model="(dslData.password as string)"></x-input>
|
|
192
|
+
</x-form-item>
|
|
193
|
+
<x-form-item field="confirm" label="确认密码" :required="true">
|
|
194
|
+
<x-input color="transparent" :password="true" align="right" v-model="(dslData.confirm as string)"></x-input>
|
|
195
|
+
</x-form-item>
|
|
196
|
+
<x-form-item v-if="showExtra" field="extra" label="动态字段" :required="true">
|
|
197
|
+
<x-input color="transparent" align="right" v-model="(dslData.extra as string)"></x-input>
|
|
198
|
+
</x-form-item>
|
|
199
|
+
<view class="flex flex-row flex-row-center-between mt-32">
|
|
200
|
+
<x-button style="width: calc(50% - 6px);" @click="toggleExtra">动态字段</x-button>
|
|
201
|
+
<x-button style="width: calc(50% - 6px);" @click="silentValid">静默校验</x-button>
|
|
202
|
+
</view>
|
|
203
|
+
<view class="flex flex-row flex-row-center-between mt-12">
|
|
204
|
+
<x-button style="width: calc(50% - 6px);" @click="markServer">服务端错误</x-button>
|
|
205
|
+
<x-button style="width: calc(50% - 6px);" @click="clearServer">清除错误</x-button>
|
|
206
|
+
</view>
|
|
207
|
+
<x-button form-type="form" class="mt-12" :block="true">提交 JSON 规则</x-button>
|
|
208
|
+
</x-form>
|
|
209
|
+
</x-sheet>
|
|
210
|
+
|
|
173
211
|
<view style="height: 550px;"></view>
|
|
174
212
|
|
|
175
213
|
</template>
|
|
176
214
|
|
|
177
215
|
<script lang="ts" setup>
|
|
178
216
|
import { ref } from "vue"
|
|
179
|
-
import type { FORM_RULE,FORM_SUBMIT_RESULT, XUPLOADFILE_FILE_VALUE } from "@/uni_modules/tmx-ui"
|
|
217
|
+
import type { FORM_RULE, FORM_SUBMIT_RESULT, FORM_VALID_OPTIONS, XUPLOADFILE_FILE_VALUE } from "@/uni_modules/tmx-ui"
|
|
180
218
|
// @ts-ignore
|
|
181
219
|
const form = ref<XFormComponentPublicInstance | null>(null)
|
|
220
|
+
// @ts-ignore
|
|
221
|
+
const dslForm = ref<XFormComponentPublicInstance | null>(null)
|
|
182
222
|
type resultTtype = (evt : FORM_SUBMIT_RESULT) => void;
|
|
183
223
|
type labelDirType = 'vertical' | 'horizontal'
|
|
184
224
|
type USER_TYPE_CHILDRENFORM = {
|
|
@@ -323,6 +363,102 @@
|
|
|
323
363
|
const clearValid = () => {
|
|
324
364
|
form.value!.clearValid()
|
|
325
365
|
}
|
|
366
|
+
|
|
367
|
+
const showExtra = ref(false)
|
|
368
|
+
type DSL_TYPE = {
|
|
369
|
+
email : string,
|
|
370
|
+
code : string,
|
|
371
|
+
city : string,
|
|
372
|
+
password : string,
|
|
373
|
+
confirm : string,
|
|
374
|
+
extra : string
|
|
375
|
+
}
|
|
376
|
+
type DSL_RULES = {
|
|
377
|
+
email : FORM_RULE[],
|
|
378
|
+
code : FORM_RULE[],
|
|
379
|
+
city : FORM_RULE[],
|
|
380
|
+
password : FORM_RULE[],
|
|
381
|
+
confirm : FORM_RULE[],
|
|
382
|
+
extra : FORM_RULE[]
|
|
383
|
+
}
|
|
384
|
+
const dslData = ref<DSL_TYPE>({
|
|
385
|
+
email: "",
|
|
386
|
+
code: "",
|
|
387
|
+
city: "",
|
|
388
|
+
password: "",
|
|
389
|
+
confirm: "",
|
|
390
|
+
extra: ""
|
|
391
|
+
})
|
|
392
|
+
const dslRules : DSL_RULES = {
|
|
393
|
+
email: [
|
|
394
|
+
{
|
|
395
|
+
type: "email",
|
|
396
|
+
errorMessage: "邮箱格式不正确"
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
code: [
|
|
400
|
+
{
|
|
401
|
+
required: true,
|
|
402
|
+
errorMessage: "请填写编码"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
pattern: "^[A-Za-z0-9]+$",
|
|
406
|
+
errorMessage: "编码只能是字母或数字"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
city: [
|
|
410
|
+
{
|
|
411
|
+
required: true,
|
|
412
|
+
oneOf: ["北京", "上海", "深圳"] as string[],
|
|
413
|
+
errorMessage: "城市只能是北京、上海、深圳"
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
password: [
|
|
417
|
+
{
|
|
418
|
+
type: "string",
|
|
419
|
+
min: 6,
|
|
420
|
+
max: 16,
|
|
421
|
+
errorMessage: "密码需要 6-16 位"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
confirm: [
|
|
425
|
+
{
|
|
426
|
+
required: true,
|
|
427
|
+
errorMessage: "请再次输入密码"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
validator: "equalTo",
|
|
431
|
+
validatorArgs: "password",
|
|
432
|
+
errorMessage: "两次密码不一致"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
extra: [
|
|
436
|
+
{
|
|
437
|
+
type: "string",
|
|
438
|
+
min: 1,
|
|
439
|
+
errorMessage: "请填写动态字段"
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
const onDslSubmit = (evt : FORM_SUBMIT_RESULT) => {
|
|
444
|
+
uni.showToast({ title: evt.valid ? "通过" : evt.errorMessage, icon: "none" })
|
|
445
|
+
}
|
|
446
|
+
const toggleExtra = () => {
|
|
447
|
+
showExtra.value = !showExtra.value
|
|
448
|
+
}
|
|
449
|
+
const silentValid = () => {
|
|
450
|
+
let result = dslForm.value!.valid([] as string[], {
|
|
451
|
+
showError: true,
|
|
452
|
+
emitSubmit: false
|
|
453
|
+
} as FORM_VALID_OPTIONS) as FORM_SUBMIT_RESULT
|
|
454
|
+
uni.showToast({ title: result.valid ? "静默校验通过" : result.errorMessage, icon: "none" })
|
|
455
|
+
}
|
|
456
|
+
const markServer = () => {
|
|
457
|
+
dslForm.value!.setFieldError("code", "服务端:编码已存在")
|
|
458
|
+
}
|
|
459
|
+
const clearServer = () => {
|
|
460
|
+
dslForm.value!.clearFieldError("code")
|
|
461
|
+
}
|
|
326
462
|
|
|
327
463
|
</script>
|
|
328
464
|
|