@tuya-miniapp/smart-ui 2.3.8-beta-4 → 2.3.8-beta-5
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/.drone.yml +22 -0
- package/.editorconfig +20 -0
- package/.eslintignore +2 -0
- package/.eslintrc.js +17 -0
- package/.gitignore +21 -0
- package/.gitlab/issue_templates/BUG.md +49 -0
- package/.gitlab/issue_templates/FEATURE.md +60 -0
- package/.grobot.yml +10 -0
- package/.husky/_/.gitignore +1 -0
- package/.husky/_/husky.sh +36 -0
- package/.husky/commit-msg +3 -0
- package/.prettierignore +2 -0
- package/.prettierrc.js +1 -0
- package/.stylelintrc +21 -0
- package/CONTRIBUTING.md +26 -0
- package/babel.config.js +17 -0
- package/build/compiler.js +202 -0
- package/build/dev.mjs +14 -0
- package/build/generate-icon/generateDemo.js +34 -0
- package/build/generate-icon/generateIcons.js +52 -0
- package/build/generate-icon/getIcons.js +11 -0
- package/build/generate-icon/index.js +5 -0
- package/build/generate-icon/svg/a-airplanearrival.svg +1 -0
- package/build/generate-icon/svg/a-airplanedeparture.svg +1 -0
- package/build/generate-icon/svg/a-alarmfill.svg +1 -0
- package/build/generate-icon/svg/a-antennaradiowavesleftandright.svg +1 -0
- package/build/generate-icon/svg/a-arrow2squarepath.svg +1 -0
- package/build/generate-icon/svg/a-arrowbackward.svg +1 -0
- package/build/generate-icon/svg/a-arrowclockwiseicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-arrowcounterclockwise.svg +1 -0
- package/build/generate-icon/svg/a-arrowcounterclockwiseicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-arrowdown.svg +1 -0
- package/build/generate-icon/svg/a-arrowforward.svg +1 -0
- package/build/generate-icon/svg/a-arrowleftarrowright.svg +1 -0
- package/build/generate-icon/svg/a-arrowlefttolinealt.svg +1 -0
- package/build/generate-icon/svg/a-arrowrighttolinealt.svg +1 -0
- package/build/generate-icon/svg/a-arrowshapeturnupleft2fill.svg +1 -0
- package/build/generate-icon/svg/a-arrowshapeturnuprightfill.svg +1 -0
- package/build/generate-icon/svg/a-arrowtrianglecapsulepath.svg +1 -0
- package/build/generate-icon/svg/a-arrowtriangleleftfillandlineverticalandarro.svg +1 -0
- package/build/generate-icon/svg/a-arrowtrianglerightfillandlineverticalandarr.svg +1 -0
- package/build/generate-icon/svg/a-arrowturndownleft.svg +1 -0
- package/build/generate-icon/svg/a-arrowturndownright.svg +1 -0
- package/build/generate-icon/svg/a-arrowturnleftup.svg +1 -0
- package/build/generate-icon/svg/a-arrowturnrightup.svg +1 -0
- package/build/generate-icon/svg/a-arrowturnupleft.svg +1 -0
- package/build/generate-icon/svg/a-arrowturnupright.svg +1 -0
- package/build/generate-icon/svg/a-arrowupanddownandarrowleftandright.svg +1 -0
- package/build/generate-icon/svg/a-arrowupbackwardandarrowdownforward.svg +1 -0
- package/build/generate-icon/svg/a-arrowupleftanddownrightandarrowuprightan.svg +1 -0
- package/build/generate-icon/svg/a-backwardendaltfill.svg +1 -0
- package/build/generate-icon/svg/a-beddoublefill.svg +1 -0
- package/build/generate-icon/svg/a-bellbadgefill.svg +1 -0
- package/build/generate-icon/svg/a-bellfill.svg +1 -0
- package/build/generate-icon/svg/a-boltfill.svg +1 -0
- package/build/generate-icon/svg/a-boltheartfill.svg +1 -0
- package/build/generate-icon/svg/a-bolthorizontalcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-bolthorizontalfill.svg +1 -0
- package/build/generate-icon/svg/a-bolthorizontalicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-briefcasefill.svg +1 -0
- package/build/generate-icon/svg/a-bubbleleftandbubblerightfill.svg +1 -0
- package/build/generate-icon/svg/a-bubblerightfill.svg +1 -0
- package/build/generate-icon/svg/a-busfill.svg +1 -0
- package/build/generate-icon/svg/a-carfill.svg +1 -0
- package/build/generate-icon/svg/a-checkmarkicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-chevroncompactdown.svg +1 -0
- package/build/generate-icon/svg/a-chevroncompactright.svg +1 -0
- package/build/generate-icon/svg/a-chevronleft2.svg +1 -0
- package/build/generate-icon/svg/a-chevronright2.svg +1 -0
- package/build/generate-icon/svg/a-clockfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudboltfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudboltrainfill.svg +1 -0
- package/build/generate-icon/svg/a-clouddrizzlefill.svg +1 -0
- package/build/generate-icon/svg/a-cloudfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudfogfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudhailfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudheavyrainfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudmoonboltfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudmoonfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudmoonrainfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudrainfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudsleetfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudsnowfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudsunboltfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudsunfill.svg +1 -0
- package/build/generate-icon/svg/a-cloudsunrainfill.svg +1 -0
- package/build/generate-icon/svg/a-crossfill.svg +1 -0
- package/build/generate-icon/svg/a-crownfill.svg +1 -0
- package/build/generate-icon/svg/a-deskclockfill.svg +1 -0
- package/build/generate-icon/svg/a-desktopcomputerandarrowdown.svg +1 -0
- package/build/generate-icon/svg/a-dotradiowavesleftandright.svg +1 -0
- package/build/generate-icon/svg/a-dropfill.svg +1 -0
- package/build/generate-icon/svg/a-envelopebadge.svg +1 -0
- package/build/generate-icon/svg/a-envelopefill.svg +1 -0
- package/build/generate-icon/svg/a-envelopeopenfill.svg +1 -0
- package/build/generate-icon/svg/a-exclamationmarkbubblefill.svg +1 -0
- package/build/generate-icon/svg/a-exclamationmarkicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-eyedropperhalffull.svg +1 -0
- package/build/generate-icon/svg/a-facemaskfill.svg +1 -0
- package/build/generate-icon/svg/a-facesmilingfill.svg +1 -0
- package/build/generate-icon/svg/a-ferryfill.svg +1 -0
- package/build/generate-icon/svg/a-figurewalk.svg +1 -0
- package/build/generate-icon/svg/a-flamefill.svg +1 -0
- package/build/generate-icon/svg/a-forwardendaltfill.svg +1 -0
- package/build/generate-icon/svg/a-giftfill.svg +1 -0
- package/build/generate-icon/svg/a-globeamericasfill.svg +1 -0
- package/build/generate-icon/svg/a-handpointupleftfill.svg +1 -0
- package/build/generate-icon/svg/a-heartfill.svg +1 -0
- package/build/generate-icon/svg/a-icloudandarrowdownfill.svg +1 -0
- package/build/generate-icon/svg/a-icloudandarrowupfill.svg +1 -0
- package/build/generate-icon/svg/a-icloudcircle.svg +1 -0
- package/build/generate-icon/svg/a-icloudcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-icloudfill.svg +1 -0
- package/build/generate-icon/svg/a-icloudslashfill.svg +1 -0
- package/build/generate-icon/svg/a-keyicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-latch2casefill.svg +1 -0
- package/build/generate-icon/svg/a-leaffill.svg +1 -0
- package/build/generate-icon/svg/a-linkicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-locationcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-locationnorthfill.svg +1 -0
- package/build/generate-icon/svg/a-lockfill.svg +1 -0
- package/build/generate-icon/svg/a-lockicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-messagefill.svg +1 -0
- package/build/generate-icon/svg/a-micfill.svg +1 -0
- package/build/generate-icon/svg/a-minuscirclefill.svg +1 -0
- package/build/generate-icon/svg/a-minussquarefill.svg +1 -0
- package/build/generate-icon/svg/a-moonfill.svg +1 -0
- package/build/generate-icon/svg/a-moonstarsfill.svg +1 -0
- package/build/generate-icon/svg/a-paintbrushfill.svg +1 -0
- package/build/generate-icon/svg/a-paintbrushpointedfill.svg +1 -0
- package/build/generate-icon/svg/a-pausefill.svg +1 -0
- package/build/generate-icon/svg/a-pawprintfill.svg +1 -0
- package/build/generate-icon/svg/a-personicloudfill.svg +1 -0
- package/build/generate-icon/svg/a-phoneandwaveformfill.svg +1 -0
- package/build/generate-icon/svg/a-phonedownfill.svg +1 -0
- package/build/generate-icon/svg/a-phonefill.svg +1 -0
- package/build/generate-icon/svg/a-playfill.svg +1 -0
- package/build/generate-icon/svg/a-playrectanglefill.svg +1 -0
- package/build/generate-icon/svg/a-pluscirclefill.svg +1 -0
- package/build/generate-icon/svg/a-plussquarefill.svg +1 -0
- package/build/generate-icon/svg/a-printerfillandpaperfill.svg +1 -0
- package/build/generate-icon/svg/a-repeat1.svg +1 -0
- package/build/generate-icon/svg/a-scribblevariable.svg +1 -0
- package/build/generate-icon/svg/a-scrollfill.svg +1 -0
- package/build/generate-icon/svg/a-speakerwave1fill.svg +1 -0
- package/build/generate-icon/svg/a-speakerwave3fill.svg +1 -0
- package/build/generate-icon/svg/a-stopfill.svg +1 -0
- package/build/generate-icon/svg/a-stopwatchfill.svg +1 -0
- package/build/generate-icon/svg/a-suitcasefill.svg +1 -0
- package/build/generate-icon/svg/a-sunhazefill.svg +1 -0
- package/build/generate-icon/svg/a-sunmaxfill.svg +1 -0
- package/build/generate-icon/svg/a-sunminfill.svg +1 -0
- package/build/generate-icon/svg/a-sunrisefill.svg +1 -0
- package/build/generate-icon/svg/a-sunsetfill.svg +1 -0
- package/build/generate-icon/svg/a-thermometersnowflake.svg +1 -0
- package/build/generate-icon/svg/a-thermometersunfill.svg +1 -0
- package/build/generate-icon/svg/a-timersquare.svg +1 -0
- package/build/generate-icon/svg/a-trainsidefrontcar.svg +1 -0
- package/build/generate-icon/svg/a-tramfill.svg +1 -0
- package/build/generate-icon/svg/a-videofill.svg +1 -0
- package/build/generate-icon/svg/a-videoslashfill.svg +1 -0
- package/build/generate-icon/svg/a-wandandstarsinverse.svg +1 -0
- package/build/generate-icon/svg/a-wave3backwardcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-wave3forward.svg +1 -0
- package/build/generate-icon/svg/a-wave3forwardcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-wave3leftcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-wave3right.svg +1 -0
- package/build/generate-icon/svg/a-wave3rightcirclefill.svg +1 -0
- package/build/generate-icon/svg/a-waveformandmic.svg +1 -0
- package/build/generate-icon/svg/a-wifiexclamationmark.svg +1 -0
- package/build/generate-icon/svg/a-wifislash.svg +1 -0
- package/build/generate-icon/svg/a-windsnow.svg +1 -0
- package/build/generate-icon/svg/a-wrenchandscrewdriverfill.svg +1 -0
- package/build/generate-icon/svg/a-xmarkicloudfill.svg +1 -0
- package/build/generate-icon/svg/airplane.svg +1 -0
- package/build/generate-icon/svg/alarm.svg +1 -0
- package/build/generate-icon/svg/bold.svg +1 -0
- package/build/generate-icon/svg/bonjour.svg +1 -0
- package/build/generate-icon/svg/cancel.svg +1 -0
- package/build/generate-icon/svg/checkmark-1.svg +1 -0
- package/build/generate-icon/svg/checkmark-2.svg +1 -0
- package/build/generate-icon/svg/checkmark-3.svg +1 -0
- package/build/generate-icon/svg/checkmark-4.svg +1 -0
- package/build/generate-icon/svg/checkmark.svg +1 -0
- package/build/generate-icon/svg/clock.svg +1 -0
- package/build/generate-icon/svg/deskclock.svg +1 -0
- package/build/generate-icon/svg/down.svg +1 -0
- package/build/generate-icon/svg/icon-2.svg +1 -0
- package/build/generate-icon/svg/icon.svg +1 -0
- package/build/generate-icon/svg/left.svg +1 -0
- package/build/generate-icon/svg/minus.svg +1 -0
- package/build/generate-icon/svg/personalhotspot.svg +1 -0
- package/build/generate-icon/svg/plus.svg +1 -0
- package/build/generate-icon/svg/repeat.svg +1 -0
- package/build/generate-icon/svg/right-copy.svg +1 -0
- package/build/generate-icon/svg/right-copy_1.svg +1 -0
- package/build/generate-icon/svg/right.svg +1 -0
- package/build/generate-icon/svg/scissors.svg +1 -0
- package/build/generate-icon/svg/snow.svg +1 -0
- package/build/generate-icon/svg/sparkles.svg +1 -0
- package/build/generate-icon/svg/stopwatch.svg +1 -0
- package/build/generate-icon/svg/thermometer.svg +1 -0
- package/build/generate-icon/svg/timer.svg +1 -0
- package/build/generate-icon/svg/tornado.svg +1 -0
- package/build/generate-icon/svg/up.svg +1 -0
- package/build/generate-icon/svg/warning.svg +1 -0
- package/build/generate-icon/svg/wifi.svg +1 -0
- package/build/generate-icon/svg/wind.svg +1 -0
- package/build/generate-icon/svg/xmark.svg +1 -0
- package/build/generate-icon/tpl-demo/index.json +11 -0
- package/build/generate-icon/tpl-demo/index.less +29 -0
- package/build/generate-icon/tpl-demo/index.ts +15 -0
- package/build/generate-icon/tpl-demo/index.wxml +102 -0
- package/build/generate-icon/tpl-impl/index.json +6 -0
- package/build/generate-icon/tpl-impl/index.ts +22 -0
- package/build/generate-icon/tpl-impl/index.wxml +0 -0
- package/build/imgJSON.js +53 -0
- package/build/prepublishOnly.js +12 -0
- package/build/transCSSVar.js +93 -0
- package/build/wx.mjs +204 -0
- package/commitlint.config.js +10 -0
- package/dist/action-sheet/demo/index.d.ts +1 -0
- package/dist/action-sheet/demo/index.js +110 -0
- package/dist/area/demo/index.d.ts +1 -0
- package/dist/area/demo/index.js +42 -0
- package/dist/battery/demo/index.d.ts +1 -0
- package/dist/battery/demo/index.js +2 -0
- package/dist/bottom-sheet/demo/index.d.ts +1 -0
- package/dist/bottom-sheet/demo/index.js +24 -0
- package/dist/button/demo/index.d.ts +1 -0
- package/dist/button/demo/index.js +9 -0
- package/dist/calendar/calendar.wxml +1 -0
- package/dist/calendar/demo/index.d.ts +1 -0
- package/dist/calendar/demo/index.js +108 -0
- package/dist/calendar/index.js +7 -3
- package/dist/calendar/index.json +2 -1
- package/dist/cascader/demo/index.d.ts +1 -0
- package/dist/cascader/demo/index.js +191 -0
- package/dist/cell/demo/index.d.ts +1 -0
- package/dist/cell/demo/index.js +15 -0
- package/dist/checkbox/demo/index.d.ts +1 -0
- package/dist/checkbox/demo/index.js +34 -0
- package/dist/circle/demo/index.d.ts +1 -0
- package/dist/circle/demo/index.js +26 -0
- package/dist/circle/index.css +1 -1
- package/dist/circle/index.js +34 -180
- package/dist/circle/index.rjs +230 -0
- package/dist/circle/index.wxml +5 -6
- package/dist/circle/index.wxss +1 -1
- package/dist/col/demo/index.d.ts +1 -0
- package/dist/col/demo/index.js +4 -0
- package/dist/collapse/demo/index.d.ts +1 -0
- package/dist/collapse/demo/index.js +38 -0
- package/dist/config-provider/demo/index.d.ts +1 -0
- package/dist/config-provider/demo/index.js +22 -0
- package/dist/count-down/demo/index.d.ts +1 -0
- package/dist/count-down/demo/index.js +34 -0
- package/dist/custom-keyboard/demo/index.d.ts +1 -0
- package/dist/custom-keyboard/demo/index.js +17 -0
- package/dist/datetime-picker/demo/index.d.ts +1 -0
- package/dist/datetime-picker/demo/index.js +110 -0
- package/dist/dialog/demo/index.d.ts +1 -0
- package/dist/dialog/demo/index.js +135 -0
- package/dist/divider/demo/index.d.ts +1 -0
- package/dist/divider/demo/index.js +4 -0
- package/dist/dropdown-menu/demo/index.d.ts +1 -0
- package/dist/dropdown-menu/demo/index.js +47 -0
- package/dist/empty/demo/index.d.ts +1 -0
- package/dist/empty/demo/index.js +13 -0
- package/dist/field/demo/index.d.ts +1 -0
- package/dist/field/demo/index.js +20 -0
- package/dist/goods-action/demo/index.d.ts +1 -0
- package/dist/goods-action/demo/index.js +20 -0
- package/dist/grid/demo/index.d.ts +1 -0
- package/dist/grid/demo/index.js +9 -0
- package/dist/icon/demo/index.d.ts +1 -0
- package/dist/icon/demo/index.js +28 -0
- package/dist/image/demo/index.d.ts +1 -0
- package/dist/image/demo/index.js +20 -0
- package/dist/index-bar/demo/index.d.ts +1 -0
- package/dist/index-bar/demo/index.js +21 -0
- package/dist/loading/demo/index.d.ts +1 -0
- package/dist/loading/demo/index.js +4 -0
- package/dist/nav-bar/demo/index.d.ts +1 -0
- package/dist/nav-bar/demo/index.js +26 -0
- package/dist/normal-slider/demo/index.d.ts +1 -0
- package/dist/normal-slider/demo/index.js +14 -0
- package/dist/notice-bar/demo/index.d.ts +1 -0
- package/dist/notice-bar/demo/index.js +11 -0
- package/dist/notify/demo/index.d.ts +1 -0
- package/dist/notify/demo/index.js +45 -0
- package/dist/overlay/demo/index.d.ts +1 -0
- package/dist/overlay/demo/index.js +22 -0
- package/dist/picker/demo/index.d.ts +1 -0
- package/dist/picker/demo/index.js +94 -0
- package/dist/picker/index.wxml +1 -1
- package/dist/popover/demo/index.d.ts +1 -0
- package/dist/popover/demo/index.js +13 -0
- package/dist/popup/demo/index.d.ts +1 -0
- package/dist/popup/demo/index.js +97 -0
- package/dist/progress/demo/index.d.ts +1 -0
- package/dist/progress/demo/index.js +4 -0
- package/dist/radio/demo/index.d.ts +1 -0
- package/dist/radio/demo/index.js +45 -0
- package/dist/rate/demo/index.d.ts +1 -0
- package/dist/rate/demo/index.js +26 -0
- package/dist/search/demo/index.d.ts +1 -0
- package/dist/search/demo/index.js +43 -0
- package/dist/sidebar/demo/index.d.ts +1 -0
- package/dist/sidebar/demo/index.js +13 -0
- package/dist/skeleton/demo/index.d.ts +1 -0
- package/dist/skeleton/demo/index.js +11 -0
- package/dist/slider/demo/index.d.ts +1 -0
- package/dist/slider/demo/index.js +19 -0
- package/dist/stepper/demo/index.d.ts +1 -0
- package/dist/stepper/demo/index.js +20 -0
- package/dist/steps/demo/index.d.ts +1 -0
- package/dist/steps/demo/index.js +44 -0
- package/dist/sticky/demo/index.d.ts +1 -0
- package/dist/sticky/demo/index.js +26 -0
- package/dist/swipe-cell/demo/index.d.ts +1 -0
- package/dist/swipe-cell/demo/index.js +48 -0
- package/dist/switch/demo/index.d.ts +1 -0
- package/dist/switch/demo/index.js +29 -0
- package/dist/tab/demo/index.d.ts +1 -0
- package/dist/tab/demo/index.js +64 -0
- package/dist/tabbar/demo/index.d.ts +1 -0
- package/dist/tabbar/demo/index.js +34 -0
- package/dist/tag/demo/index.d.ts +1 -0
- package/dist/tag/demo/index.js +16 -0
- package/dist/toast/demo/index.d.ts +1 -0
- package/dist/toast/demo/index.js +84 -0
- package/dist/transition/demo/index.d.ts +1 -0
- package/dist/transition/demo/index.js +67 -0
- package/dist/tree-select/demo/index.d.ts +1 -0
- package/dist/tree-select/demo/index.js +113 -0
- package/docs/css-var.json +3450 -0
- package/docs/custom-style.en.md +91 -0
- package/docs/custom-style.md +91 -0
- package/docs/imgs/action-sheet.png +0 -0
- package/docs/imgs/action-sheet@2.png +0 -0
- package/docs/imgs/action-sheet@3.png +0 -0
- package/docs/imgs/battery.png +0 -0
- package/docs/imgs/button.png +0 -0
- package/docs/imgs/cascader.png +0 -0
- package/docs/imgs/cell.png +0 -0
- package/docs/imgs/checkbox.png +0 -0
- package/docs/imgs/circle.png +0 -0
- package/docs/imgs/collapse.png +0 -0
- package/docs/imgs/count-down.png +0 -0
- package/docs/imgs/custom-keyboard.png +0 -0
- package/docs/imgs/datetime-picker.png +0 -0
- package/docs/imgs/dialog.png +0 -0
- package/docs/imgs/dialog@2.png +0 -0
- package/docs/imgs/divider.png +0 -0
- package/docs/imgs/dropdown-menu.png +0 -0
- package/docs/imgs/empty.png +0 -0
- package/docs/imgs/field.png +0 -0
- package/docs/imgs/field@2.png +0 -0
- package/docs/imgs/index-bar.png +0 -0
- package/docs/imgs/index.json +46 -0
- package/docs/imgs/nav-bar.png +0 -0
- package/docs/imgs/picker.png +0 -0
- package/docs/imgs/picker@2.png +0 -0
- package/docs/imgs/popover.png +0 -0
- package/docs/imgs/popup.png +0 -0
- package/docs/imgs/radio.png +0 -0
- package/docs/imgs/rate.png +0 -0
- package/docs/imgs/search.png +0 -0
- package/docs/imgs/search@2.png +0 -0
- package/docs/imgs/sidebar.png +0 -0
- package/docs/imgs/skeleton.png +0 -0
- package/docs/imgs/slider.png +0 -0
- package/docs/imgs/slider@2.png +0 -0
- package/docs/imgs/slider@3.png +0 -0
- package/docs/imgs/slider@4.png +0 -0
- package/docs/imgs/stepper.png +0 -0
- package/docs/imgs/swipe-cell.png +0 -0
- package/docs/imgs/switch.png +0 -0
- package/docs/imgs/tab.png +0 -0
- package/docs/imgs/tab@2.png +0 -0
- package/docs/imgs/tabbar.png +0 -0
- package/docs/imgs/toast.png +0 -0
- package/docs/imgs/tree-select.png +0 -0
- package/docs/theme.en.md +118 -0
- package/docs/theme.md +119 -0
- package/example/app.js +4 -0
- package/example/app.json +110 -0
- package/example/app.wxss +29 -0
- package/example/common/page.js +10 -0
- package/example/components/demo-block/index.js +9 -0
- package/example/components/demo-block/index.json +3 -0
- package/example/components/demo-block/index.wxml +7 -0
- package/example/components/demo-block/index.wxss +23 -0
- package/example/components/demo-home/index.js +7 -0
- package/example/components/demo-home/index.json +6 -0
- package/example/components/demo-home/index.wxml +15 -0
- package/example/components/demo-home/index.wxss +36 -0
- package/example/components/demo-home-nav/index.js +16 -0
- package/example/components/demo-home-nav/index.json +6 -0
- package/example/components/demo-home-nav/index.wxml +15 -0
- package/example/components/demo-home-nav/index.wxss +38 -0
- package/example/config.js +258 -0
- package/example/database_area.json +4041 -0
- package/example/dist/action-sheet/demo/index.css +1 -0
- package/example/dist/action-sheet/demo/index.d.ts +1 -0
- package/example/dist/action-sheet/demo/index.js +110 -0
- package/example/dist/action-sheet/demo/index.json +10 -0
- package/example/dist/action-sheet/demo/index.wxml +143 -0
- package/example/dist/action-sheet/demo/index.wxss +1 -0
- package/example/dist/action-sheet/index.css +1 -0
- package/example/dist/action-sheet/index.d.ts +1 -0
- package/example/dist/action-sheet/index.js +106 -0
- package/example/dist/action-sheet/index.json +8 -0
- package/example/dist/action-sheet/index.wxml +85 -0
- package/example/dist/action-sheet/index.wxss +1 -0
- package/example/dist/area/demo/index.d.ts +1 -0
- package/example/dist/area/demo/index.js +42 -0
- package/example/dist/area/demo/index.json +8 -0
- package/example/dist/area/demo/index.wxml +11 -0
- package/example/dist/area/index.css +1 -0
- package/example/dist/area/index.d.ts +1 -0
- package/example/dist/area/index.js +219 -0
- package/example/dist/area/index.json +6 -0
- package/example/dist/area/index.wxml +20 -0
- package/example/dist/area/index.wxs +8 -0
- package/example/dist/area/index.wxss +1 -0
- package/example/dist/battery/demo/index.css +1 -0
- package/example/dist/battery/demo/index.d.ts +1 -0
- package/example/dist/battery/demo/index.js +2 -0
- package/example/dist/battery/demo/index.json +7 -0
- package/example/dist/battery/demo/index.wxml +18 -0
- package/example/dist/battery/demo/index.wxss +1 -0
- package/example/dist/battery/index.d.ts +1 -0
- package/example/dist/battery/index.js +106 -0
- package/example/dist/battery/index.json +4 -0
- package/example/dist/battery/index.wxml +1 -0
- package/example/dist/bottom-sheet/demo/index.css +1 -0
- package/example/dist/bottom-sheet/demo/index.d.ts +1 -0
- package/example/dist/bottom-sheet/demo/index.js +24 -0
- package/example/dist/bottom-sheet/demo/index.json +8 -0
- package/example/dist/bottom-sheet/demo/index.wxml +37 -0
- package/example/dist/bottom-sheet/demo/index.wxss +1 -0
- package/example/dist/bottom-sheet/index.css +1 -0
- package/example/dist/bottom-sheet/index.d.ts +1 -0
- package/example/dist/bottom-sheet/index.js +71 -0
- package/example/dist/bottom-sheet/index.json +8 -0
- package/example/dist/bottom-sheet/index.wxml +28 -0
- package/example/dist/bottom-sheet/index.wxss +1 -0
- package/example/dist/button/demo/index.css +1 -0
- package/example/dist/button/demo/index.d.ts +1 -0
- package/example/dist/button/demo/index.js +9 -0
- package/example/dist/button/demo/index.json +9 -0
- package/example/dist/button/demo/index.wxml +81 -0
- package/example/dist/button/demo/index.wxss +1 -0
- package/example/dist/button/index.css +1 -0
- package/example/dist/button/index.d.ts +1 -0
- package/example/dist/button/index.js +66 -0
- package/example/dist/button/index.json +7 -0
- package/example/dist/button/index.wxml +64 -0
- package/example/dist/button/index.wxs +39 -0
- package/example/dist/button/index.wxss +1 -0
- package/example/dist/calendar/calendar.wxml +80 -0
- package/example/dist/calendar/demo/index.css +1 -0
- package/example/dist/calendar/demo/index.d.ts +1 -0
- package/example/dist/calendar/demo/index.js +108 -0
- package/example/dist/calendar/demo/index.json +8 -0
- package/example/dist/calendar/demo/index.wxml +105 -0
- package/example/dist/calendar/demo/index.wxs +34 -0
- package/example/dist/calendar/demo/index.wxss +1 -0
- package/example/dist/calendar/index.css +1 -0
- package/example/dist/calendar/index.d.ts +1 -0
- package/example/dist/calendar/index.js +446 -0
- package/example/dist/calendar/index.json +12 -0
- package/example/dist/calendar/index.wxml +25 -0
- package/example/dist/calendar/index.wxs +59 -0
- package/example/dist/calendar/index.wxss +1 -0
- package/example/dist/calendar-header/index.css +1 -0
- package/example/dist/calendar-header/index.d.ts +1 -0
- package/example/dist/calendar-header/index.js +60 -0
- package/example/dist/calendar-header/index.json +6 -0
- package/example/dist/calendar-header/index.wxml +27 -0
- package/example/dist/calendar-header/index.wxss +1 -0
- package/example/dist/calendar-month/index.css +1 -0
- package/example/dist/calendar-month/index.d.ts +1 -0
- package/example/dist/calendar-month/index.js +177 -0
- package/example/dist/calendar-month/index.json +3 -0
- package/example/dist/calendar-month/index.wxml +22 -0
- package/example/dist/calendar-month/index.wxs +76 -0
- package/example/dist/calendar-month/index.wxss +1 -0
- package/example/dist/calendar-month-list/index.css +1 -0
- package/example/dist/calendar-month-list/index.d.ts +1 -0
- package/example/dist/calendar-month-list/index.js +103 -0
- package/example/dist/calendar-month-list/index.json +7 -0
- package/example/dist/calendar-month-list/index.wxml +15 -0
- package/example/dist/calendar-month-list/index.wxss +1 -0
- package/example/dist/calendar-utils/types.d.ts +7 -0
- package/example/dist/calendar-utils/types.js +1 -0
- package/example/dist/calendar-utils/utils.d.ts +22 -0
- package/example/dist/calendar-utils/utils.js +157 -0
- package/example/dist/calendar-utils/utils.wxs +25 -0
- package/example/dist/calendar-year-list/index.css +1 -0
- package/example/dist/calendar-year-list/index.d.ts +1 -0
- package/example/dist/calendar-year-list/index.js +113 -0
- package/example/dist/calendar-year-list/index.json +7 -0
- package/example/dist/calendar-year-list/index.wxml +15 -0
- package/example/dist/calendar-year-list/index.wxss +1 -0
- package/example/dist/cascader/demo/index.css +1 -0
- package/example/dist/cascader/demo/index.d.ts +1 -0
- package/example/dist/cascader/demo/index.js +191 -0
- package/example/dist/cascader/demo/index.json +9 -0
- package/example/dist/cascader/demo/index.wxml +83 -0
- package/example/dist/cascader/demo/index.wxss +1 -0
- package/example/dist/cascader/index.css +1 -0
- package/example/dist/cascader/index.d.ts +1 -0
- package/example/dist/cascader/index.js +191 -0
- package/example/dist/cascader/index.json +8 -0
- package/example/dist/cascader/index.wxml +56 -0
- package/example/dist/cascader/index.wxs +21 -0
- package/example/dist/cascader/index.wxss +1 -0
- package/example/dist/cell/demo/index.css +1 -0
- package/example/dist/cell/demo/index.d.ts +1 -0
- package/example/dist/cell/demo/index.js +15 -0
- package/example/dist/cell/demo/index.json +13 -0
- package/example/dist/cell/demo/index.wxml +110 -0
- package/example/dist/cell/demo/index.wxss +1 -0
- package/example/dist/cell/index.css +1 -0
- package/example/dist/cell/index.d.ts +1 -0
- package/example/dist/cell/index.js +43 -0
- package/example/dist/cell/index.json +6 -0
- package/example/dist/cell/index.wxml +47 -0
- package/example/dist/cell/index.wxs +17 -0
- package/example/dist/cell/index.wxss +1 -0
- package/example/dist/cell-group/index.css +1 -0
- package/example/dist/cell-group/index.d.ts +1 -0
- package/example/dist/cell-group/index.js +11 -0
- package/example/dist/cell-group/index.json +3 -0
- package/example/dist/cell-group/index.wxml +11 -0
- package/example/dist/cell-group/index.wxss +1 -0
- package/example/dist/checkbox/demo/index.css +1 -0
- package/example/dist/checkbox/demo/index.d.ts +1 -0
- package/example/dist/checkbox/demo/index.js +34 -0
- package/example/dist/checkbox/demo/index.json +10 -0
- package/example/dist/checkbox/demo/index.wxml +179 -0
- package/example/dist/checkbox/demo/index.wxss +1 -0
- package/example/dist/checkbox/index.css +1 -0
- package/example/dist/checkbox/index.d.ts +1 -0
- package/example/dist/checkbox/index.js +79 -0
- package/example/dist/checkbox/index.json +6 -0
- package/example/dist/checkbox/index.wxml +32 -0
- package/example/dist/checkbox/index.wxs +20 -0
- package/example/dist/checkbox/index.wxss +1 -0
- package/example/dist/checkbox-group/index.css +1 -0
- package/example/dist/checkbox-group/index.d.ts +1 -0
- package/example/dist/checkbox-group/index.js +36 -0
- package/example/dist/checkbox-group/index.json +3 -0
- package/example/dist/checkbox-group/index.wxml +5 -0
- package/example/dist/checkbox-group/index.wxss +1 -0
- package/example/dist/circle/demo/index.css +1 -0
- package/example/dist/circle/demo/index.d.ts +1 -0
- package/example/dist/circle/demo/index.js +26 -0
- package/example/dist/circle/demo/index.json +7 -0
- package/example/dist/circle/demo/index.wxml +30 -0
- package/example/dist/circle/demo/index.wxss +1 -0
- package/example/dist/circle/index.css +1 -0
- package/example/dist/circle/index.d.ts +1 -0
- package/example/dist/circle/index.js +127 -0
- package/example/dist/circle/index.json +3 -0
- package/example/dist/circle/index.rjs +230 -0
- package/example/dist/circle/index.wxml +8 -0
- package/example/dist/circle/index.wxss +1 -0
- package/example/dist/col/demo/index.css +1 -0
- package/example/dist/col/demo/index.d.ts +1 -0
- package/example/dist/col/demo/index.js +4 -0
- package/example/dist/col/demo/index.json +8 -0
- package/example/dist/col/demo/index.wxml +24 -0
- package/example/dist/col/demo/index.wxss +1 -0
- package/example/dist/col/index.css +1 -0
- package/example/dist/col/index.d.ts +1 -0
- package/example/dist/col/index.js +9 -0
- package/example/dist/col/index.json +3 -0
- package/example/dist/col/index.wxml +9 -0
- package/example/dist/col/index.wxs +18 -0
- package/example/dist/col/index.wxss +1 -0
- package/example/dist/collapse/demo/index.css +1 -0
- package/example/dist/collapse/demo/index.d.ts +1 -0
- package/example/dist/collapse/demo/index.js +38 -0
- package/example/dist/collapse/demo/index.json +9 -0
- package/example/dist/collapse/demo/index.wxml +44 -0
- package/example/dist/collapse/demo/index.wxss +1 -0
- package/example/dist/collapse/index.css +1 -0
- package/example/dist/collapse/index.d.ts +1 -0
- package/example/dist/collapse/index.js +46 -0
- package/example/dist/collapse/index.json +3 -0
- package/example/dist/collapse/index.wxml +3 -0
- package/example/dist/collapse/index.wxss +1 -0
- package/example/dist/collapse-item/animate.d.ts +2 -0
- package/example/dist/collapse-item/animate.js +39 -0
- package/example/dist/collapse-item/index.css +1 -0
- package/example/dist/collapse-item/index.d.ts +1 -0
- package/example/dist/collapse-item/index.js +62 -0
- package/example/dist/collapse-item/index.json +6 -0
- package/example/dist/collapse-item/index.wxml +45 -0
- package/example/dist/collapse-item/index.wxss +1 -0
- package/example/dist/common/appLog.d.ts +10 -0
- package/example/dist/common/appLog.js +105 -0
- package/example/dist/common/color.d.ts +7 -0
- package/example/dist/common/color.js +7 -0
- package/example/dist/common/component.d.ts +4 -0
- package/example/dist/common/component.js +46 -0
- package/example/dist/common/index.css +1 -0
- package/example/dist/common/index.wxss +1 -0
- package/example/dist/common/relation.d.ts +15 -0
- package/example/dist/common/relation.js +56 -0
- package/example/dist/common/style/clearfix.css +1 -0
- package/example/dist/common/style/clearfix.wxss +1 -0
- package/example/dist/common/style/ellipsis.css +1 -0
- package/example/dist/common/style/ellipsis.wxss +1 -0
- package/example/dist/common/style/hairline.css +1 -0
- package/example/dist/common/style/hairline.wxss +1 -0
- package/example/dist/common/style/mixins/clearfix.css +0 -0
- package/example/dist/common/style/mixins/clearfix.wxss +0 -0
- package/example/dist/common/style/mixins/ellipsis.css +0 -0
- package/example/dist/common/style/mixins/ellipsis.wxss +0 -0
- package/example/dist/common/style/mixins/hairline.css +0 -0
- package/example/dist/common/style/mixins/hairline.wxss +0 -0
- package/example/dist/common/style/var.css +0 -0
- package/example/dist/common/style/var.wxss +0 -0
- package/example/dist/common/utils.d.ts +22 -0
- package/example/dist/common/utils.js +100 -0
- package/example/dist/common/validator.d.ts +9 -0
- package/example/dist/common/validator.js +31 -0
- package/example/dist/common/version.d.ts +15 -0
- package/example/dist/common/version.js +59 -0
- package/example/dist/config-provider/demo/index.css +1 -0
- package/example/dist/config-provider/demo/index.d.ts +1 -0
- package/example/dist/config-provider/demo/index.js +22 -0
- package/example/dist/config-provider/demo/index.json +12 -0
- package/example/dist/config-provider/demo/index.wxml +20 -0
- package/example/dist/config-provider/demo/index.wxss +1 -0
- package/example/dist/config-provider/index.d.ts +1 -0
- package/example/dist/config-provider/index.js +9 -0
- package/example/dist/config-provider/index.json +3 -0
- package/example/dist/config-provider/index.wxml +5 -0
- package/example/dist/config-provider/index.wxs +29 -0
- package/example/dist/count-down/demo/index.css +1 -0
- package/example/dist/count-down/demo/index.d.ts +1 -0
- package/example/dist/count-down/demo/index.js +34 -0
- package/example/dist/count-down/demo/index.json +10 -0
- package/example/dist/count-down/demo/index.wxml +48 -0
- package/example/dist/count-down/demo/index.wxss +1 -0
- package/example/dist/count-down/index.css +1 -0
- package/example/dist/count-down/index.d.ts +1 -0
- package/example/dist/count-down/index.js +100 -0
- package/example/dist/count-down/index.json +3 -0
- package/example/dist/count-down/index.wxml +4 -0
- package/example/dist/count-down/index.wxss +1 -0
- package/example/dist/count-down/utils.d.ts +10 -0
- package/example/dist/count-down/utils.js +57 -0
- package/example/dist/custom-keyboard/demo/index.d.ts +1 -0
- package/example/dist/custom-keyboard/demo/index.js +17 -0
- package/example/dist/custom-keyboard/demo/index.json +6 -0
- package/example/dist/custom-keyboard/demo/index.wxml +34 -0
- package/example/dist/custom-keyboard/index.css +1 -0
- package/example/dist/custom-keyboard/index.d.ts +1 -0
- package/example/dist/custom-keyboard/index.js +162 -0
- package/example/dist/custom-keyboard/index.json +9 -0
- package/example/dist/custom-keyboard/index.wxml +48 -0
- package/example/dist/custom-keyboard/index.wxss +1 -0
- package/example/dist/datetime-picker/demo/index.d.ts +1 -0
- package/example/dist/datetime-picker/demo/index.js +110 -0
- package/example/dist/datetime-picker/demo/index.json +8 -0
- package/example/dist/datetime-picker/demo/index.wxml +95 -0
- package/example/dist/datetime-picker/index.css +1 -0
- package/example/dist/datetime-picker/index.d.ts +1 -0
- package/example/dist/datetime-picker/index.js +399 -0
- package/example/dist/datetime-picker/index.json +6 -0
- package/example/dist/datetime-picker/index.wxml +21 -0
- package/example/dist/datetime-picker/index.wxss +1 -0
- package/example/dist/definitions/index.d.ts +29 -0
- package/example/dist/definitions/index.js +1 -0
- package/example/dist/dialog/demo/index.css +1 -0
- package/example/dist/dialog/demo/index.d.ts +1 -0
- package/example/dist/dialog/demo/index.js +135 -0
- package/example/dist/dialog/demo/index.json +8 -0
- package/example/dist/dialog/demo/index.wxml +42 -0
- package/example/dist/dialog/demo/index.wxss +1 -0
- package/example/dist/dialog/dialog.d.ts +71 -0
- package/example/dist/dialog/dialog.js +115 -0
- package/example/dist/dialog/index.css +1 -0
- package/example/dist/dialog/index.d.ts +1 -0
- package/example/dist/dialog/index.js +203 -0
- package/example/dist/dialog/index.json +10 -0
- package/example/dist/dialog/index.wxml +144 -0
- package/example/dist/dialog/index.wxss +1 -0
- package/example/dist/divider/demo/index.d.ts +1 -0
- package/example/dist/divider/demo/index.js +4 -0
- package/example/dist/divider/demo/index.json +7 -0
- package/example/dist/divider/demo/index.wxml +17 -0
- package/example/dist/divider/index.css +1 -0
- package/example/dist/divider/index.d.ts +1 -0
- package/example/dist/divider/index.js +12 -0
- package/example/dist/divider/index.json +4 -0
- package/example/dist/divider/index.wxml +9 -0
- package/example/dist/divider/index.wxs +18 -0
- package/example/dist/divider/index.wxss +1 -0
- package/example/dist/dropdown-item/index.css +1 -0
- package/example/dist/dropdown-item/index.d.ts +1 -0
- package/example/dist/dropdown-item/index.js +140 -0
- package/example/dist/dropdown-item/index.json +8 -0
- package/example/dist/dropdown-item/index.wxml +50 -0
- package/example/dist/dropdown-item/index.wxss +1 -0
- package/example/dist/dropdown-item/shared.d.ts +5 -0
- package/example/dist/dropdown-item/shared.js +1 -0
- package/example/dist/dropdown-menu/demo/index.d.ts +1 -0
- package/example/dist/dropdown-menu/demo/index.js +47 -0
- package/example/dist/dropdown-menu/demo/index.json +11 -0
- package/example/dist/dropdown-menu/demo/index.wxml +67 -0
- package/example/dist/dropdown-menu/index.css +1 -0
- package/example/dist/dropdown-menu/index.d.ts +1 -0
- package/example/dist/dropdown-menu/index.js +130 -0
- package/example/dist/dropdown-menu/index.json +6 -0
- package/example/dist/dropdown-menu/index.wxml +24 -0
- package/example/dist/dropdown-menu/index.wxs +16 -0
- package/example/dist/dropdown-menu/index.wxss +1 -0
- package/example/dist/empty/demo/index.css +1 -0
- package/example/dist/empty/demo/index.d.ts +1 -0
- package/example/dist/empty/demo/index.js +13 -0
- package/example/dist/empty/demo/index.json +10 -0
- package/example/dist/empty/demo/index.wxml +24 -0
- package/example/dist/empty/demo/index.wxss +1 -0
- package/example/dist/empty/index.css +1 -0
- package/example/dist/empty/index.d.ts +1 -0
- package/example/dist/empty/index.js +29 -0
- package/example/dist/empty/index.json +4 -0
- package/example/dist/empty/index.wxml +22 -0
- package/example/dist/empty/index.wxs +13 -0
- package/example/dist/empty/index.wxss +1 -0
- package/example/dist/field/cell-input.wxml +59 -0
- package/example/dist/field/cell-textarea.wxml +28 -0
- package/example/dist/field/demo/index.css +1 -0
- package/example/dist/field/demo/index.d.ts +1 -0
- package/example/dist/field/demo/index.js +20 -0
- package/example/dist/field/demo/index.json +10 -0
- package/example/dist/field/demo/index.wxml +131 -0
- package/example/dist/field/demo/index.wxss +1 -0
- package/example/dist/field/index.css +1 -0
- package/example/dist/field/index.d.ts +1 -0
- package/example/dist/field/index.js +141 -0
- package/example/dist/field/index.json +7 -0
- package/example/dist/field/index.wxml +4 -0
- package/example/dist/field/index.wxs +18 -0
- package/example/dist/field/index.wxss +1 -0
- package/example/dist/field/input.wxml +30 -0
- package/example/dist/field/props.d.ts +4 -0
- package/example/dist/field/props.js +56 -0
- package/example/dist/field/textarea.wxml +32 -0
- package/example/dist/field/types.d.ts +8 -0
- package/example/dist/field/types.js +1 -0
- package/example/dist/goods-action/demo/index.css +1 -0
- package/example/dist/goods-action/demo/index.d.ts +1 -0
- package/example/dist/goods-action/demo/index.js +20 -0
- package/example/dist/goods-action/demo/index.json +10 -0
- package/example/dist/goods-action/demo/index.wxml +53 -0
- package/example/dist/goods-action/demo/index.wxss +1 -0
- package/example/dist/goods-action/index.css +1 -0
- package/example/dist/goods-action/index.d.ts +1 -0
- package/example/dist/goods-action/index.js +15 -0
- package/example/dist/goods-action/index.json +3 -0
- package/example/dist/goods-action/index.wxml +5 -0
- package/example/dist/goods-action/index.wxss +1 -0
- package/example/dist/goods-action-button/index.css +1 -0
- package/example/dist/goods-action-button/index.d.ts +1 -0
- package/example/dist/goods-action-button/index.js +44 -0
- package/example/dist/goods-action-button/index.json +6 -0
- package/example/dist/goods-action-button/index.wxml +35 -0
- package/example/dist/goods-action-button/index.wxss +1 -0
- package/example/dist/goods-action-icon/index.css +1 -0
- package/example/dist/goods-action-icon/index.d.ts +1 -0
- package/example/dist/goods-action-icon/index.js +27 -0
- package/example/dist/goods-action-icon/index.json +7 -0
- package/example/dist/goods-action-icon/index.wxml +41 -0
- package/example/dist/goods-action-icon/index.wxss +1 -0
- package/example/dist/grid/demo/index.d.ts +1 -0
- package/example/dist/grid/demo/index.js +9 -0
- package/example/dist/grid/demo/index.json +8 -0
- package/example/dist/grid/demo/index.wxml +51 -0
- package/example/dist/grid/index.css +1 -0
- package/example/dist/grid/index.d.ts +1 -0
- package/example/dist/grid/index.js +55 -0
- package/example/dist/grid/index.json +3 -0
- package/example/dist/grid/index.wxml +8 -0
- package/example/dist/grid/index.wxs +13 -0
- package/example/dist/grid/index.wxss +1 -0
- package/example/dist/grid-item/index.css +1 -0
- package/example/dist/grid-item/index.d.ts +1 -0
- package/example/dist/grid-item/index.js +52 -0
- package/example/dist/grid-item/index.json +6 -0
- package/example/dist/grid-item/index.wxml +27 -0
- package/example/dist/grid-item/index.wxs +32 -0
- package/example/dist/grid-item/index.wxss +1 -0
- package/example/dist/icon/demo/index.css +1 -0
- package/example/dist/icon/demo/index.d.ts +1 -0
- package/example/dist/icon/demo/index.js +28 -0
- package/example/dist/icon/demo/index.json +10 -0
- package/example/dist/icon/demo/index.wxml +130 -0
- package/example/dist/icon/demo/index.wxss +1 -0
- package/example/dist/icon/index.css +1 -0
- package/example/dist/icon/index.d.ts +1 -0
- package/example/dist/icon/index.js +21 -0
- package/example/dist/icon/index.json +6 -0
- package/example/dist/icon/index.wxml +30 -0
- package/example/dist/icon/index.wxs +98 -0
- package/example/dist/icon/index.wxss +1 -0
- package/example/dist/image/demo/index.css +1 -0
- package/example/dist/image/demo/index.d.ts +1 -0
- package/example/dist/image/demo/index.js +20 -0
- package/example/dist/image/demo/index.json +10 -0
- package/example/dist/image/demo/index.wxml +112 -0
- package/example/dist/image/demo/index.wxss +1 -0
- package/example/dist/image/index.css +1 -0
- package/example/dist/image/index.d.ts +1 -0
- package/example/dist/image/index.js +70 -0
- package/example/dist/image/index.json +7 -0
- package/example/dist/image/index.wxml +40 -0
- package/example/dist/image/index.wxs +42 -0
- package/example/dist/image/index.wxss +1 -0
- package/example/dist/index-anchor/index.css +1 -0
- package/example/dist/index-anchor/index.d.ts +1 -0
- package/example/dist/index-anchor/index.js +25 -0
- package/example/dist/index-anchor/index.json +3 -0
- package/example/dist/index-anchor/index.wxml +14 -0
- package/example/dist/index-anchor/index.wxss +1 -0
- package/example/dist/index-bar/demo/index.d.ts +1 -0
- package/example/dist/index-bar/demo/index.js +21 -0
- package/example/dist/index-bar/demo/index.json +11 -0
- package/example/dist/index-bar/demo/index.wxml +43 -0
- package/example/dist/index-bar/index.css +1 -0
- package/example/dist/index-bar/index.d.ts +1 -0
- package/example/dist/index-bar/index.js +247 -0
- package/example/dist/index-bar/index.json +3 -0
- package/example/dist/index-bar/index.wxml +22 -0
- package/example/dist/index-bar/index.wxss +1 -0
- package/example/dist/info/index.css +1 -0
- package/example/dist/info/index.d.ts +1 -0
- package/example/dist/info/index.js +8 -0
- package/example/dist/info/index.json +3 -0
- package/example/dist/info/index.wxml +7 -0
- package/example/dist/info/index.wxss +1 -0
- package/example/dist/loading/demo/index.css +1 -0
- package/example/dist/loading/demo/index.d.ts +1 -0
- package/example/dist/loading/demo/index.js +4 -0
- package/example/dist/loading/demo/index.json +7 -0
- package/example/dist/loading/demo/index.wxml +19 -0
- package/example/dist/loading/demo/index.wxss +1 -0
- package/example/dist/loading/index.css +1 -0
- package/example/dist/loading/index.d.ts +1 -0
- package/example/dist/loading/index.js +40 -0
- package/example/dist/loading/index.json +3 -0
- package/example/dist/loading/index.wxml +17 -0
- package/example/dist/loading/index.wxs +38 -0
- package/example/dist/loading/index.wxss +1 -0
- package/example/dist/mixins/basic.d.ts +1 -0
- package/example/dist/mixins/basic.js +26 -0
- package/example/dist/mixins/button.d.ts +1 -0
- package/example/dist/mixins/button.js +51 -0
- package/example/dist/mixins/link.d.ts +1 -0
- package/example/dist/mixins/link.js +22 -0
- package/example/dist/mixins/page-scroll.d.ts +6 -0
- package/example/dist/mixins/page-scroll.js +42 -0
- package/example/dist/mixins/touch.d.ts +1 -0
- package/example/dist/mixins/touch.js +36 -0
- package/example/dist/mixins/transition.d.ts +1 -0
- package/example/dist/mixins/transition.js +165 -0
- package/example/dist/nav-bar/demo/index.css +1 -0
- package/example/dist/nav-bar/demo/index.d.ts +1 -0
- package/example/dist/nav-bar/demo/index.js +26 -0
- package/example/dist/nav-bar/demo/index.json +8 -0
- package/example/dist/nav-bar/demo/index.wxml +114 -0
- package/example/dist/nav-bar/demo/index.wxss +1 -0
- package/example/dist/nav-bar/index.css +1 -0
- package/example/dist/nav-bar/index.d.ts +1 -0
- package/example/dist/nav-bar/index.js +89 -0
- package/example/dist/nav-bar/index.json +6 -0
- package/example/dist/nav-bar/index.wxml +53 -0
- package/example/dist/nav-bar/index.wxs +13 -0
- package/example/dist/nav-bar/index.wxss +1 -0
- package/example/dist/normal-slider/demo/index.css +1 -0
- package/example/dist/normal-slider/demo/index.d.ts +1 -0
- package/example/dist/normal-slider/demo/index.js +14 -0
- package/example/dist/normal-slider/demo/index.json +8 -0
- package/example/dist/normal-slider/demo/index.wxml +114 -0
- package/example/dist/normal-slider/demo/index.wxss +1 -0
- package/example/dist/normal-slider/index.css +1 -0
- package/example/dist/normal-slider/index.d.ts +1 -0
- package/example/dist/normal-slider/index.js +158 -0
- package/example/dist/normal-slider/index.json +6 -0
- package/example/dist/normal-slider/index.wxml +35 -0
- package/example/dist/normal-slider/index.wxss +1 -0
- package/example/dist/notice-bar/demo/index.css +1 -0
- package/example/dist/notice-bar/demo/index.d.ts +1 -0
- package/example/dist/notice-bar/demo/index.js +11 -0
- package/example/dist/notice-bar/demo/index.json +8 -0
- package/example/dist/notice-bar/demo/index.wxml +103 -0
- package/example/dist/notice-bar/demo/index.wxss +1 -0
- package/example/dist/notice-bar/index.css +1 -0
- package/example/dist/notice-bar/index.d.ts +1 -0
- package/example/dist/notice-bar/index.js +170 -0
- package/example/dist/notice-bar/index.json +6 -0
- package/example/dist/notice-bar/index.wxml +52 -0
- package/example/dist/notice-bar/index.wxs +11 -0
- package/example/dist/notice-bar/index.wxss +1 -0
- package/example/dist/notify/demo/index.d.ts +1 -0
- package/example/dist/notify/demo/index.js +45 -0
- package/example/dist/notify/demo/index.json +8 -0
- package/example/dist/notify/demo/index.wxml +25 -0
- package/example/dist/notify/index.css +1 -0
- package/example/dist/notify/index.d.ts +1 -0
- package/example/dist/notify/index.js +77 -0
- package/example/dist/notify/index.json +6 -0
- package/example/dist/notify/index.wxml +22 -0
- package/example/dist/notify/index.wxs +22 -0
- package/example/dist/notify/index.wxss +1 -0
- package/example/dist/notify/notify.d.ts +29 -0
- package/example/dist/notify/notify.js +57 -0
- package/example/dist/overlay/demo/index.css +1 -0
- package/example/dist/overlay/demo/index.d.ts +1 -0
- package/example/dist/overlay/demo/index.js +22 -0
- package/example/dist/overlay/demo/index.json +8 -0
- package/example/dist/overlay/demo/index.wxml +17 -0
- package/example/dist/overlay/demo/index.wxss +1 -0
- package/example/dist/overlay/index.css +1 -0
- package/example/dist/overlay/index.d.ts +1 -0
- package/example/dist/overlay/index.js +30 -0
- package/example/dist/overlay/index.json +6 -0
- package/example/dist/overlay/index.wxml +7 -0
- package/example/dist/overlay/index.wxss +1 -0
- package/example/dist/overlay/overlay.wxml +10 -0
- package/example/dist/picker/demo/index.css +1 -0
- package/example/dist/picker/demo/index.d.ts +1 -0
- package/example/dist/picker/demo/index.js +94 -0
- package/example/dist/picker/demo/index.json +8 -0
- package/example/dist/picker/demo/index.wxml +64 -0
- package/example/dist/picker/demo/index.wxss +1 -0
- package/example/dist/picker/index.css +1 -0
- package/example/dist/picker/index.d.ts +1 -0
- package/example/dist/picker/index.js +161 -0
- package/example/dist/picker/index.json +7 -0
- package/example/dist/picker/index.wxml +47 -0
- package/example/dist/picker/index.wxs +43 -0
- package/example/dist/picker/index.wxss +1 -0
- package/example/dist/picker/shared.d.ts +33 -0
- package/example/dist/picker/shared.js +33 -0
- package/example/dist/picker/toolbar.wxml +23 -0
- package/example/dist/picker-column/index.css +1 -0
- package/example/dist/picker-column/index.d.ts +1 -0
- package/example/dist/picker-column/index.js +388 -0
- package/example/dist/picker-column/index.json +3 -0
- package/example/dist/picker-column/index.wxml +42 -0
- package/example/dist/picker-column/index.wxs +71 -0
- package/example/dist/picker-column/index.wxss +1 -0
- package/example/dist/popover/demo/index.d.ts +1 -0
- package/example/dist/popover/demo/index.js +13 -0
- package/example/dist/popover/demo/index.json +12 -0
- package/example/dist/popover/demo/index.wxml +134 -0
- package/example/dist/popover/index.css +1 -0
- package/example/dist/popover/index.d.ts +1 -0
- package/example/dist/popover/index.js +200 -0
- package/example/dist/popover/index.json +7 -0
- package/example/dist/popover/index.wxml +23 -0
- package/example/dist/popover/index.wxss +1 -0
- package/example/dist/popup/demo/index.d.ts +1 -0
- package/example/dist/popup/demo/index.js +97 -0
- package/example/dist/popup/demo/index.json +8 -0
- package/example/dist/popup/demo/index.wxml +92 -0
- package/example/dist/popup/index.css +1 -0
- package/example/dist/popup/index.d.ts +1 -0
- package/example/dist/popup/index.js +117 -0
- package/example/dist/popup/index.json +7 -0
- package/example/dist/popup/index.wxml +21 -0
- package/example/dist/popup/index.wxs +22 -0
- package/example/dist/popup/index.wxss +1 -0
- package/example/dist/popup/popup.wxml +16 -0
- package/example/dist/progress/demo/index.css +1 -0
- package/example/dist/progress/demo/index.d.ts +1 -0
- package/example/dist/progress/demo/index.js +4 -0
- package/example/dist/progress/demo/index.json +7 -0
- package/example/dist/progress/demo/index.wxml +23 -0
- package/example/dist/progress/demo/index.wxss +1 -0
- package/example/dist/progress/index.css +1 -0
- package/example/dist/progress/index.d.ts +1 -0
- package/example/dist/progress/index.js +48 -0
- package/example/dist/progress/index.json +3 -0
- package/example/dist/progress/index.wxml +20 -0
- package/example/dist/progress/index.wxs +36 -0
- package/example/dist/progress/index.wxss +1 -0
- package/example/dist/radio/demo/index.css +1 -0
- package/example/dist/radio/demo/index.d.ts +1 -0
- package/example/dist/radio/demo/index.js +45 -0
- package/example/dist/radio/demo/index.json +10 -0
- package/example/dist/radio/demo/index.wxml +136 -0
- package/example/dist/radio/demo/index.wxss +1 -0
- package/example/dist/radio/index.css +1 -0
- package/example/dist/radio/index.d.ts +1 -0
- package/example/dist/radio/index.js +70 -0
- package/example/dist/radio/index.json +6 -0
- package/example/dist/radio/index.wxml +32 -0
- package/example/dist/radio/index.wxs +33 -0
- package/example/dist/radio/index.wxss +1 -0
- package/example/dist/radio-group/index.css +1 -0
- package/example/dist/radio-group/index.d.ts +1 -0
- package/example/dist/radio-group/index.js +27 -0
- package/example/dist/radio-group/index.json +3 -0
- package/example/dist/radio-group/index.wxml +5 -0
- package/example/dist/radio-group/index.wxss +1 -0
- package/example/dist/rate/demo/index.css +1 -0
- package/example/dist/rate/demo/index.d.ts +1 -0
- package/example/dist/rate/demo/index.js +26 -0
- package/example/dist/rate/demo/index.json +8 -0
- package/example/dist/rate/demo/index.wxml +68 -0
- package/example/dist/rate/demo/index.wxss +1 -0
- package/example/dist/rate/index.css +1 -0
- package/example/dist/rate/index.d.ts +1 -0
- package/example/dist/rate/index.js +89 -0
- package/example/dist/rate/index.json +6 -0
- package/example/dist/rate/index.wxml +35 -0
- package/example/dist/rate/index.wxss +1 -0
- package/example/dist/row/index.css +1 -0
- package/example/dist/row/index.d.ts +1 -0
- package/example/dist/row/index.js +23 -0
- package/example/dist/row/index.json +3 -0
- package/example/dist/row/index.wxml +5 -0
- package/example/dist/row/index.wxs +18 -0
- package/example/dist/row/index.wxss +1 -0
- package/example/dist/search/demo/index.css +1 -0
- package/example/dist/search/demo/index.d.ts +1 -0
- package/example/dist/search/demo/index.js +43 -0
- package/example/dist/search/demo/index.json +8 -0
- package/example/dist/search/demo/index.wxml +71 -0
- package/example/dist/search/demo/index.wxss +1 -0
- package/example/dist/search/index.css +1 -0
- package/example/dist/search/index.d.ts +1 -0
- package/example/dist/search/index.js +100 -0
- package/example/dist/search/index.json +7 -0
- package/example/dist/search/index.wxml +57 -0
- package/example/dist/search/index.wxss +1 -0
- package/example/dist/sidebar/demo/index.css +1 -0
- package/example/dist/sidebar/demo/index.d.ts +1 -0
- package/example/dist/sidebar/demo/index.js +13 -0
- package/example/dist/sidebar/demo/index.json +11 -0
- package/example/dist/sidebar/demo/index.wxml +39 -0
- package/example/dist/sidebar/demo/index.wxss +1 -0
- package/example/dist/sidebar/index.css +1 -0
- package/example/dist/sidebar/index.d.ts +1 -0
- package/example/dist/sidebar/index.js +34 -0
- package/example/dist/sidebar/index.json +3 -0
- package/example/dist/sidebar/index.wxml +3 -0
- package/example/dist/sidebar/index.wxss +1 -0
- package/example/dist/sidebar-item/index.css +1 -0
- package/example/dist/sidebar-item/index.d.ts +1 -0
- package/example/dist/sidebar-item/index.js +29 -0
- package/example/dist/sidebar-item/index.json +6 -0
- package/example/dist/sidebar-item/index.wxml +18 -0
- package/example/dist/sidebar-item/index.wxss +1 -0
- package/example/dist/skeleton/demo/index.css +1 -0
- package/example/dist/skeleton/demo/index.d.ts +1 -0
- package/example/dist/skeleton/demo/index.js +11 -0
- package/example/dist/skeleton/demo/index.json +8 -0
- package/example/dist/skeleton/demo/index.wxml +37 -0
- package/example/dist/skeleton/demo/index.wxss +1 -0
- package/example/dist/skeleton/index.css +1 -0
- package/example/dist/skeleton/index.d.ts +1 -0
- package/example/dist/skeleton/index.js +46 -0
- package/example/dist/skeleton/index.json +4 -0
- package/example/dist/skeleton/index.wxml +29 -0
- package/example/dist/skeleton/index.wxss +1 -0
- package/example/dist/slider/demo/index.css +1 -0
- package/example/dist/slider/demo/index.d.ts +1 -0
- package/example/dist/slider/demo/index.js +19 -0
- package/example/dist/slider/demo/index.json +7 -0
- package/example/dist/slider/demo/index.wxml +83 -0
- package/example/dist/slider/demo/index.wxss +1 -0
- package/example/dist/slider/index.css +1 -0
- package/example/dist/slider/index.d.ts +1 -0
- package/example/dist/slider/index.js +209 -0
- package/example/dist/slider/index.json +3 -0
- package/example/dist/slider/index.wxml +68 -0
- package/example/dist/slider/index.wxs +14 -0
- package/example/dist/slider/index.wxss +1 -0
- package/example/dist/stepper/demo/index.d.ts +1 -0
- package/example/dist/stepper/demo/index.js +20 -0
- package/example/dist/stepper/demo/index.json +9 -0
- package/example/dist/stepper/demo/index.wxml +45 -0
- package/example/dist/stepper/index.css +1 -0
- package/example/dist/stepper/index.d.ts +1 -0
- package/example/dist/stepper/index.js +189 -0
- package/example/dist/stepper/index.json +6 -0
- package/example/dist/stepper/index.wxml +45 -0
- package/example/dist/stepper/index.wxs +22 -0
- package/example/dist/stepper/index.wxss +1 -0
- package/example/dist/steps/demo/index.css +1 -0
- package/example/dist/steps/demo/index.d.ts +1 -0
- package/example/dist/steps/demo/index.js +44 -0
- package/example/dist/steps/demo/index.json +9 -0
- package/example/dist/steps/demo/index.wxml +31 -0
- package/example/dist/steps/demo/index.wxss +1 -0
- package/example/dist/steps/index.css +1 -0
- package/example/dist/steps/index.d.ts +1 -0
- package/example/dist/steps/index.js +34 -0
- package/example/dist/steps/index.json +6 -0
- package/example/dist/steps/index.wxml +54 -0
- package/example/dist/steps/index.wxss +1 -0
- package/example/dist/sticky/demo/index.css +1 -0
- package/example/dist/sticky/demo/index.d.ts +1 -0
- package/example/dist/sticky/demo/index.js +26 -0
- package/example/dist/sticky/demo/index.json +8 -0
- package/example/dist/sticky/demo/index.wxml +42 -0
- package/example/dist/sticky/demo/index.wxss +1 -0
- package/example/dist/sticky/index.css +1 -0
- package/example/dist/sticky/index.d.ts +1 -0
- package/example/dist/sticky/index.js +120 -0
- package/example/dist/sticky/index.json +3 -0
- package/example/dist/sticky/index.wxml +8 -0
- package/example/dist/sticky/index.wxs +25 -0
- package/example/dist/sticky/index.wxss +1 -0
- package/example/dist/swipe-cell/demo/index.css +1 -0
- package/example/dist/swipe-cell/demo/index.d.ts +1 -0
- package/example/dist/swipe-cell/demo/index.js +48 -0
- package/example/dist/swipe-cell/demo/index.json +11 -0
- package/example/dist/swipe-cell/demo/index.wxml +32 -0
- package/example/dist/swipe-cell/demo/index.wxss +1 -0
- package/example/dist/swipe-cell/index.css +1 -0
- package/example/dist/swipe-cell/index.d.ts +1 -0
- package/example/dist/swipe-cell/index.js +131 -0
- package/example/dist/swipe-cell/index.json +3 -0
- package/example/dist/swipe-cell/index.wxml +21 -0
- package/example/dist/swipe-cell/index.wxss +1 -0
- package/example/dist/switch/demo/index.d.ts +1 -0
- package/example/dist/switch/demo/index.js +29 -0
- package/example/dist/switch/demo/index.json +10 -0
- package/example/dist/switch/demo/index.wxml +73 -0
- package/example/dist/switch/index.css +1 -0
- package/example/dist/switch/index.d.ts +1 -0
- package/example/dist/switch/index.js +40 -0
- package/example/dist/switch/index.json +6 -0
- package/example/dist/switch/index.wxml +35 -0
- package/example/dist/switch/index.wxs +26 -0
- package/example/dist/switch/index.wxss +1 -0
- package/example/dist/tab/demo/index.css +1 -0
- package/example/dist/tab/demo/index.d.ts +1 -0
- package/example/dist/tab/demo/index.js +64 -0
- package/example/dist/tab/demo/index.json +9 -0
- package/example/dist/tab/demo/index.wxml +177 -0
- package/example/dist/tab/demo/index.wxss +1 -0
- package/example/dist/tab/index.css +1 -0
- package/example/dist/tab/index.d.ts +1 -0
- package/example/dist/tab/index.js +64 -0
- package/example/dist/tab/index.json +3 -0
- package/example/dist/tab/index.wxml +8 -0
- package/example/dist/tab/index.wxss +1 -0
- package/example/dist/tabbar/demo/index.css +1 -0
- package/example/dist/tabbar/demo/index.d.ts +1 -0
- package/example/dist/tabbar/demo/index.js +34 -0
- package/example/dist/tabbar/demo/index.json +9 -0
- package/example/dist/tabbar/demo/index.wxml +138 -0
- package/example/dist/tabbar/demo/index.wxss +1 -0
- package/example/dist/tabbar/index.css +1 -0
- package/example/dist/tabbar/index.d.ts +1 -0
- package/example/dist/tabbar/index.js +66 -0
- package/example/dist/tabbar/index.json +3 -0
- package/example/dist/tabbar/index.wxml +12 -0
- package/example/dist/tabbar/index.wxss +1 -0
- package/example/dist/tabbar-item/index.css +1 -0
- package/example/dist/tabbar-item/index.d.ts +1 -0
- package/example/dist/tabbar-item/index.js +73 -0
- package/example/dist/tabbar-item/index.json +7 -0
- package/example/dist/tabbar-item/index.wxml +29 -0
- package/example/dist/tabbar-item/index.wxss +1 -0
- package/example/dist/tabs/index.css +1 -0
- package/example/dist/tabs/index.d.ts +1 -0
- package/example/dist/tabs/index.js +304 -0
- package/example/dist/tabs/index.json +7 -0
- package/example/dist/tabs/index.wxml +67 -0
- package/example/dist/tabs/index.wxs +99 -0
- package/example/dist/tabs/index.wxss +1 -0
- package/example/dist/tag/demo/index.d.ts +1 -0
- package/example/dist/tag/demo/index.js +16 -0
- package/example/dist/tag/demo/index.json +7 -0
- package/example/dist/tag/demo/index.wxml +62 -0
- package/example/dist/tag/index.css +1 -0
- package/example/dist/tag/index.d.ts +1 -0
- package/example/dist/tag/index.js +29 -0
- package/example/dist/tag/index.json +6 -0
- package/example/dist/tag/index.wxml +17 -0
- package/example/dist/tag/index.wxs +13 -0
- package/example/dist/tag/index.wxss +1 -0
- package/example/dist/toast/demo/index.d.ts +1 -0
- package/example/dist/toast/demo/index.js +84 -0
- package/example/dist/toast/demo/index.json +8 -0
- package/example/dist/toast/demo/index.wxml +33 -0
- package/example/dist/toast/icons.d.ts +3 -0
- package/example/dist/toast/icons.js +6 -0
- package/example/dist/toast/index.css +1 -0
- package/example/dist/toast/index.d.ts +1 -0
- package/example/dist/toast/index.js +57 -0
- package/example/dist/toast/index.json +9 -0
- package/example/dist/toast/index.wxml +33 -0
- package/example/dist/toast/index.wxss +1 -0
- package/example/dist/toast/toast.d.ts +34 -0
- package/example/dist/toast/toast.js +81 -0
- package/example/dist/transition/demo/index.css +1 -0
- package/example/dist/transition/demo/index.d.ts +1 -0
- package/example/dist/transition/demo/index.js +67 -0
- package/example/dist/transition/demo/index.json +8 -0
- package/example/dist/transition/demo/index.wxml +35 -0
- package/example/dist/transition/demo/index.wxss +1 -0
- package/example/dist/transition/index.css +1 -0
- package/example/dist/transition/index.d.ts +1 -0
- package/example/dist/transition/index.js +13 -0
- package/example/dist/transition/index.json +3 -0
- package/example/dist/transition/index.wxml +9 -0
- package/example/dist/transition/index.wxs +17 -0
- package/example/dist/transition/index.wxss +1 -0
- package/example/dist/tree-select/demo/index.d.ts +1 -0
- package/example/dist/tree-select/demo/index.js +113 -0
- package/example/dist/tree-select/demo/index.json +8 -0
- package/example/dist/tree-select/demo/index.wxml +56 -0
- package/example/dist/tree-select/index.css +1 -0
- package/example/dist/tree-select/index.d.ts +1 -0
- package/example/dist/tree-select/index.js +69 -0
- package/example/dist/tree-select/index.json +8 -0
- package/example/dist/tree-select/index.wxml +41 -0
- package/example/dist/tree-select/index.wxs +12 -0
- package/example/dist/tree-select/index.wxss +1 -0
- package/example/dist/wxs/add-unit.wxs +12 -0
- package/example/dist/wxs/array.wxs +5 -0
- package/example/dist/wxs/bem.wxs +39 -0
- package/example/dist/wxs/memoize.wxs +55 -0
- package/example/dist/wxs/object.wxs +13 -0
- package/example/dist/wxs/style.wxs +46 -0
- package/example/dist/wxs/utils.wxs +10 -0
- package/example/i18n/strings.json +1114 -0
- package/example/package.json +11 -0
- package/example/pages/action-sheet/index.js +3 -0
- package/example/pages/action-sheet/index.json +3 -0
- package/example/pages/action-sheet/index.wxml +1 -0
- package/example/pages/area/index.js +3 -0
- package/example/pages/area/index.json +3 -0
- package/example/pages/area/index.wxml +1 -0
- package/example/pages/battery/index.js +3 -0
- package/example/pages/battery/index.json +3 -0
- package/example/pages/battery/index.wxml +1 -0
- package/example/pages/bottom-sheet/index.js +3 -0
- package/example/pages/bottom-sheet/index.json +3 -0
- package/example/pages/bottom-sheet/index.wxml +1 -0
- package/example/pages/bottom-sheet/index.wxss +3 -0
- package/example/pages/button/index.js +3 -0
- package/example/pages/button/index.json +3 -0
- package/example/pages/button/index.wxml +1 -0
- package/example/pages/calendar/index.js +3 -0
- package/example/pages/calendar/index.json +3 -0
- package/example/pages/calendar/index.wxml +1 -0
- package/example/pages/card/index.js +3 -0
- package/example/pages/card/index.json +3 -0
- package/example/pages/card/index.wxml +1 -0
- package/example/pages/cascader/index.js +3 -0
- package/example/pages/cascader/index.json +3 -0
- package/example/pages/cascader/index.wxml +1 -0
- package/example/pages/cell/index.js +3 -0
- package/example/pages/cell/index.json +3 -0
- package/example/pages/cell/index.wxml +1 -0
- package/example/pages/checkbox/index.js +3 -0
- package/example/pages/checkbox/index.json +3 -0
- package/example/pages/checkbox/index.wxml +1 -0
- package/example/pages/circle/index.js +3 -0
- package/example/pages/circle/index.json +3 -0
- package/example/pages/circle/index.wxml +1 -0
- package/example/pages/col/index.js +3 -0
- package/example/pages/col/index.json +3 -0
- package/example/pages/col/index.wxml +1 -0
- package/example/pages/collapse/index.js +3 -0
- package/example/pages/collapse/index.json +3 -0
- package/example/pages/collapse/index.wxml +1 -0
- package/example/pages/config-provider/index.js +3 -0
- package/example/pages/config-provider/index.json +3 -0
- package/example/pages/config-provider/index.wxml +1 -0
- package/example/pages/count-down/index.js +3 -0
- package/example/pages/count-down/index.json +3 -0
- package/example/pages/count-down/index.wxml +1 -0
- package/example/pages/custom-keyboard/index.js +3 -0
- package/example/pages/custom-keyboard/index.json +3 -0
- package/example/pages/custom-keyboard/index.wxml +1 -0
- package/example/pages/dashboard/index.js +8 -0
- package/example/pages/dashboard/index.json +6 -0
- package/example/pages/dashboard/index.wxml +1 -0
- package/example/pages/datetime-picker/index.js +3 -0
- package/example/pages/datetime-picker/index.json +3 -0
- package/example/pages/datetime-picker/index.wxml +1 -0
- package/example/pages/dialog/index.js +3 -0
- package/example/pages/dialog/index.json +3 -0
- package/example/pages/dialog/index.wxml +1 -0
- package/example/pages/divider/index.js +3 -0
- package/example/pages/divider/index.json +3 -0
- package/example/pages/divider/index.wxml +1 -0
- package/example/pages/dropdown-menu/index.js +3 -0
- package/example/pages/dropdown-menu/index.json +3 -0
- package/example/pages/dropdown-menu/index.wxml +1 -0
- package/example/pages/empty/index.js +3 -0
- package/example/pages/empty/index.json +3 -0
- package/example/pages/empty/index.wxml +1 -0
- package/example/pages/field/index.js +3 -0
- package/example/pages/field/index.json +3 -0
- package/example/pages/field/index.wxml +1 -0
- package/example/pages/goods-action/index.js +3 -0
- package/example/pages/goods-action/index.json +3 -0
- package/example/pages/goods-action/index.wxml +1 -0
- package/example/pages/grid/index.js +3 -0
- package/example/pages/grid/index.json +3 -0
- package/example/pages/grid/index.wxml +1 -0
- package/example/pages/icon/index.js +3 -0
- package/example/pages/icon/index.json +3 -0
- package/example/pages/icon/index.wxml +1 -0
- package/example/pages/image/index.js +3 -0
- package/example/pages/image/index.json +3 -0
- package/example/pages/image/index.wxml +1 -0
- package/example/pages/index-bar/index.js +3 -0
- package/example/pages/index-bar/index.json +3 -0
- package/example/pages/index-bar/index.wxml +1 -0
- package/example/pages/loading/index.js +3 -0
- package/example/pages/loading/index.json +3 -0
- package/example/pages/loading/index.wxml +1 -0
- package/example/pages/nav-bar/index.js +3 -0
- package/example/pages/nav-bar/index.json +3 -0
- package/example/pages/nav-bar/index.wxml +1 -0
- package/example/pages/notice-bar/index.js +3 -0
- package/example/pages/notice-bar/index.json +3 -0
- package/example/pages/notice-bar/index.wxml +1 -0
- package/example/pages/notify/index.js +3 -0
- package/example/pages/notify/index.json +3 -0
- package/example/pages/notify/index.wxml +1 -0
- package/example/pages/overlay/index.js +3 -0
- package/example/pages/overlay/index.json +3 -0
- package/example/pages/overlay/index.wxml +1 -0
- package/example/pages/picker/index.js +3 -0
- package/example/pages/picker/index.json +3 -0
- package/example/pages/picker/index.wxml +1 -0
- package/example/pages/popover/index.js +3 -0
- package/example/pages/popover/index.json +3 -0
- package/example/pages/popover/index.wxml +1 -0
- package/example/pages/popover/index.wxss +3 -0
- package/example/pages/popup/index.js +3 -0
- package/example/pages/popup/index.json +3 -0
- package/example/pages/popup/index.wxml +1 -0
- package/example/pages/popup/index.wxss +3 -0
- package/example/pages/progress/index.js +3 -0
- package/example/pages/progress/index.json +3 -0
- package/example/pages/progress/index.wxml +1 -0
- package/example/pages/radio/index.js +3 -0
- package/example/pages/radio/index.json +3 -0
- package/example/pages/radio/index.wxml +1 -0
- package/example/pages/rate/index.js +3 -0
- package/example/pages/rate/index.json +3 -0
- package/example/pages/rate/index.wxml +1 -0
- package/example/pages/rate/index.wxss +0 -0
- package/example/pages/search/index.js +3 -0
- package/example/pages/search/index.json +3 -0
- package/example/pages/search/index.wxml +1 -0
- package/example/pages/sidebar/index.js +3 -0
- package/example/pages/sidebar/index.json +3 -0
- package/example/pages/sidebar/index.wxml +1 -0
- package/example/pages/sidebar/index.wxss +3 -0
- package/example/pages/skeleton/index.js +3 -0
- package/example/pages/skeleton/index.json +3 -0
- package/example/pages/skeleton/index.wxml +1 -0
- package/example/pages/slider/index.js +3 -0
- package/example/pages/slider/index.json +3 -0
- package/example/pages/slider/index.wxml +1 -0
- package/example/pages/stepper/index.js +3 -0
- package/example/pages/stepper/index.json +3 -0
- package/example/pages/stepper/index.wxml +1 -0
- package/example/pages/steps/index.js +3 -0
- package/example/pages/steps/index.json +3 -0
- package/example/pages/steps/index.wxml +1 -0
- package/example/pages/sticky/index.js +3 -0
- package/example/pages/sticky/index.json +3 -0
- package/example/pages/sticky/index.wxml +1 -0
- package/example/pages/sticky/index.wxss +3 -0
- package/example/pages/swipe-cell/index.js +3 -0
- package/example/pages/swipe-cell/index.json +3 -0
- package/example/pages/swipe-cell/index.wxml +1 -0
- package/example/pages/switch/index.js +3 -0
- package/example/pages/switch/index.json +3 -0
- package/example/pages/switch/index.wxml +1 -0
- package/example/pages/tab/index.js +3 -0
- package/example/pages/tab/index.json +3 -0
- package/example/pages/tab/index.wxml +1 -0
- package/example/pages/tabbar/index.js +3 -0
- package/example/pages/tabbar/index.json +3 -0
- package/example/pages/tabbar/index.wxml +1 -0
- package/example/pages/tag/index.js +3 -0
- package/example/pages/tag/index.json +3 -0
- package/example/pages/tag/index.wxml +1 -0
- package/example/pages/toast/index.js +3 -0
- package/example/pages/toast/index.json +3 -0
- package/example/pages/toast/index.wxml +1 -0
- package/example/pages/transition/index.js +3 -0
- package/example/pages/transition/index.json +3 -0
- package/example/pages/transition/index.wxml +1 -0
- package/example/pages/tree-select/index.js +3 -0
- package/example/pages/tree-select/index.json +3 -0
- package/example/pages/tree-select/index.wxml +1 -0
- package/example/project.tuya.json +19 -0
- package/example/yarn.lock +40 -0
- package/index.d.ts +3 -0
- package/jest.config.js +17 -0
- package/jest.setup.js +309 -0
- package/jestNode.ts +230 -0
- package/lib/action-sheet/demo/index.d.ts +1 -0
- package/lib/action-sheet/demo/index.js +124 -0
- package/lib/area/demo/index.d.ts +1 -0
- package/lib/area/demo/index.js +48 -0
- package/lib/battery/demo/index.d.ts +1 -0
- package/lib/battery/demo/index.js +4 -0
- package/lib/bottom-sheet/demo/index.d.ts +1 -0
- package/lib/bottom-sheet/demo/index.js +27 -0
- package/lib/button/demo/index.d.ts +1 -0
- package/lib/button/demo/index.js +14 -0
- package/lib/calendar/calendar.wxml +1 -0
- package/lib/calendar/demo/index.d.ts +1 -0
- package/lib/calendar/demo/index.js +110 -0
- package/lib/calendar/index.js +7 -3
- package/lib/calendar/index.json +2 -1
- package/lib/cascader/demo/index.d.ts +1 -0
- package/lib/cascader/demo/index.js +197 -0
- package/lib/cell/demo/index.d.ts +1 -0
- package/lib/cell/demo/index.js +20 -0
- package/lib/checkbox/demo/index.d.ts +1 -0
- package/lib/checkbox/demo/index.js +38 -0
- package/lib/circle/demo/index.d.ts +1 -0
- package/lib/circle/demo/index.js +29 -0
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.js +38 -184
- package/lib/circle/index.rjs +230 -0
- package/lib/circle/index.wxml +5 -6
- package/lib/circle/index.wxss +1 -1
- package/lib/col/demo/index.d.ts +1 -0
- package/lib/col/demo/index.js +6 -0
- package/lib/collapse/demo/index.d.ts +1 -0
- package/lib/collapse/demo/index.js +44 -0
- package/lib/config-provider/demo/index.d.ts +1 -0
- package/lib/config-provider/demo/index.js +24 -0
- package/lib/count-down/demo/index.d.ts +1 -0
- package/lib/count-down/demo/index.js +39 -0
- package/lib/custom-keyboard/demo/index.d.ts +1 -0
- package/lib/custom-keyboard/demo/index.js +19 -0
- package/lib/datetime-picker/demo/index.d.ts +1 -0
- package/lib/datetime-picker/demo/index.js +115 -0
- package/lib/dialog/demo/index.d.ts +1 -0
- package/lib/dialog/demo/index.js +145 -0
- package/lib/divider/demo/index.d.ts +1 -0
- package/lib/divider/demo/index.js +6 -0
- package/lib/dropdown-menu/demo/index.d.ts +1 -0
- package/lib/dropdown-menu/demo/index.js +52 -0
- package/lib/empty/demo/index.d.ts +1 -0
- package/lib/empty/demo/index.js +15 -0
- package/lib/field/demo/index.d.ts +1 -0
- package/lib/field/demo/index.js +25 -0
- package/lib/goods-action/demo/index.d.ts +1 -0
- package/lib/goods-action/demo/index.js +25 -0
- package/lib/grid/demo/index.d.ts +1 -0
- package/lib/grid/demo/index.js +11 -0
- package/lib/icon/demo/index.d.ts +1 -0
- package/lib/icon/demo/index.js +56 -0
- package/lib/image/demo/index.d.ts +1 -0
- package/lib/image/demo/index.js +22 -0
- package/lib/index-bar/demo/index.d.ts +1 -0
- package/lib/index-bar/demo/index.js +23 -0
- package/lib/loading/demo/index.d.ts +1 -0
- package/lib/loading/demo/index.js +6 -0
- package/lib/nav-bar/demo/index.d.ts +1 -0
- package/lib/nav-bar/demo/index.js +31 -0
- package/lib/normal-slider/demo/index.d.ts +1 -0
- package/lib/normal-slider/demo/index.js +16 -0
- package/lib/notice-bar/demo/index.d.ts +1 -0
- package/lib/notice-bar/demo/index.js +16 -0
- package/lib/notify/demo/index.d.ts +1 -0
- package/lib/notify/demo/index.js +50 -0
- package/lib/overlay/demo/index.d.ts +1 -0
- package/lib/overlay/demo/index.js +24 -0
- package/lib/picker/demo/index.d.ts +1 -0
- package/lib/picker/demo/index.js +100 -0
- package/lib/picker/index.wxml +1 -1
- package/lib/popover/demo/index.d.ts +1 -0
- package/lib/popover/demo/index.js +18 -0
- package/lib/popup/demo/index.d.ts +1 -0
- package/lib/popup/demo/index.js +103 -0
- package/lib/progress/demo/index.d.ts +1 -0
- package/lib/progress/demo/index.js +6 -0
- package/lib/radio/demo/index.d.ts +1 -0
- package/lib/radio/demo/index.js +49 -0
- package/lib/rate/demo/index.d.ts +1 -0
- package/lib/rate/demo/index.js +31 -0
- package/lib/search/demo/index.d.ts +1 -0
- package/lib/search/demo/index.js +48 -0
- package/lib/sidebar/demo/index.d.ts +1 -0
- package/lib/sidebar/demo/index.js +18 -0
- package/lib/skeleton/demo/index.d.ts +1 -0
- package/lib/skeleton/demo/index.js +14 -0
- package/lib/slider/demo/index.d.ts +1 -0
- package/lib/slider/demo/index.js +21 -0
- package/lib/stepper/demo/index.d.ts +1 -0
- package/lib/stepper/demo/index.js +26 -0
- package/lib/steps/demo/index.d.ts +1 -0
- package/lib/steps/demo/index.js +49 -0
- package/lib/sticky/demo/index.d.ts +1 -0
- package/lib/sticky/demo/index.js +30 -0
- package/lib/swipe-cell/demo/index.d.ts +1 -0
- package/lib/swipe-cell/demo/index.js +53 -0
- package/lib/switch/demo/index.d.ts +1 -0
- package/lib/switch/demo/index.js +37 -0
- package/lib/tab/demo/index.d.ts +1 -0
- package/lib/tab/demo/index.js +66 -0
- package/lib/tabbar/demo/index.d.ts +1 -0
- package/lib/tabbar/demo/index.js +41 -0
- package/lib/tag/demo/index.d.ts +1 -0
- package/lib/tag/demo/index.js +19 -0
- package/lib/toast/demo/index.d.ts +1 -0
- package/lib/toast/demo/index.js +91 -0
- package/lib/transition/demo/index.d.ts +1 -0
- package/lib/transition/demo/index.js +71 -0
- package/lib/tree-select/demo/index.d.ts +1 -0
- package/lib/tree-select/demo/index.js +130 -0
- package/package.json +1 -1
- package/packages/action-sheet/README.en.md +327 -0
- package/packages/action-sheet/README.md +327 -0
- package/packages/action-sheet/demo/index.json +10 -0
- package/packages/action-sheet/demo/index.less +30 -0
- package/packages/action-sheet/demo/index.ts +125 -0
- package/packages/action-sheet/demo/index.wxml +143 -0
- package/packages/action-sheet/index.json +8 -0
- package/packages/action-sheet/index.less +188 -0
- package/packages/action-sheet/index.ts +122 -0
- package/packages/action-sheet/index.wxml +85 -0
- package/packages/action-sheet/test/__snapshots__/demo.spec.ts.snap +646 -0
- package/packages/action-sheet/test/demo.spec.ts +11 -0
- package/packages/area/README.en.md +184 -0
- package/packages/area/README.md +184 -0
- package/packages/area/demo/index.json +8 -0
- package/packages/area/demo/index.ts +52 -0
- package/packages/area/demo/index.wxml +11 -0
- package/packages/area/index.json +6 -0
- package/packages/area/index.less +1 -0
- package/packages/area/index.ts +280 -0
- package/packages/area/index.wxml +20 -0
- package/packages/area/index.wxs +8 -0
- package/packages/area/test/__snapshots__/demo.spec.ts.snap +275 -0
- package/packages/area/test/demo.spec.ts +11 -0
- package/packages/battery/README.en.md +48 -0
- package/packages/battery/README.md +48 -0
- package/packages/battery/demo/index.json +7 -0
- package/packages/battery/demo/index.less +6 -0
- package/packages/battery/demo/index.ts +3 -0
- package/packages/battery/demo/index.wxml +18 -0
- package/packages/battery/index.json +4 -0
- package/packages/battery/index.ts +129 -0
- package/packages/battery/index.wxml +1 -0
- package/packages/battery/test/__snapshots__/demo.spec.ts.snap +76 -0
- package/packages/battery/test/demo.spec.ts +11 -0
- package/packages/bottom-sheet/README.en.md +170 -0
- package/packages/bottom-sheet/README.md +170 -0
- package/packages/bottom-sheet/demo/index.json +8 -0
- package/packages/bottom-sheet/demo/index.less +26 -0
- package/packages/bottom-sheet/demo/index.ts +29 -0
- package/packages/bottom-sheet/demo/index.wxml +37 -0
- package/packages/bottom-sheet/index.json +8 -0
- package/packages/bottom-sheet/index.less +41 -0
- package/packages/bottom-sheet/index.ts +81 -0
- package/packages/bottom-sheet/index.wxml +28 -0
- package/packages/bottom-sheet/test/__snapshots__/demo.spec.ts.snap +213 -0
- package/packages/bottom-sheet/test/demo.spec.ts +11 -0
- package/packages/button/README.en.md +208 -0
- package/packages/button/README.md +207 -0
- package/packages/button/demo/index.json +9 -0
- package/packages/button/demo/index.less +25 -0
- package/packages/button/demo/index.ts +10 -0
- package/packages/button/demo/index.wxml +81 -0
- package/packages/button/index.json +7 -0
- package/packages/button/index.less +270 -0
- package/packages/button/index.ts +74 -0
- package/packages/button/index.wxml +64 -0
- package/packages/button/index.wxs +39 -0
- package/packages/button/test/__snapshots__/demo.spec.ts.snap +1627 -0
- package/packages/button/test/demo.spec.ts +11 -0
- package/packages/button/test/index.spec.ts +68 -0
- package/packages/calendar/README.en.md +442 -0
- package/packages/calendar/README.md +446 -0
- package/packages/calendar/calendar.wxml +80 -0
- package/packages/calendar/demo/index.json +8 -0
- package/packages/calendar/demo/index.less +21 -0
- package/packages/calendar/demo/index.ts +114 -0
- package/packages/calendar/demo/index.wxml +105 -0
- package/packages/calendar/demo/index.wxs +34 -0
- package/packages/calendar/index.json +12 -0
- package/packages/calendar/index.less +52 -0
- package/packages/calendar/index.ts +518 -0
- package/packages/calendar/index.wxml +25 -0
- package/packages/calendar/index.wxs +59 -0
- package/packages/calendar/test/__snapshots__/demo.spec.ts.snap +2602 -0
- package/packages/calendar/test/demo.spec.ts +11 -0
- package/packages/calendar-header/index.json +6 -0
- package/packages/calendar-header/index.less +103 -0
- package/packages/calendar-header/index.ts +66 -0
- package/packages/calendar-header/index.wxml +27 -0
- package/packages/calendar-month/index.json +3 -0
- package/packages/calendar-month/index.less +141 -0
- package/packages/calendar-month/index.ts +221 -0
- package/packages/calendar-month/index.wxml +22 -0
- package/packages/calendar-month/index.wxs +76 -0
- package/packages/calendar-month-list/index.json +7 -0
- package/packages/calendar-month-list/index.less +30 -0
- package/packages/calendar-month-list/index.ts +117 -0
- package/packages/calendar-month-list/index.wxml +15 -0
- package/packages/calendar-utils/types.ts +7 -0
- package/packages/calendar-utils/utils.ts +201 -0
- package/packages/calendar-utils/utils.wxs +25 -0
- package/packages/calendar-year-list/index.json +7 -0
- package/packages/calendar-year-list/index.less +30 -0
- package/packages/calendar-year-list/index.ts +123 -0
- package/packages/calendar-year-list/index.wxml +15 -0
- package/packages/cascader/README.en.md +233 -0
- package/packages/cascader/README.md +233 -0
- package/packages/cascader/demo/index.json +9 -0
- package/packages/cascader/demo/index.less +3 -0
- package/packages/cascader/demo/index.ts +196 -0
- package/packages/cascader/demo/index.wxml +83 -0
- package/packages/cascader/index.json +8 -0
- package/packages/cascader/index.less +79 -0
- package/packages/cascader/index.ts +235 -0
- package/packages/cascader/index.wxml +56 -0
- package/packages/cascader/index.wxs +21 -0
- package/packages/cascader/test/__snapshots__/demo.spec.ts.snap +363 -0
- package/packages/cascader/test/demo.spec.ts +11 -0
- package/packages/cell/README.en.md +252 -0
- package/packages/cell/README.md +252 -0
- package/packages/cell/demo/index.json +13 -0
- package/packages/cell/demo/index.less +9 -0
- package/packages/cell/demo/index.ts +16 -0
- package/packages/cell/demo/index.wxml +110 -0
- package/packages/cell/index.json +6 -0
- package/packages/cell/index.less +106 -0
- package/packages/cell/index.ts +48 -0
- package/packages/cell/index.wxml +47 -0
- package/packages/cell/index.wxs +17 -0
- package/packages/cell/test/__snapshots__/demo.spec.ts.snap +943 -0
- package/packages/cell/test/demo.spec.ts +11 -0
- package/packages/cell-group/index.json +3 -0
- package/packages/cell-group/index.less +29 -0
- package/packages/cell-group/index.ts +12 -0
- package/packages/cell-group/index.wxml +11 -0
- package/packages/checkbox/README.en.md +361 -0
- package/packages/checkbox/README.md +359 -0
- package/packages/checkbox/demo/index.json +10 -0
- package/packages/checkbox/demo/index.less +20 -0
- package/packages/checkbox/demo/index.ts +40 -0
- package/packages/checkbox/demo/index.wxml +179 -0
- package/packages/checkbox/index.json +6 -0
- package/packages/checkbox/index.less +81 -0
- package/packages/checkbox/index.ts +89 -0
- package/packages/checkbox/index.wxml +32 -0
- package/packages/checkbox/index.wxs +20 -0
- package/packages/checkbox/test/__snapshots__/demo.spec.ts.snap +778 -0
- package/packages/checkbox/test/demo.spec.ts +11 -0
- package/packages/checkbox-group/index.json +3 -0
- package/packages/checkbox-group/index.less +6 -0
- package/packages/checkbox-group/index.ts +43 -0
- package/packages/checkbox-group/index.wxml +5 -0
- package/packages/circle/README.en.md +109 -0
- package/packages/circle/README.md +109 -0
- package/packages/circle/demo/index.json +7 -0
- package/packages/circle/demo/index.less +18 -0
- package/packages/circle/demo/index.ts +28 -0
- package/packages/circle/demo/index.wxml +30 -0
- package/packages/circle/index.json +3 -0
- package/packages/circle/index.less +5 -0
- package/packages/circle/index.rjs +230 -0
- package/packages/circle/index.ts +133 -0
- package/packages/circle/index.wxml +8 -0
- package/packages/circle/test/__snapshots__/demo.spec.ts.snap +118 -0
- package/packages/circle/test/demo.spec.ts +27 -0
- package/packages/col/README.en.md +89 -0
- package/packages/col/README.md +90 -0
- package/packages/col/demo/index.json +8 -0
- package/packages/col/demo/index.less +17 -0
- package/packages/col/demo/index.ts +5 -0
- package/packages/col/demo/index.wxml +24 -0
- package/packages/col/index.json +3 -0
- package/packages/col/index.less +15 -0
- package/packages/col/index.ts +11 -0
- package/packages/col/index.wxml +9 -0
- package/packages/col/index.wxs +18 -0
- package/packages/col/test/__snapshots__/demo.spec.ts.snap +136 -0
- package/packages/col/test/demo.spec.ts +11 -0
- package/packages/collapse/README.en.md +223 -0
- package/packages/collapse/README.md +223 -0
- package/packages/collapse/demo/index.json +9 -0
- package/packages/collapse/demo/index.less +6 -0
- package/packages/collapse/demo/index.ts +42 -0
- package/packages/collapse/demo/index.wxml +44 -0
- package/packages/collapse/index.json +3 -0
- package/packages/collapse/index.less +1 -0
- package/packages/collapse/index.ts +50 -0
- package/packages/collapse/index.wxml +3 -0
- package/packages/collapse/test/__snapshots__/demo.spec.ts.snap +748 -0
- package/packages/collapse/test/demo.spec.ts +11 -0
- package/packages/collapse-item/animate.ts +53 -0
- package/packages/collapse-item/index.json +6 -0
- package/packages/collapse-item/index.less +61 -0
- package/packages/collapse-item/index.ts +76 -0
- package/packages/collapse-item/index.wxml +45 -0
- package/packages/common/README.en.md +70 -0
- package/packages/common/README.md +71 -0
- package/packages/common/appLog.ts +109 -0
- package/packages/common/color.ts +7 -0
- package/packages/common/component.ts +65 -0
- package/packages/common/index.less +8 -0
- package/packages/common/relation.ts +68 -0
- package/packages/common/style/clearfix.less +5 -0
- package/packages/common/style/ellipsis.less +13 -0
- package/packages/common/style/hairline.less +41 -0
- package/packages/common/style/mixins/clearfix.less +7 -0
- package/packages/common/style/mixins/ellipsis.less +15 -0
- package/packages/common/style/mixins/hairline.less +40 -0
- package/packages/common/style/var.less +813 -0
- package/packages/common/utils.ts +119 -0
- package/packages/common/validator.ts +40 -0
- package/packages/common/version.ts +80 -0
- package/packages/config-provider/README.en.md +121 -0
- package/packages/config-provider/README.md +121 -0
- package/packages/config-provider/demo/index.json +12 -0
- package/packages/config-provider/demo/index.less +10 -0
- package/packages/config-provider/demo/index.ts +24 -0
- package/packages/config-provider/demo/index.wxml +20 -0
- package/packages/config-provider/index.json +3 -0
- package/packages/config-provider/index.ts +10 -0
- package/packages/config-provider/index.wxml +5 -0
- package/packages/config-provider/index.wxs +29 -0
- package/packages/config-provider/test/__snapshots__/demo.spec.ts.snap +192 -0
- package/packages/config-provider/test/demo.spec.ts +11 -0
- package/packages/count-down/README.en.md +186 -0
- package/packages/count-down/README.md +186 -0
- package/packages/count-down/demo/index.json +10 -0
- package/packages/count-down/demo/index.less +14 -0
- package/packages/count-down/demo/index.ts +40 -0
- package/packages/count-down/demo/index.wxml +48 -0
- package/packages/count-down/index.json +3 -0
- package/packages/count-down/index.less +7 -0
- package/packages/count-down/index.ts +119 -0
- package/packages/count-down/index.wxml +4 -0
- package/packages/count-down/test/__snapshots__/demo.spec.ts.snap +191 -0
- package/packages/count-down/test/demo.spec.ts +11 -0
- package/packages/count-down/utils.ts +73 -0
- package/packages/custom-keyboard/README.en.md +120 -0
- package/packages/custom-keyboard/README.md +119 -0
- package/packages/custom-keyboard/demo/index.json +6 -0
- package/packages/custom-keyboard/demo/index.ts +19 -0
- package/packages/custom-keyboard/demo/index.wxml +34 -0
- package/packages/custom-keyboard/index.json +9 -0
- package/packages/custom-keyboard/index.less +125 -0
- package/packages/custom-keyboard/index.ts +174 -0
- package/packages/custom-keyboard/index.wxml +48 -0
- package/packages/custom-keyboard/test/__snapshots__/demo.spec.ts.snap +167 -0
- package/packages/custom-keyboard/test/demo.spec.ts +11 -0
- package/packages/datetime-picker/README.en.md +373 -0
- package/packages/datetime-picker/README.md +375 -0
- package/packages/datetime-picker/demo/index.json +8 -0
- package/packages/datetime-picker/demo/index.ts +116 -0
- package/packages/datetime-picker/demo/index.wxml +95 -0
- package/packages/datetime-picker/index.json +6 -0
- package/packages/datetime-picker/index.less +1 -0
- package/packages/datetime-picker/index.ts +478 -0
- package/packages/datetime-picker/index.wxml +21 -0
- package/packages/datetime-picker/test/__snapshots__/demo.spec.ts.snap +464 -0
- package/packages/datetime-picker/test/demo.spec.ts +11 -0
- package/packages/definitions/index.ts +48 -0
- package/packages/dialog/README.en.md +361 -0
- package/packages/dialog/README.md +363 -0
- package/packages/dialog/demo/index.json +8 -0
- package/packages/dialog/demo/index.less +22 -0
- package/packages/dialog/demo/index.ts +148 -0
- package/packages/dialog/demo/index.wxml +42 -0
- package/packages/dialog/dialog.ts +226 -0
- package/packages/dialog/index.json +10 -0
- package/packages/dialog/index.less +134 -0
- package/packages/dialog/index.ts +219 -0
- package/packages/dialog/index.wxml +144 -0
- package/packages/dialog/test/__snapshots__/demo.spec.ts.snap +358 -0
- package/packages/dialog/test/demo.spec.ts +11 -0
- package/packages/divider/README.en.md +100 -0
- package/packages/divider/README.md +100 -0
- package/packages/divider/demo/index.json +7 -0
- package/packages/divider/demo/index.ts +5 -0
- package/packages/divider/demo/index.wxml +17 -0
- package/packages/divider/index.json +4 -0
- package/packages/divider/index.less +67 -0
- package/packages/divider/index.ts +13 -0
- package/packages/divider/index.wxml +9 -0
- package/packages/divider/index.wxs +18 -0
- package/packages/divider/test/__snapshots__/demo.spec.ts.snap +82 -0
- package/packages/divider/test/demo.spec.ts +11 -0
- package/packages/dropdown-item/index.json +8 -0
- package/packages/dropdown-item/index.less +58 -0
- package/packages/dropdown-item/index.ts +162 -0
- package/packages/dropdown-item/index.wxml +50 -0
- package/packages/dropdown-item/shared.ts +5 -0
- package/packages/dropdown-menu/README.en.md +276 -0
- package/packages/dropdown-menu/README.md +276 -0
- package/packages/dropdown-menu/demo/index.json +11 -0
- package/packages/dropdown-menu/demo/index.ts +50 -0
- package/packages/dropdown-menu/demo/index.wxml +67 -0
- package/packages/dropdown-menu/index.json +6 -0
- package/packages/dropdown-menu/index.less +81 -0
- package/packages/dropdown-menu/index.ts +146 -0
- package/packages/dropdown-menu/index.wxml +24 -0
- package/packages/dropdown-menu/index.wxs +16 -0
- package/packages/dropdown-menu/test/__snapshots__/demo.spec.ts.snap +457 -0
- package/packages/dropdown-menu/test/demo.spec.ts +11 -0
- package/packages/empty/README.en.md +101 -0
- package/packages/empty/README.md +101 -0
- package/packages/empty/demo/index.json +10 -0
- package/packages/empty/demo/index.less +9 -0
- package/packages/empty/demo/index.ts +15 -0
- package/packages/empty/demo/index.wxml +24 -0
- package/packages/empty/index.json +4 -0
- package/packages/empty/index.less +60 -0
- package/packages/empty/index.ts +30 -0
- package/packages/empty/index.wxml +22 -0
- package/packages/empty/index.wxs +13 -0
- package/packages/empty/test/__snapshots__/demo.spec.ts.snap +190 -0
- package/packages/empty/test/demo.spec.ts +11 -0
- package/packages/field/README.en.md +412 -0
- package/packages/field/README.md +412 -0
- package/packages/field/cell-input.wxml +59 -0
- package/packages/field/cell-textarea.wxml +28 -0
- package/packages/field/demo/index.json +10 -0
- package/packages/field/demo/index.less +12 -0
- package/packages/field/demo/index.ts +21 -0
- package/packages/field/demo/index.wxml +131 -0
- package/packages/field/index.json +7 -0
- package/packages/field/index.less +243 -0
- package/packages/field/index.ts +226 -0
- package/packages/field/index.wxml +4 -0
- package/packages/field/index.wxs +18 -0
- package/packages/field/input.wxml +30 -0
- package/packages/field/props.ts +58 -0
- package/packages/field/test/__snapshots__/demo.spec.ts.snap +1214 -0
- package/packages/field/test/demo.spec.ts +11 -0
- package/packages/field/textarea.wxml +32 -0
- package/packages/field/types.ts +8 -0
- package/packages/goods-action/README.en.md +199 -0
- package/packages/goods-action/README.md +198 -0
- package/packages/goods-action/demo/index.json +10 -0
- package/packages/goods-action/demo/index.less +3 -0
- package/packages/goods-action/demo/index.ts +22 -0
- package/packages/goods-action/demo/index.wxml +53 -0
- package/packages/goods-action/index.json +3 -0
- package/packages/goods-action/index.less +21 -0
- package/packages/goods-action/index.ts +17 -0
- package/packages/goods-action/index.wxml +5 -0
- package/packages/goods-action/test/__snapshots__/demo.spec.ts.snap +1116 -0
- package/packages/goods-action/test/demo.spec.ts +11 -0
- package/packages/goods-action-button/index.json +6 -0
- package/packages/goods-action-button/index.less +79 -0
- package/packages/goods-action-button/index.ts +51 -0
- package/packages/goods-action-button/index.wxml +35 -0
- package/packages/goods-action-icon/index.json +7 -0
- package/packages/goods-action-icon/index.less +26 -0
- package/packages/goods-action-icon/index.ts +31 -0
- package/packages/goods-action-icon/index.wxml +41 -0
- package/packages/grid/README.en.md +198 -0
- package/packages/grid/README.md +196 -0
- package/packages/grid/demo/index.json +8 -0
- package/packages/grid/demo/index.ts +10 -0
- package/packages/grid/demo/index.wxml +51 -0
- package/packages/grid/index.json +3 -0
- package/packages/grid/index.less +5 -0
- package/packages/grid/index.ts +58 -0
- package/packages/grid/index.wxml +8 -0
- package/packages/grid/index.wxs +13 -0
- package/packages/grid/test/__snapshots__/demo.spec.ts.snap +1082 -0
- package/packages/grid/test/demo.spec.ts +11 -0
- package/packages/grid-item/index.json +6 -0
- package/packages/grid-item/index.less +94 -0
- package/packages/grid-item/index.ts +63 -0
- package/packages/grid-item/index.wxml +27 -0
- package/packages/grid-item/index.wxs +32 -0
- package/packages/icon/README.en.md +142 -0
- package/packages/icon/README.md +141 -0
- package/packages/icon/demo/index.json +10 -0
- package/packages/icon/demo/index.less +29 -0
- package/packages/icon/demo/index.ts +37 -0
- package/packages/icon/demo/index.wxml +130 -0
- package/packages/icon/index.json +6 -0
- package/packages/icon/index.less +44 -0
- package/packages/icon/index.ts +23 -0
- package/packages/icon/index.wxml +30 -0
- package/packages/icon/index.wxs +98 -0
- package/packages/icon/test/__snapshots__/demo.spec.ts.snap +376 -0
- package/packages/icon/test/demo.spec.ts +11 -0
- package/packages/image/README.en.md +172 -0
- package/packages/image/README.md +171 -0
- package/packages/image/demo/index.json +10 -0
- package/packages/image/demo/index.less +7 -0
- package/packages/image/demo/index.ts +20 -0
- package/packages/image/demo/index.wxml +112 -0
- package/packages/image/index.json +7 -0
- package/packages/image/index.less +72 -0
- package/packages/image/index.ts +79 -0
- package/packages/image/index.wxml +40 -0
- package/packages/image/index.wxs +42 -0
- package/packages/image/test/__snapshots__/demo.spec.ts.snap +1051 -0
- package/packages/image/test/demo.spec.ts +11 -0
- package/packages/index-anchor/index.json +3 -0
- package/packages/index-anchor/index.less +26 -0
- package/packages/index-anchor/index.ts +29 -0
- package/packages/index-anchor/index.wxml +14 -0
- package/packages/index-bar/README.en.md +127 -0
- package/packages/index-bar/README.md +126 -0
- package/packages/index-bar/demo/index.json +11 -0
- package/packages/index-bar/demo/index.ts +24 -0
- package/packages/index-bar/demo/index.wxml +43 -0
- package/packages/index-bar/index.json +3 -0
- package/packages/index-bar/index.less +27 -0
- package/packages/index-bar/index.ts +294 -0
- package/packages/index-bar/index.wxml +22 -0
- package/packages/index-bar/test/__snapshots__/demo.spec.ts.snap +1879 -0
- package/packages/index-bar/test/demo.spec.ts +11 -0
- package/packages/info/index.json +3 -0
- package/packages/info/index.less +32 -0
- package/packages/info/index.ts +9 -0
- package/packages/info/index.wxml +7 -0
- package/packages/loading/README.en.md +81 -0
- package/packages/loading/README.md +82 -0
- package/packages/loading/demo/index.json +7 -0
- package/packages/loading/demo/index.less +4 -0
- package/packages/loading/demo/index.ts +5 -0
- package/packages/loading/demo/index.wxml +19 -0
- package/packages/loading/index.json +3 -0
- package/packages/loading/index.less +63 -0
- package/packages/loading/index.ts +47 -0
- package/packages/loading/index.wxml +17 -0
- package/packages/loading/index.wxs +38 -0
- package/packages/loading/test/__snapshots__/demo.spec.ts.snap +183 -0
- package/packages/loading/test/demo.spec.ts +11 -0
- package/packages/mixins/basic.ts +40 -0
- package/packages/mixins/button.ts +67 -0
- package/packages/mixins/link.ts +22 -0
- package/packages/mixins/page-scroll.ts +66 -0
- package/packages/mixins/touch.ts +42 -0
- package/packages/mixins/transition.ts +154 -0
- package/packages/nav-bar/README.en.md +353 -0
- package/packages/nav-bar/README.md +355 -0
- package/packages/nav-bar/demo/index.json +8 -0
- package/packages/nav-bar/demo/index.less +15 -0
- package/packages/nav-bar/demo/index.ts +31 -0
- package/packages/nav-bar/demo/index.wxml +114 -0
- package/packages/nav-bar/index.json +6 -0
- package/packages/nav-bar/index.less +108 -0
- package/packages/nav-bar/index.ts +102 -0
- package/packages/nav-bar/index.wxml +53 -0
- package/packages/nav-bar/index.wxs +13 -0
- package/packages/nav-bar/test/__snapshots__/demo.spec.ts.snap +498 -0
- package/packages/nav-bar/test/demo.spec.ts +11 -0
- package/packages/normal-slider/README.en.md +316 -0
- package/packages/normal-slider/README.md +318 -0
- package/packages/normal-slider/demo/index.json +8 -0
- package/packages/normal-slider/demo/index.less +13 -0
- package/packages/normal-slider/demo/index.ts +16 -0
- package/packages/normal-slider/demo/index.wxml +114 -0
- package/packages/normal-slider/index.json +6 -0
- package/packages/normal-slider/index.less +5 -0
- package/packages/normal-slider/index.ts +159 -0
- package/packages/normal-slider/index.wxml +35 -0
- package/packages/normal-slider/test/__snapshots__/demo.spec.ts.snap +380 -0
- package/packages/normal-slider/test/demo.spec.ts +11 -0
- package/packages/notice-bar/README.en.md +213 -0
- package/packages/notice-bar/README.md +215 -0
- package/packages/notice-bar/demo/index.json +8 -0
- package/packages/notice-bar/demo/index.less +3 -0
- package/packages/notice-bar/demo/index.ts +12 -0
- package/packages/notice-bar/demo/index.wxml +103 -0
- package/packages/notice-bar/index.json +6 -0
- package/packages/notice-bar/index.less +92 -0
- package/packages/notice-bar/index.ts +188 -0
- package/packages/notice-bar/index.wxml +52 -0
- package/packages/notice-bar/index.wxs +11 -0
- package/packages/notice-bar/test/__snapshots__/demo.spec.ts.snap +390 -0
- package/packages/notice-bar/test/demo.spec.ts +11 -0
- package/packages/notify/README.en.md +120 -0
- package/packages/notify/README.md +120 -0
- package/packages/notify/demo/index.json +8 -0
- package/packages/notify/demo/index.ts +51 -0
- package/packages/notify/demo/index.wxml +25 -0
- package/packages/notify/index.json +6 -0
- package/packages/notify/index.less +45 -0
- package/packages/notify/index.ts +88 -0
- package/packages/notify/index.wxml +22 -0
- package/packages/notify/index.wxs +22 -0
- package/packages/notify/notify.ts +105 -0
- package/packages/notify/test/__snapshots__/demo.spec.ts.snap +366 -0
- package/packages/notify/test/demo.spec.ts +11 -0
- package/packages/overlay/README.en.md +129 -0
- package/packages/overlay/README.md +130 -0
- package/packages/overlay/demo/index.json +8 -0
- package/packages/overlay/demo/index.less +12 -0
- package/packages/overlay/demo/index.ts +28 -0
- package/packages/overlay/demo/index.wxml +17 -0
- package/packages/overlay/index.json +6 -0
- package/packages/overlay/index.less +10 -0
- package/packages/overlay/index.ts +33 -0
- package/packages/overlay/index.wxml +7 -0
- package/packages/overlay/overlay.wxml +10 -0
- package/packages/overlay/test/__snapshots__/demo.spec.ts.snap +118 -0
- package/packages/overlay/test/demo.spec.ts +11 -0
- package/packages/picker/README.en.md +306 -0
- package/packages/picker/README.md +308 -0
- package/packages/picker/demo/index.json +8 -0
- package/packages/picker/demo/index.less +11 -0
- package/packages/picker/demo/index.ts +99 -0
- package/packages/picker/demo/index.wxml +64 -0
- package/packages/picker/index.json +7 -0
- package/packages/picker/index.less +89 -0
- package/packages/picker/index.ts +211 -0
- package/packages/picker/index.wxml +47 -0
- package/packages/picker/index.wxs +43 -0
- package/packages/picker/shared.ts +33 -0
- package/packages/picker/test/__snapshots__/demo.spec.ts.snap +1854 -0
- package/packages/picker/test/demo.spec.ts +11 -0
- package/packages/picker/toolbar.wxml +23 -0
- package/packages/picker-column/index.json +3 -0
- package/packages/picker-column/index.less +93 -0
- package/packages/picker-column/index.ts +419 -0
- package/packages/picker-column/index.wxml +42 -0
- package/packages/picker-column/index.wxs +71 -0
- package/packages/popover/README.en.md +243 -0
- package/packages/popover/README.md +245 -0
- package/packages/popover/demo/index.json +12 -0
- package/packages/popover/demo/index.ts +15 -0
- package/packages/popover/demo/index.wxml +134 -0
- package/packages/popover/index.json +7 -0
- package/packages/popover/index.less +28 -0
- package/packages/popover/index.ts +236 -0
- package/packages/popover/index.wxml +23 -0
- package/packages/popup/README.en.md +165 -0
- package/packages/popup/README.md +165 -0
- package/packages/popup/demo/index.json +8 -0
- package/packages/popup/demo/index.ts +117 -0
- package/packages/popup/demo/index.wxml +92 -0
- package/packages/popup/index.json +7 -0
- package/packages/popup/index.less +208 -0
- package/packages/popup/index.ts +129 -0
- package/packages/popup/index.wxml +21 -0
- package/packages/popup/index.wxs +22 -0
- package/packages/popup/popup.wxml +16 -0
- package/packages/popup/test/__snapshots__/demo.spec.ts.snap +459 -0
- package/packages/popup/test/demo.spec.ts +11 -0
- package/packages/progress/README.en.md +99 -0
- package/packages/progress/README.md +99 -0
- package/packages/progress/demo/index.json +7 -0
- package/packages/progress/demo/index.less +3 -0
- package/packages/progress/demo/index.ts +5 -0
- package/packages/progress/demo/index.wxml +23 -0
- package/packages/progress/index.json +3 -0
- package/packages/progress/index.less +35 -0
- package/packages/progress/index.ts +54 -0
- package/packages/progress/index.wxml +20 -0
- package/packages/progress/index.wxs +36 -0
- package/packages/progress/test/__snapshots__/demo.spec.ts.snap +162 -0
- package/packages/progress/test/demo.spec.ts +11 -0
- package/packages/radio/README.en.md +305 -0
- package/packages/radio/README.md +303 -0
- package/packages/radio/demo/index.json +10 -0
- package/packages/radio/demo/index.less +12 -0
- package/packages/radio/demo/index.ts +51 -0
- package/packages/radio/demo/index.wxml +136 -0
- package/packages/radio/index.json +6 -0
- package/packages/radio/index.less +73 -0
- package/packages/radio/index.ts +82 -0
- package/packages/radio/index.wxml +32 -0
- package/packages/radio/index.wxs +33 -0
- package/packages/radio/test/__snapshots__/demo.spec.ts.snap +965 -0
- package/packages/radio/test/demo.spec.ts +11 -0
- package/packages/radio-group/index.json +3 -0
- package/packages/radio-group/index.less +6 -0
- package/packages/radio-group/index.ts +31 -0
- package/packages/radio-group/index.wxml +5 -0
- package/packages/rate/README.en.md +176 -0
- package/packages/rate/README.md +176 -0
- package/packages/rate/demo/index.json +8 -0
- package/packages/rate/demo/index.less +3 -0
- package/packages/rate/demo/index.ts +28 -0
- package/packages/rate/demo/index.wxml +68 -0
- package/packages/rate/index.json +6 -0
- package/packages/rate/index.less +39 -0
- package/packages/rate/index.ts +102 -0
- package/packages/rate/index.wxml +35 -0
- package/packages/rate/test/__snapshots__/demo.spec.ts.snap +1167 -0
- package/packages/rate/test/demo.spec.ts +11 -0
- package/packages/row/index.json +3 -0
- package/packages/row/index.less +7 -0
- package/packages/row/index.ts +27 -0
- package/packages/row/index.wxml +5 -0
- package/packages/row/index.wxs +18 -0
- package/packages/search/README.en.md +236 -0
- package/packages/search/README.md +235 -0
- package/packages/search/demo/index.json +8 -0
- package/packages/search/demo/index.less +11 -0
- package/packages/search/demo/index.ts +49 -0
- package/packages/search/demo/index.wxml +71 -0
- package/packages/search/index.json +7 -0
- package/packages/search/index.less +90 -0
- package/packages/search/index.ts +109 -0
- package/packages/search/index.wxml +57 -0
- package/packages/search/test/__snapshots__/demo.spec.ts.snap +934 -0
- package/packages/search/test/demo.spec.ts +11 -0
- package/packages/sidebar/README.en.md +161 -0
- package/packages/sidebar/README.md +160 -0
- package/packages/sidebar/demo/index.json +11 -0
- package/packages/sidebar/demo/index.less +14 -0
- package/packages/sidebar/demo/index.ts +14 -0
- package/packages/sidebar/demo/index.wxml +39 -0
- package/packages/sidebar/index.json +3 -0
- package/packages/sidebar/index.less +5 -0
- package/packages/sidebar/index.ts +44 -0
- package/packages/sidebar/index.wxml +3 -0
- package/packages/sidebar/test/__snapshots__/demo.spec.ts.snap +308 -0
- package/packages/sidebar/test/demo.spec.ts +11 -0
- package/packages/sidebar-item/index.json +6 -0
- package/packages/sidebar-item/index.less +56 -0
- package/packages/sidebar-item/index.ts +37 -0
- package/packages/sidebar-item/index.wxml +18 -0
- package/packages/skeleton/README.en.md +98 -0
- package/packages/skeleton/README.md +98 -0
- package/packages/skeleton/demo/index.json +8 -0
- package/packages/skeleton/demo/index.less +32 -0
- package/packages/skeleton/demo/index.ts +13 -0
- package/packages/skeleton/demo/index.wxml +37 -0
- package/packages/skeleton/index.json +4 -0
- package/packages/skeleton/index.less +63 -0
- package/packages/skeleton/index.ts +48 -0
- package/packages/skeleton/index.wxml +29 -0
- package/packages/skeleton/test/__snapshots__/demo.spec.ts.snap +123 -0
- package/packages/skeleton/test/demo.spec.ts +11 -0
- package/packages/slider/README.en.md +357 -0
- package/packages/slider/README.md +359 -0
- package/packages/slider/demo/index.json +7 -0
- package/packages/slider/demo/index.less +13 -0
- package/packages/slider/demo/index.ts +22 -0
- package/packages/slider/demo/index.wxml +83 -0
- package/packages/slider/index.json +3 -0
- package/packages/slider/index.less +95 -0
- package/packages/slider/index.ts +244 -0
- package/packages/slider/index.wxml +68 -0
- package/packages/slider/index.wxs +14 -0
- package/packages/slider/test/__snapshots__/demo.spec.ts.snap +480 -0
- package/packages/slider/test/demo.spec.ts +11 -0
- package/packages/stepper/README.en.md +198 -0
- package/packages/stepper/README.md +198 -0
- package/packages/stepper/demo/index.json +9 -0
- package/packages/stepper/demo/index.ts +23 -0
- package/packages/stepper/demo/index.wxml +45 -0
- package/packages/stepper/index.json +6 -0
- package/packages/stepper/index.less +125 -0
- package/packages/stepper/index.ts +236 -0
- package/packages/stepper/index.wxml +45 -0
- package/packages/stepper/index.wxs +22 -0
- package/packages/stepper/test/__snapshots__/demo.spec.ts.snap +895 -0
- package/packages/stepper/test/demo.spec.ts +11 -0
- package/packages/steps/README.en.md +159 -0
- package/packages/steps/README.md +159 -0
- package/packages/steps/demo/index.json +9 -0
- package/packages/steps/demo/index.less +8 -0
- package/packages/steps/demo/index.ts +48 -0
- package/packages/steps/demo/index.wxml +31 -0
- package/packages/steps/index.json +6 -0
- package/packages/steps/index.less +162 -0
- package/packages/steps/index.ts +37 -0
- package/packages/steps/index.wxml +54 -0
- package/packages/steps/test/__snapshots__/demo.spec.ts.snap +536 -0
- package/packages/steps/test/demo.spec.ts +11 -0
- package/packages/sticky/README.en.md +124 -0
- package/packages/sticky/README.md +124 -0
- package/packages/sticky/demo/index.json +8 -0
- package/packages/sticky/demo/index.less +10 -0
- package/packages/sticky/demo/index.ts +29 -0
- package/packages/sticky/demo/index.wxml +42 -0
- package/packages/sticky/index.json +3 -0
- package/packages/sticky/index.less +11 -0
- package/packages/sticky/index.ts +137 -0
- package/packages/sticky/index.wxml +8 -0
- package/packages/sticky/index.wxs +25 -0
- package/packages/sticky/test/__snapshots__/demo.spec.ts.snap +250 -0
- package/packages/sticky/test/demo.spec.ts +11 -0
- package/packages/swipe-cell/README.en.md +165 -0
- package/packages/swipe-cell/README.md +163 -0
- package/packages/swipe-cell/demo/index.json +11 -0
- package/packages/swipe-cell/demo/index.less +16 -0
- package/packages/swipe-cell/demo/index.ts +50 -0
- package/packages/swipe-cell/demo/index.wxml +32 -0
- package/packages/swipe-cell/index.json +3 -0
- package/packages/swipe-cell/index.less +23 -0
- package/packages/swipe-cell/index.ts +156 -0
- package/packages/swipe-cell/index.wxml +21 -0
- package/packages/swipe-cell/test/__snapshots__/demo.spec.ts.snap +262 -0
- package/packages/swipe-cell/test/demo.spec.ts +11 -0
- package/packages/switch/README.en.md +168 -0
- package/packages/switch/README.md +168 -0
- package/packages/switch/demo/index.json +10 -0
- package/packages/switch/demo/index.ts +33 -0
- package/packages/switch/demo/index.wxml +73 -0
- package/packages/switch/index.json +6 -0
- package/packages/switch/index.less +60 -0
- package/packages/switch/index.ts +47 -0
- package/packages/switch/index.wxml +35 -0
- package/packages/switch/index.wxs +26 -0
- package/packages/switch/test/__snapshots__/demo.spec.ts.snap +265 -0
- package/packages/switch/test/__snapshots__/index.spec.ts.snap +25 -0
- package/packages/switch/test/demo.spec.ts +11 -0
- package/packages/switch/test/index.spec.ts +50 -0
- package/packages/tab/README.en.md +403 -0
- package/packages/tab/README.md +406 -0
- package/packages/tab/demo/index.json +9 -0
- package/packages/tab/demo/index.less +21 -0
- package/packages/tab/demo/index.ts +69 -0
- package/packages/tab/demo/index.wxml +177 -0
- package/packages/tab/index.json +3 -0
- package/packages/tab/index.less +23 -0
- package/packages/tab/index.ts +71 -0
- package/packages/tab/index.wxml +8 -0
- package/packages/tab/test/__snapshots__/demo.spec.ts.snap +1926 -0
- package/packages/tab/test/demo.spec.ts +11 -0
- package/packages/tabbar/README.en.md +308 -0
- package/packages/tabbar/README.md +306 -0
- package/packages/tabbar/demo/index.json +9 -0
- package/packages/tabbar/demo/index.less +3 -0
- package/packages/tabbar/demo/index.ts +38 -0
- package/packages/tabbar/demo/index.wxml +138 -0
- package/packages/tabbar/index.json +3 -0
- package/packages/tabbar/index.less +24 -0
- package/packages/tabbar/index.ts +75 -0
- package/packages/tabbar/index.wxml +12 -0
- package/packages/tabbar/test/__snapshots__/demo.spec.ts.snap +1078 -0
- package/packages/tabbar/test/demo.spec.ts +11 -0
- package/packages/tabbar-item/index.json +7 -0
- package/packages/tabbar-item/index.less +40 -0
- package/packages/tabbar-item/index.ts +87 -0
- package/packages/tabbar-item/index.wxml +29 -0
- package/packages/tabs/index.json +7 -0
- package/packages/tabs/index.less +168 -0
- package/packages/tabs/index.ts +373 -0
- package/packages/tabs/index.wxml +67 -0
- package/packages/tabs/index.wxs +99 -0
- package/packages/tag/README.en.md +183 -0
- package/packages/tag/README.md +183 -0
- package/packages/tag/demo/index.json +7 -0
- package/packages/tag/demo/index.ts +18 -0
- package/packages/tag/demo/index.wxml +62 -0
- package/packages/tag/index.json +6 -0
- package/packages/tag/index.less +100 -0
- package/packages/tag/index.ts +31 -0
- package/packages/tag/index.wxml +17 -0
- package/packages/tag/index.wxs +13 -0
- package/packages/tag/test/__snapshots__/demo.spec.ts.snap +322 -0
- package/packages/tag/test/demo.spec.ts +11 -0
- package/packages/toast/README.en.md +160 -0
- package/packages/toast/README.md +161 -0
- package/packages/toast/demo/index.json +8 -0
- package/packages/toast/demo/index.ts +94 -0
- package/packages/toast/demo/index.wxml +33 -0
- package/packages/toast/icons.ts +8 -0
- package/packages/toast/index.json +9 -0
- package/packages/toast/index.less +59 -0
- package/packages/toast/index.ts +56 -0
- package/packages/toast/index.wxml +33 -0
- package/packages/toast/test/__snapshots__/demo.spec.ts.snap +489 -0
- package/packages/toast/test/demo.spec.ts +11 -0
- package/packages/toast/toast.ts +132 -0
- package/packages/transition/README.en.md +114 -0
- package/packages/transition/README.md +114 -0
- package/packages/transition/demo/index.json +8 -0
- package/packages/transition/demo/index.less +20 -0
- package/packages/transition/demo/index.ts +86 -0
- package/packages/transition/demo/index.wxml +35 -0
- package/packages/transition/index.json +3 -0
- package/packages/transition/index.less +79 -0
- package/packages/transition/index.ts +15 -0
- package/packages/transition/index.wxml +9 -0
- package/packages/transition/index.wxs +17 -0
- package/packages/transition/test/__snapshots__/demo.spec.ts.snap +388 -0
- package/packages/transition/test/demo.spec.ts +11 -0
- package/packages/tree-select/README.en.md +199 -0
- package/packages/tree-select/README.md +199 -0
- package/packages/tree-select/demo/index.json +8 -0
- package/packages/tree-select/demo/index.ts +121 -0
- package/packages/tree-select/demo/index.wxml +56 -0
- package/packages/tree-select/index.json +8 -0
- package/packages/tree-select/index.less +61 -0
- package/packages/tree-select/index.ts +77 -0
- package/packages/tree-select/index.wxml +41 -0
- package/packages/tree-select/index.wxs +12 -0
- package/packages/tree-select/test/__snapshots__/demo.spec.ts.snap +549 -0
- package/packages/tree-select/test/demo.spec.ts +15 -0
- package/packages/wxs/add-unit.wxs +12 -0
- package/packages/wxs/array.wxs +5 -0
- package/packages/wxs/bem.wxs +39 -0
- package/packages/wxs/memoize.wxs +55 -0
- package/packages/wxs/object.wxs +13 -0
- package/packages/wxs/style.wxs +46 -0
- package/packages/wxs/utils.wxs +10 -0
- package/postcss.config.js +8 -0
- package/project.config.json +28 -0
- package/project.tuya.json +20 -0
- package/sync.txt +1 -0
- package/tsconfig.example.json +9 -0
- package/tsconfig.json +38 -0
- package/tsconfig.lib.json +10 -0
- package/typings/tuya-miniapp__BaseKit/index.d.ts +3100 -0
- package/typings/tuya-miniapp__BizKit/index.d.ts +1293 -0
- package/typings/tuya-miniapp__MiniKit/index.d.ts +1247 -0
- package/typings/tuya_miniapp__api-types/README.md +3 -0
- package/typings/tuya_miniapp__api-types/index.d.ts +1 -0
- package/typings/tuya_miniapp__api-types/package.json +28 -0
- package/typings/tuya_miniapp__api-types/scripts/postinstall.js +13 -0
- package/typings/tuya_miniapp__api-types/types/global.app.d.ts +91 -0
- package/typings/tuya_miniapp__api-types/types/global.behavior.d.ts +47 -0
- package/typings/tuya_miniapp__api-types/types/global.component.d.ts +515 -0
- package/typings/tuya_miniapp__api-types/types/global.d.ts +1277 -0
- package/typings/tuya_miniapp__api-types/types/global.page.d.ts +156 -0
- package/typings/tuya_miniapp__api-types/types/global.render.d.ts +123 -0
- package/typings/tuya_miniapp__api-types/types/global.system.d.ts +112 -0
- package/typings/tuya_miniapp__api-types/types/global.widget.d.ts +116 -0
- package/typings/tuya_miniapp__api-types/types/index.d.ts +62 -0
- package/typings/tuya_miniapp__api-types/types/panel.d.ts +162 -0
- package/yarn.lock +14162 -0
@@ -0,0 +1,2602 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`should render demo and match snapshot 1`] = `
|
4
|
+
<main>
|
5
|
+
<wx-view
|
6
|
+
class="contain"
|
7
|
+
>
|
8
|
+
<demo-block>
|
9
|
+
<wx-view
|
10
|
+
class="custom-class demo-block smart-clearfix "
|
11
|
+
>
|
12
|
+
<wx-view
|
13
|
+
class="demo-block__title"
|
14
|
+
>
|
15
|
+
undefined: 2/1
|
16
|
+
</wx-view>
|
17
|
+
<smart-calendar
|
18
|
+
bind:select="setCurDay"
|
19
|
+
>
|
20
|
+
<wx-view
|
21
|
+
class="smart-calendar"
|
22
|
+
>
|
23
|
+
<header
|
24
|
+
subFormatter="YYYYyearMMmonth"
|
25
|
+
bind:click-next="onNext"
|
26
|
+
bind:click-prev="onPrev"
|
27
|
+
bind:click-save="onConfirm"
|
28
|
+
bind:click-subtitle="onClickSubtitle"
|
29
|
+
>
|
30
|
+
<wx-view
|
31
|
+
class="smart-calendar__header"
|
32
|
+
>
|
33
|
+
<wx-view
|
34
|
+
class="smart-calendar__header-title"
|
35
|
+
/>
|
36
|
+
<wx-view
|
37
|
+
class="smart-calendar__header-title"
|
38
|
+
>
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
</wx-view>
|
43
|
+
<wx-view
|
44
|
+
class="smart-calendar__header-subtitle_wrap"
|
45
|
+
>
|
46
|
+
<wx-view
|
47
|
+
class="smart-calendar__header-subtitle_left"
|
48
|
+
bind:tap="onPrev"
|
49
|
+
>
|
50
|
+
<smart-icon
|
51
|
+
class="smart-calendar__header-subtitle_left_icon"
|
52
|
+
>
|
53
|
+
<wx-view
|
54
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
55
|
+
style=""
|
56
|
+
bind:tap="onClick"
|
57
|
+
>
|
58
|
+
<wx-view
|
59
|
+
class="smart-icon__svg"
|
60
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
61
|
+
/>
|
62
|
+
</wx-view>
|
63
|
+
</smart-icon>
|
64
|
+
</wx-view>
|
65
|
+
<wx-view
|
66
|
+
class="smart-calendar__header-subtitle"
|
67
|
+
bind:tap="onClickSubtitle"
|
68
|
+
>
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
</wx-view>
|
73
|
+
<wx-view
|
74
|
+
class="smart-calendar__header-subtitle_right"
|
75
|
+
bind:tap="onNext"
|
76
|
+
>
|
77
|
+
<smart-icon
|
78
|
+
class="smart-calendar__header-subtitle_right_icon"
|
79
|
+
>
|
80
|
+
<wx-view
|
81
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
82
|
+
style=""
|
83
|
+
bind:tap="onClick"
|
84
|
+
>
|
85
|
+
<wx-view
|
86
|
+
class="smart-icon__svg"
|
87
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
88
|
+
/>
|
89
|
+
</wx-view>
|
90
|
+
</smart-icon>
|
91
|
+
</wx-view>
|
92
|
+
</wx-view>
|
93
|
+
<wx-view
|
94
|
+
class="smart-calendar__weekdays"
|
95
|
+
>
|
96
|
+
<wx-view
|
97
|
+
class="smart-calendar__weekday"
|
98
|
+
>
|
99
|
+
|
100
|
+
week0
|
101
|
+
|
102
|
+
</wx-view>
|
103
|
+
<wx-view
|
104
|
+
class="smart-calendar__weekday"
|
105
|
+
>
|
106
|
+
|
107
|
+
week1
|
108
|
+
|
109
|
+
</wx-view>
|
110
|
+
<wx-view
|
111
|
+
class="smart-calendar__weekday"
|
112
|
+
>
|
113
|
+
|
114
|
+
week2
|
115
|
+
|
116
|
+
</wx-view>
|
117
|
+
<wx-view
|
118
|
+
class="smart-calendar__weekday"
|
119
|
+
>
|
120
|
+
|
121
|
+
week3
|
122
|
+
|
123
|
+
</wx-view>
|
124
|
+
<wx-view
|
125
|
+
class="smart-calendar__weekday"
|
126
|
+
>
|
127
|
+
|
128
|
+
week4
|
129
|
+
|
130
|
+
</wx-view>
|
131
|
+
<wx-view
|
132
|
+
class="smart-calendar__weekday"
|
133
|
+
>
|
134
|
+
|
135
|
+
week5
|
136
|
+
|
137
|
+
</wx-view>
|
138
|
+
<wx-view
|
139
|
+
class="smart-calendar__weekday"
|
140
|
+
>
|
141
|
+
|
142
|
+
week6
|
143
|
+
|
144
|
+
</wx-view>
|
145
|
+
</wx-view>
|
146
|
+
</wx-view>
|
147
|
+
</header>
|
148
|
+
<month
|
149
|
+
class="smart-calendar-month month"
|
150
|
+
data-date="{{1706716800000}}"
|
151
|
+
data-index="{{13}}"
|
152
|
+
id="month13"
|
153
|
+
bind:click="onClickDay"
|
154
|
+
>
|
155
|
+
<wx-view
|
156
|
+
class="smart-calendar__month"
|
157
|
+
style=""
|
158
|
+
>
|
159
|
+
<wx-view
|
160
|
+
class="smart-calendar__days"
|
161
|
+
>
|
162
|
+
<wx-view
|
163
|
+
class="smart-calendar__day smart-calendar__day--selected "
|
164
|
+
data-index="{{0}}"
|
165
|
+
style="margin-left:57.142857142857146%;height:34px"
|
166
|
+
bind:tap="onClick"
|
167
|
+
>
|
168
|
+
<wx-view
|
169
|
+
class="smart-calendar__selected-day"
|
170
|
+
style="width: 34px; height: 34px; background: "
|
171
|
+
>
|
172
|
+
|
173
|
+
1
|
174
|
+
|
175
|
+
</wx-view>
|
176
|
+
</wx-view>
|
177
|
+
<wx-view
|
178
|
+
class="smart-calendar__day "
|
179
|
+
data-index="{{1}}"
|
180
|
+
style="height:34px"
|
181
|
+
bind:tap="onClick"
|
182
|
+
>
|
183
|
+
|
184
|
+
2
|
185
|
+
|
186
|
+
</wx-view>
|
187
|
+
<wx-view
|
188
|
+
class="smart-calendar__day "
|
189
|
+
data-index="{{2}}"
|
190
|
+
style="height:34px"
|
191
|
+
bind:tap="onClick"
|
192
|
+
>
|
193
|
+
|
194
|
+
3
|
195
|
+
|
196
|
+
</wx-view>
|
197
|
+
<wx-view
|
198
|
+
class="smart-calendar__day "
|
199
|
+
data-index="{{3}}"
|
200
|
+
style="height:34px"
|
201
|
+
bind:tap="onClick"
|
202
|
+
>
|
203
|
+
|
204
|
+
4
|
205
|
+
|
206
|
+
</wx-view>
|
207
|
+
<wx-view
|
208
|
+
class="smart-calendar__day "
|
209
|
+
data-index="{{4}}"
|
210
|
+
style="height:34px"
|
211
|
+
bind:tap="onClick"
|
212
|
+
>
|
213
|
+
|
214
|
+
5
|
215
|
+
|
216
|
+
</wx-view>
|
217
|
+
<wx-view
|
218
|
+
class="smart-calendar__day "
|
219
|
+
data-index="{{5}}"
|
220
|
+
style="height:34px"
|
221
|
+
bind:tap="onClick"
|
222
|
+
>
|
223
|
+
|
224
|
+
6
|
225
|
+
|
226
|
+
</wx-view>
|
227
|
+
<wx-view
|
228
|
+
class="smart-calendar__day "
|
229
|
+
data-index="{{6}}"
|
230
|
+
style="height:34px"
|
231
|
+
bind:tap="onClick"
|
232
|
+
>
|
233
|
+
|
234
|
+
7
|
235
|
+
|
236
|
+
</wx-view>
|
237
|
+
<wx-view
|
238
|
+
class="smart-calendar__day "
|
239
|
+
data-index="{{7}}"
|
240
|
+
style="height:34px"
|
241
|
+
bind:tap="onClick"
|
242
|
+
>
|
243
|
+
|
244
|
+
8
|
245
|
+
|
246
|
+
</wx-view>
|
247
|
+
<wx-view
|
248
|
+
class="smart-calendar__day "
|
249
|
+
data-index="{{8}}"
|
250
|
+
style="height:34px"
|
251
|
+
bind:tap="onClick"
|
252
|
+
>
|
253
|
+
|
254
|
+
9
|
255
|
+
|
256
|
+
</wx-view>
|
257
|
+
<wx-view
|
258
|
+
class="smart-calendar__day "
|
259
|
+
data-index="{{9}}"
|
260
|
+
style="height:34px"
|
261
|
+
bind:tap="onClick"
|
262
|
+
>
|
263
|
+
|
264
|
+
10
|
265
|
+
|
266
|
+
</wx-view>
|
267
|
+
<wx-view
|
268
|
+
class="smart-calendar__day "
|
269
|
+
data-index="{{10}}"
|
270
|
+
style="height:34px"
|
271
|
+
bind:tap="onClick"
|
272
|
+
>
|
273
|
+
|
274
|
+
11
|
275
|
+
|
276
|
+
</wx-view>
|
277
|
+
<wx-view
|
278
|
+
class="smart-calendar__day "
|
279
|
+
data-index="{{11}}"
|
280
|
+
style="height:34px"
|
281
|
+
bind:tap="onClick"
|
282
|
+
>
|
283
|
+
|
284
|
+
12
|
285
|
+
|
286
|
+
</wx-view>
|
287
|
+
<wx-view
|
288
|
+
class="smart-calendar__day "
|
289
|
+
data-index="{{12}}"
|
290
|
+
style="height:34px"
|
291
|
+
bind:tap="onClick"
|
292
|
+
>
|
293
|
+
|
294
|
+
13
|
295
|
+
|
296
|
+
</wx-view>
|
297
|
+
<wx-view
|
298
|
+
class="smart-calendar__day "
|
299
|
+
data-index="{{13}}"
|
300
|
+
style="height:34px"
|
301
|
+
bind:tap="onClick"
|
302
|
+
>
|
303
|
+
|
304
|
+
14
|
305
|
+
|
306
|
+
</wx-view>
|
307
|
+
<wx-view
|
308
|
+
class="smart-calendar__day "
|
309
|
+
data-index="{{14}}"
|
310
|
+
style="height:34px"
|
311
|
+
bind:tap="onClick"
|
312
|
+
>
|
313
|
+
|
314
|
+
15
|
315
|
+
|
316
|
+
</wx-view>
|
317
|
+
<wx-view
|
318
|
+
class="smart-calendar__day "
|
319
|
+
data-index="{{15}}"
|
320
|
+
style="height:34px"
|
321
|
+
bind:tap="onClick"
|
322
|
+
>
|
323
|
+
|
324
|
+
16
|
325
|
+
|
326
|
+
</wx-view>
|
327
|
+
<wx-view
|
328
|
+
class="smart-calendar__day "
|
329
|
+
data-index="{{16}}"
|
330
|
+
style="height:34px"
|
331
|
+
bind:tap="onClick"
|
332
|
+
>
|
333
|
+
|
334
|
+
17
|
335
|
+
|
336
|
+
</wx-view>
|
337
|
+
<wx-view
|
338
|
+
class="smart-calendar__day "
|
339
|
+
data-index="{{17}}"
|
340
|
+
style="height:34px"
|
341
|
+
bind:tap="onClick"
|
342
|
+
>
|
343
|
+
|
344
|
+
18
|
345
|
+
|
346
|
+
</wx-view>
|
347
|
+
<wx-view
|
348
|
+
class="smart-calendar__day "
|
349
|
+
data-index="{{18}}"
|
350
|
+
style="height:34px"
|
351
|
+
bind:tap="onClick"
|
352
|
+
>
|
353
|
+
|
354
|
+
19
|
355
|
+
|
356
|
+
</wx-view>
|
357
|
+
<wx-view
|
358
|
+
class="smart-calendar__day "
|
359
|
+
data-index="{{19}}"
|
360
|
+
style="height:34px"
|
361
|
+
bind:tap="onClick"
|
362
|
+
>
|
363
|
+
|
364
|
+
20
|
365
|
+
|
366
|
+
</wx-view>
|
367
|
+
<wx-view
|
368
|
+
class="smart-calendar__day "
|
369
|
+
data-index="{{20}}"
|
370
|
+
style="height:34px"
|
371
|
+
bind:tap="onClick"
|
372
|
+
>
|
373
|
+
|
374
|
+
21
|
375
|
+
|
376
|
+
</wx-view>
|
377
|
+
<wx-view
|
378
|
+
class="smart-calendar__day "
|
379
|
+
data-index="{{21}}"
|
380
|
+
style="height:34px"
|
381
|
+
bind:tap="onClick"
|
382
|
+
>
|
383
|
+
|
384
|
+
22
|
385
|
+
|
386
|
+
</wx-view>
|
387
|
+
<wx-view
|
388
|
+
class="smart-calendar__day "
|
389
|
+
data-index="{{22}}"
|
390
|
+
style="height:34px"
|
391
|
+
bind:tap="onClick"
|
392
|
+
>
|
393
|
+
|
394
|
+
23
|
395
|
+
|
396
|
+
</wx-view>
|
397
|
+
<wx-view
|
398
|
+
class="smart-calendar__day "
|
399
|
+
data-index="{{23}}"
|
400
|
+
style="height:34px"
|
401
|
+
bind:tap="onClick"
|
402
|
+
>
|
403
|
+
|
404
|
+
24
|
405
|
+
|
406
|
+
</wx-view>
|
407
|
+
<wx-view
|
408
|
+
class="smart-calendar__day "
|
409
|
+
data-index="{{24}}"
|
410
|
+
style="height:34px"
|
411
|
+
bind:tap="onClick"
|
412
|
+
>
|
413
|
+
|
414
|
+
25
|
415
|
+
|
416
|
+
</wx-view>
|
417
|
+
<wx-view
|
418
|
+
class="smart-calendar__day "
|
419
|
+
data-index="{{25}}"
|
420
|
+
style="height:34px"
|
421
|
+
bind:tap="onClick"
|
422
|
+
>
|
423
|
+
|
424
|
+
26
|
425
|
+
|
426
|
+
</wx-view>
|
427
|
+
<wx-view
|
428
|
+
class="smart-calendar__day "
|
429
|
+
data-index="{{26}}"
|
430
|
+
style="height:34px"
|
431
|
+
bind:tap="onClick"
|
432
|
+
>
|
433
|
+
|
434
|
+
27
|
435
|
+
|
436
|
+
</wx-view>
|
437
|
+
<wx-view
|
438
|
+
class="smart-calendar__day "
|
439
|
+
data-index="{{27}}"
|
440
|
+
style="height:34px"
|
441
|
+
bind:tap="onClick"
|
442
|
+
>
|
443
|
+
|
444
|
+
28
|
445
|
+
|
446
|
+
</wx-view>
|
447
|
+
<wx-view
|
448
|
+
class="smart-calendar__day "
|
449
|
+
data-index="{{28}}"
|
450
|
+
style="height:34px"
|
451
|
+
bind:tap="onClick"
|
452
|
+
>
|
453
|
+
|
454
|
+
29
|
455
|
+
|
456
|
+
</wx-view>
|
457
|
+
</wx-view>
|
458
|
+
</wx-view>
|
459
|
+
</month>
|
460
|
+
</wx-view>
|
461
|
+
</smart-calendar>
|
462
|
+
</wx-view>
|
463
|
+
</demo-block>
|
464
|
+
<demo-block>
|
465
|
+
<wx-view
|
466
|
+
class="custom-class demo-block smart-clearfix "
|
467
|
+
>
|
468
|
+
<wx-view
|
469
|
+
class="demo-block__title"
|
470
|
+
>
|
471
|
+
undefined: 2/1
|
472
|
+
</wx-view>
|
473
|
+
<smart-calendar
|
474
|
+
bind:select="setCurDay"
|
475
|
+
>
|
476
|
+
<wx-view
|
477
|
+
class="smart-calendar"
|
478
|
+
>
|
479
|
+
<header
|
480
|
+
subFormatter="YYYYyearMMmonth"
|
481
|
+
bind:click-next="onNext"
|
482
|
+
bind:click-prev="onPrev"
|
483
|
+
bind:click-save="onConfirm"
|
484
|
+
bind:click-subtitle="onClickSubtitle"
|
485
|
+
>
|
486
|
+
<wx-view
|
487
|
+
class="smart-calendar__header"
|
488
|
+
>
|
489
|
+
<wx-view
|
490
|
+
class="smart-calendar__header-title"
|
491
|
+
/>
|
492
|
+
<wx-view
|
493
|
+
class="smart-calendar__header-title"
|
494
|
+
>
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
</wx-view>
|
499
|
+
<wx-view
|
500
|
+
class="smart-calendar__header-subtitle_wrap"
|
501
|
+
>
|
502
|
+
<wx-view
|
503
|
+
class="smart-calendar__header-subtitle_left"
|
504
|
+
bind:tap="onPrev"
|
505
|
+
>
|
506
|
+
<smart-icon
|
507
|
+
class="smart-calendar__header-subtitle_left_icon"
|
508
|
+
>
|
509
|
+
<wx-view
|
510
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
511
|
+
style=""
|
512
|
+
bind:tap="onClick"
|
513
|
+
>
|
514
|
+
<wx-view
|
515
|
+
class="smart-icon__svg"
|
516
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
517
|
+
/>
|
518
|
+
</wx-view>
|
519
|
+
</smart-icon>
|
520
|
+
</wx-view>
|
521
|
+
<wx-view
|
522
|
+
class="smart-calendar__header-subtitle"
|
523
|
+
bind:tap="onClickSubtitle"
|
524
|
+
>
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
</wx-view>
|
529
|
+
<wx-view
|
530
|
+
class="smart-calendar__header-subtitle_right"
|
531
|
+
bind:tap="onNext"
|
532
|
+
>
|
533
|
+
<smart-icon
|
534
|
+
class="smart-calendar__header-subtitle_right_icon"
|
535
|
+
>
|
536
|
+
<wx-view
|
537
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
538
|
+
style=""
|
539
|
+
bind:tap="onClick"
|
540
|
+
>
|
541
|
+
<wx-view
|
542
|
+
class="smart-icon__svg"
|
543
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
544
|
+
/>
|
545
|
+
</wx-view>
|
546
|
+
</smart-icon>
|
547
|
+
</wx-view>
|
548
|
+
</wx-view>
|
549
|
+
<wx-view
|
550
|
+
class="smart-calendar__weekdays"
|
551
|
+
>
|
552
|
+
<wx-view
|
553
|
+
class="smart-calendar__weekday"
|
554
|
+
>
|
555
|
+
|
556
|
+
week0
|
557
|
+
|
558
|
+
</wx-view>
|
559
|
+
<wx-view
|
560
|
+
class="smart-calendar__weekday"
|
561
|
+
>
|
562
|
+
|
563
|
+
week1
|
564
|
+
|
565
|
+
</wx-view>
|
566
|
+
<wx-view
|
567
|
+
class="smart-calendar__weekday"
|
568
|
+
>
|
569
|
+
|
570
|
+
week2
|
571
|
+
|
572
|
+
</wx-view>
|
573
|
+
<wx-view
|
574
|
+
class="smart-calendar__weekday"
|
575
|
+
>
|
576
|
+
|
577
|
+
week3
|
578
|
+
|
579
|
+
</wx-view>
|
580
|
+
<wx-view
|
581
|
+
class="smart-calendar__weekday"
|
582
|
+
>
|
583
|
+
|
584
|
+
week4
|
585
|
+
|
586
|
+
</wx-view>
|
587
|
+
<wx-view
|
588
|
+
class="smart-calendar__weekday"
|
589
|
+
>
|
590
|
+
|
591
|
+
week5
|
592
|
+
|
593
|
+
</wx-view>
|
594
|
+
<wx-view
|
595
|
+
class="smart-calendar__weekday"
|
596
|
+
>
|
597
|
+
|
598
|
+
week6
|
599
|
+
|
600
|
+
</wx-view>
|
601
|
+
</wx-view>
|
602
|
+
</wx-view>
|
603
|
+
</header>
|
604
|
+
<month
|
605
|
+
class="smart-calendar-month month"
|
606
|
+
data-date="{{1706716800000}}"
|
607
|
+
data-index="{{13}}"
|
608
|
+
id="month13"
|
609
|
+
bind:click="onClickDay"
|
610
|
+
>
|
611
|
+
<wx-view
|
612
|
+
class="smart-calendar__month"
|
613
|
+
style=""
|
614
|
+
>
|
615
|
+
<wx-view
|
616
|
+
class="smart-calendar__days"
|
617
|
+
>
|
618
|
+
<wx-view
|
619
|
+
class="smart-calendar__day smart-calendar__day--selected "
|
620
|
+
data-index="{{0}}"
|
621
|
+
style="margin-left:57.142857142857146%;height:34px"
|
622
|
+
bind:tap="onClick"
|
623
|
+
>
|
624
|
+
<wx-view
|
625
|
+
class="smart-calendar__selected-day"
|
626
|
+
style="width: 34px; height: 34px; background: "
|
627
|
+
>
|
628
|
+
|
629
|
+
1
|
630
|
+
|
631
|
+
</wx-view>
|
632
|
+
</wx-view>
|
633
|
+
<wx-view
|
634
|
+
class="smart-calendar__day "
|
635
|
+
data-index="{{1}}"
|
636
|
+
style="height:34px"
|
637
|
+
bind:tap="onClick"
|
638
|
+
>
|
639
|
+
|
640
|
+
2
|
641
|
+
|
642
|
+
</wx-view>
|
643
|
+
<wx-view
|
644
|
+
class="smart-calendar__day "
|
645
|
+
data-index="{{2}}"
|
646
|
+
style="height:34px"
|
647
|
+
bind:tap="onClick"
|
648
|
+
>
|
649
|
+
|
650
|
+
3
|
651
|
+
|
652
|
+
</wx-view>
|
653
|
+
<wx-view
|
654
|
+
class="smart-calendar__day "
|
655
|
+
data-index="{{3}}"
|
656
|
+
style="height:34px"
|
657
|
+
bind:tap="onClick"
|
658
|
+
>
|
659
|
+
|
660
|
+
4
|
661
|
+
|
662
|
+
</wx-view>
|
663
|
+
<wx-view
|
664
|
+
class="smart-calendar__day "
|
665
|
+
data-index="{{4}}"
|
666
|
+
style="height:34px"
|
667
|
+
bind:tap="onClick"
|
668
|
+
>
|
669
|
+
|
670
|
+
5
|
671
|
+
|
672
|
+
</wx-view>
|
673
|
+
<wx-view
|
674
|
+
class="smart-calendar__day "
|
675
|
+
data-index="{{5}}"
|
676
|
+
style="height:34px"
|
677
|
+
bind:tap="onClick"
|
678
|
+
>
|
679
|
+
|
680
|
+
6
|
681
|
+
|
682
|
+
</wx-view>
|
683
|
+
<wx-view
|
684
|
+
class="smart-calendar__day "
|
685
|
+
data-index="{{6}}"
|
686
|
+
style="height:34px"
|
687
|
+
bind:tap="onClick"
|
688
|
+
>
|
689
|
+
|
690
|
+
7
|
691
|
+
|
692
|
+
</wx-view>
|
693
|
+
<wx-view
|
694
|
+
class="smart-calendar__day "
|
695
|
+
data-index="{{7}}"
|
696
|
+
style="height:34px"
|
697
|
+
bind:tap="onClick"
|
698
|
+
>
|
699
|
+
|
700
|
+
8
|
701
|
+
|
702
|
+
</wx-view>
|
703
|
+
<wx-view
|
704
|
+
class="smart-calendar__day "
|
705
|
+
data-index="{{8}}"
|
706
|
+
style="height:34px"
|
707
|
+
bind:tap="onClick"
|
708
|
+
>
|
709
|
+
|
710
|
+
9
|
711
|
+
|
712
|
+
</wx-view>
|
713
|
+
<wx-view
|
714
|
+
class="smart-calendar__day "
|
715
|
+
data-index="{{9}}"
|
716
|
+
style="height:34px"
|
717
|
+
bind:tap="onClick"
|
718
|
+
>
|
719
|
+
|
720
|
+
10
|
721
|
+
|
722
|
+
</wx-view>
|
723
|
+
<wx-view
|
724
|
+
class="smart-calendar__day "
|
725
|
+
data-index="{{10}}"
|
726
|
+
style="height:34px"
|
727
|
+
bind:tap="onClick"
|
728
|
+
>
|
729
|
+
|
730
|
+
11
|
731
|
+
|
732
|
+
</wx-view>
|
733
|
+
<wx-view
|
734
|
+
class="smart-calendar__day "
|
735
|
+
data-index="{{11}}"
|
736
|
+
style="height:34px"
|
737
|
+
bind:tap="onClick"
|
738
|
+
>
|
739
|
+
|
740
|
+
12
|
741
|
+
|
742
|
+
</wx-view>
|
743
|
+
<wx-view
|
744
|
+
class="smart-calendar__day "
|
745
|
+
data-index="{{12}}"
|
746
|
+
style="height:34px"
|
747
|
+
bind:tap="onClick"
|
748
|
+
>
|
749
|
+
|
750
|
+
13
|
751
|
+
|
752
|
+
</wx-view>
|
753
|
+
<wx-view
|
754
|
+
class="smart-calendar__day "
|
755
|
+
data-index="{{13}}"
|
756
|
+
style="height:34px"
|
757
|
+
bind:tap="onClick"
|
758
|
+
>
|
759
|
+
|
760
|
+
14
|
761
|
+
|
762
|
+
</wx-view>
|
763
|
+
<wx-view
|
764
|
+
class="smart-calendar__day "
|
765
|
+
data-index="{{14}}"
|
766
|
+
style="height:34px"
|
767
|
+
bind:tap="onClick"
|
768
|
+
>
|
769
|
+
|
770
|
+
15
|
771
|
+
|
772
|
+
</wx-view>
|
773
|
+
<wx-view
|
774
|
+
class="smart-calendar__day "
|
775
|
+
data-index="{{15}}"
|
776
|
+
style="height:34px"
|
777
|
+
bind:tap="onClick"
|
778
|
+
>
|
779
|
+
|
780
|
+
16
|
781
|
+
|
782
|
+
</wx-view>
|
783
|
+
<wx-view
|
784
|
+
class="smart-calendar__day "
|
785
|
+
data-index="{{16}}"
|
786
|
+
style="height:34px"
|
787
|
+
bind:tap="onClick"
|
788
|
+
>
|
789
|
+
|
790
|
+
17
|
791
|
+
|
792
|
+
</wx-view>
|
793
|
+
<wx-view
|
794
|
+
class="smart-calendar__day "
|
795
|
+
data-index="{{17}}"
|
796
|
+
style="height:34px"
|
797
|
+
bind:tap="onClick"
|
798
|
+
>
|
799
|
+
|
800
|
+
18
|
801
|
+
|
802
|
+
</wx-view>
|
803
|
+
<wx-view
|
804
|
+
class="smart-calendar__day "
|
805
|
+
data-index="{{18}}"
|
806
|
+
style="height:34px"
|
807
|
+
bind:tap="onClick"
|
808
|
+
>
|
809
|
+
|
810
|
+
19
|
811
|
+
|
812
|
+
</wx-view>
|
813
|
+
<wx-view
|
814
|
+
class="smart-calendar__day "
|
815
|
+
data-index="{{19}}"
|
816
|
+
style="height:34px"
|
817
|
+
bind:tap="onClick"
|
818
|
+
>
|
819
|
+
|
820
|
+
20
|
821
|
+
|
822
|
+
</wx-view>
|
823
|
+
<wx-view
|
824
|
+
class="smart-calendar__day "
|
825
|
+
data-index="{{20}}"
|
826
|
+
style="height:34px"
|
827
|
+
bind:tap="onClick"
|
828
|
+
>
|
829
|
+
|
830
|
+
21
|
831
|
+
|
832
|
+
</wx-view>
|
833
|
+
<wx-view
|
834
|
+
class="smart-calendar__day "
|
835
|
+
data-index="{{21}}"
|
836
|
+
style="height:34px"
|
837
|
+
bind:tap="onClick"
|
838
|
+
>
|
839
|
+
|
840
|
+
22
|
841
|
+
|
842
|
+
</wx-view>
|
843
|
+
<wx-view
|
844
|
+
class="smart-calendar__day "
|
845
|
+
data-index="{{22}}"
|
846
|
+
style="height:34px"
|
847
|
+
bind:tap="onClick"
|
848
|
+
>
|
849
|
+
|
850
|
+
23
|
851
|
+
|
852
|
+
</wx-view>
|
853
|
+
<wx-view
|
854
|
+
class="smart-calendar__day "
|
855
|
+
data-index="{{23}}"
|
856
|
+
style="height:34px"
|
857
|
+
bind:tap="onClick"
|
858
|
+
>
|
859
|
+
|
860
|
+
24
|
861
|
+
|
862
|
+
</wx-view>
|
863
|
+
<wx-view
|
864
|
+
class="smart-calendar__day "
|
865
|
+
data-index="{{24}}"
|
866
|
+
style="height:34px"
|
867
|
+
bind:tap="onClick"
|
868
|
+
>
|
869
|
+
|
870
|
+
25
|
871
|
+
|
872
|
+
</wx-view>
|
873
|
+
<wx-view
|
874
|
+
class="smart-calendar__day "
|
875
|
+
data-index="{{25}}"
|
876
|
+
style="height:34px"
|
877
|
+
bind:tap="onClick"
|
878
|
+
>
|
879
|
+
|
880
|
+
26
|
881
|
+
|
882
|
+
</wx-view>
|
883
|
+
<wx-view
|
884
|
+
class="smart-calendar__day "
|
885
|
+
data-index="{{26}}"
|
886
|
+
style="height:34px"
|
887
|
+
bind:tap="onClick"
|
888
|
+
>
|
889
|
+
|
890
|
+
27
|
891
|
+
|
892
|
+
</wx-view>
|
893
|
+
<wx-view
|
894
|
+
class="smart-calendar__day "
|
895
|
+
data-index="{{27}}"
|
896
|
+
style="height:34px"
|
897
|
+
bind:tap="onClick"
|
898
|
+
>
|
899
|
+
|
900
|
+
28
|
901
|
+
|
902
|
+
</wx-view>
|
903
|
+
<wx-view
|
904
|
+
class="smart-calendar__day "
|
905
|
+
data-index="{{28}}"
|
906
|
+
style="height:34px"
|
907
|
+
bind:tap="onClick"
|
908
|
+
>
|
909
|
+
|
910
|
+
29
|
911
|
+
|
912
|
+
</wx-view>
|
913
|
+
</wx-view>
|
914
|
+
</wx-view>
|
915
|
+
</month>
|
916
|
+
</wx-view>
|
917
|
+
</smart-calendar>
|
918
|
+
</wx-view>
|
919
|
+
</demo-block>
|
920
|
+
<demo-block>
|
921
|
+
<wx-view
|
922
|
+
class="custom-class demo-block smart-clearfix "
|
923
|
+
>
|
924
|
+
<wx-view
|
925
|
+
class="demo-block__title"
|
926
|
+
>
|
927
|
+
undefined: 1/15 - 1/21
|
928
|
+
</wx-view>
|
929
|
+
<smart-calendar
|
930
|
+
bind:select="setWeekCurDay"
|
931
|
+
>
|
932
|
+
<wx-view
|
933
|
+
class="smart-calendar"
|
934
|
+
>
|
935
|
+
<header
|
936
|
+
subFormatter="YYYYyearMMmonth"
|
937
|
+
bind:click-next="onNext"
|
938
|
+
bind:click-prev="onPrev"
|
939
|
+
bind:click-save="onConfirm"
|
940
|
+
bind:click-subtitle="onClickSubtitle"
|
941
|
+
>
|
942
|
+
<wx-view
|
943
|
+
class="smart-calendar__header"
|
944
|
+
>
|
945
|
+
<wx-view
|
946
|
+
class="smart-calendar__header-title"
|
947
|
+
/>
|
948
|
+
<wx-view
|
949
|
+
class="smart-calendar__header-title"
|
950
|
+
>
|
951
|
+
|
952
|
+
|
953
|
+
|
954
|
+
</wx-view>
|
955
|
+
<wx-view
|
956
|
+
class="smart-calendar__header-subtitle_wrap"
|
957
|
+
>
|
958
|
+
<wx-view
|
959
|
+
class="smart-calendar__header-subtitle_left"
|
960
|
+
bind:tap="onPrev"
|
961
|
+
>
|
962
|
+
<smart-icon
|
963
|
+
class="smart-calendar__header-subtitle_left_icon"
|
964
|
+
>
|
965
|
+
<wx-view
|
966
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
967
|
+
style=""
|
968
|
+
bind:tap="onClick"
|
969
|
+
>
|
970
|
+
<wx-view
|
971
|
+
class="smart-icon__svg"
|
972
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
973
|
+
/>
|
974
|
+
</wx-view>
|
975
|
+
</smart-icon>
|
976
|
+
</wx-view>
|
977
|
+
<wx-view
|
978
|
+
class="smart-calendar__header-subtitle"
|
979
|
+
bind:tap="onClickSubtitle"
|
980
|
+
>
|
981
|
+
|
982
|
+
|
983
|
+
|
984
|
+
</wx-view>
|
985
|
+
<wx-view
|
986
|
+
class="smart-calendar__header-subtitle_right"
|
987
|
+
bind:tap="onNext"
|
988
|
+
>
|
989
|
+
<smart-icon
|
990
|
+
class="smart-calendar__header-subtitle_right_icon"
|
991
|
+
>
|
992
|
+
<wx-view
|
993
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
994
|
+
style=""
|
995
|
+
bind:tap="onClick"
|
996
|
+
>
|
997
|
+
<wx-view
|
998
|
+
class="smart-icon__svg"
|
999
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
1000
|
+
/>
|
1001
|
+
</wx-view>
|
1002
|
+
</smart-icon>
|
1003
|
+
</wx-view>
|
1004
|
+
</wx-view>
|
1005
|
+
<wx-view
|
1006
|
+
class="smart-calendar__weekdays"
|
1007
|
+
>
|
1008
|
+
<wx-view
|
1009
|
+
class="smart-calendar__weekday"
|
1010
|
+
>
|
1011
|
+
|
1012
|
+
week0
|
1013
|
+
|
1014
|
+
</wx-view>
|
1015
|
+
<wx-view
|
1016
|
+
class="smart-calendar__weekday"
|
1017
|
+
>
|
1018
|
+
|
1019
|
+
week1
|
1020
|
+
|
1021
|
+
</wx-view>
|
1022
|
+
<wx-view
|
1023
|
+
class="smart-calendar__weekday"
|
1024
|
+
>
|
1025
|
+
|
1026
|
+
week2
|
1027
|
+
|
1028
|
+
</wx-view>
|
1029
|
+
<wx-view
|
1030
|
+
class="smart-calendar__weekday"
|
1031
|
+
>
|
1032
|
+
|
1033
|
+
week3
|
1034
|
+
|
1035
|
+
</wx-view>
|
1036
|
+
<wx-view
|
1037
|
+
class="smart-calendar__weekday"
|
1038
|
+
>
|
1039
|
+
|
1040
|
+
week4
|
1041
|
+
|
1042
|
+
</wx-view>
|
1043
|
+
<wx-view
|
1044
|
+
class="smart-calendar__weekday"
|
1045
|
+
>
|
1046
|
+
|
1047
|
+
week5
|
1048
|
+
|
1049
|
+
</wx-view>
|
1050
|
+
<wx-view
|
1051
|
+
class="smart-calendar__weekday"
|
1052
|
+
>
|
1053
|
+
|
1054
|
+
week6
|
1055
|
+
|
1056
|
+
</wx-view>
|
1057
|
+
</wx-view>
|
1058
|
+
</wx-view>
|
1059
|
+
</header>
|
1060
|
+
<month
|
1061
|
+
class="smart-calendar-month month"
|
1062
|
+
data-date="{{1704038400000}}"
|
1063
|
+
data-index="{{0}}"
|
1064
|
+
id="month0"
|
1065
|
+
bind:click="onClickDay"
|
1066
|
+
>
|
1067
|
+
<wx-view
|
1068
|
+
class="smart-calendar__month"
|
1069
|
+
style=""
|
1070
|
+
>
|
1071
|
+
<wx-view
|
1072
|
+
class="smart-calendar__days"
|
1073
|
+
>
|
1074
|
+
<wx-view
|
1075
|
+
class="smart-calendar__day smart-calendar__day--disabled "
|
1076
|
+
data-index="{{0}}"
|
1077
|
+
style="margin-left:14.285714285714286%;height:34px"
|
1078
|
+
bind:tap="onClick"
|
1079
|
+
>
|
1080
|
+
|
1081
|
+
1
|
1082
|
+
|
1083
|
+
</wx-view>
|
1084
|
+
<wx-view
|
1085
|
+
class="smart-calendar__day smart-calendar__day--disabled "
|
1086
|
+
data-index="{{1}}"
|
1087
|
+
style="height:34px"
|
1088
|
+
bind:tap="onClick"
|
1089
|
+
>
|
1090
|
+
|
1091
|
+
2
|
1092
|
+
|
1093
|
+
</wx-view>
|
1094
|
+
<wx-view
|
1095
|
+
class="smart-calendar__day smart-calendar__day--disabled "
|
1096
|
+
data-index="{{2}}"
|
1097
|
+
style="height:34px"
|
1098
|
+
bind:tap="onClick"
|
1099
|
+
>
|
1100
|
+
|
1101
|
+
3
|
1102
|
+
|
1103
|
+
</wx-view>
|
1104
|
+
<wx-view
|
1105
|
+
class="smart-calendar__day "
|
1106
|
+
data-index="{{3}}"
|
1107
|
+
style="height:34px"
|
1108
|
+
bind:tap="onClick"
|
1109
|
+
>
|
1110
|
+
|
1111
|
+
4
|
1112
|
+
|
1113
|
+
</wx-view>
|
1114
|
+
<wx-view
|
1115
|
+
class="smart-calendar__day "
|
1116
|
+
data-index="{{4}}"
|
1117
|
+
style="height:34px"
|
1118
|
+
bind:tap="onClick"
|
1119
|
+
>
|
1120
|
+
|
1121
|
+
5
|
1122
|
+
|
1123
|
+
</wx-view>
|
1124
|
+
<wx-view
|
1125
|
+
class="smart-calendar__day "
|
1126
|
+
data-index="{{5}}"
|
1127
|
+
style="height:34px"
|
1128
|
+
bind:tap="onClick"
|
1129
|
+
>
|
1130
|
+
|
1131
|
+
6
|
1132
|
+
|
1133
|
+
</wx-view>
|
1134
|
+
<wx-view
|
1135
|
+
class="smart-calendar__day "
|
1136
|
+
data-index="{{6}}"
|
1137
|
+
style="height:34px"
|
1138
|
+
bind:tap="onClick"
|
1139
|
+
>
|
1140
|
+
|
1141
|
+
7
|
1142
|
+
|
1143
|
+
</wx-view>
|
1144
|
+
<wx-view
|
1145
|
+
class="smart-calendar__day "
|
1146
|
+
data-index="{{7}}"
|
1147
|
+
style="height:34px"
|
1148
|
+
bind:tap="onClick"
|
1149
|
+
>
|
1150
|
+
|
1151
|
+
8
|
1152
|
+
|
1153
|
+
</wx-view>
|
1154
|
+
<wx-view
|
1155
|
+
class="smart-calendar__day "
|
1156
|
+
data-index="{{8}}"
|
1157
|
+
style="height:34px"
|
1158
|
+
bind:tap="onClick"
|
1159
|
+
>
|
1160
|
+
|
1161
|
+
9
|
1162
|
+
|
1163
|
+
</wx-view>
|
1164
|
+
<wx-view
|
1165
|
+
class="smart-calendar__day "
|
1166
|
+
data-index="{{9}}"
|
1167
|
+
style="height:34px"
|
1168
|
+
bind:tap="onClick"
|
1169
|
+
>
|
1170
|
+
|
1171
|
+
10
|
1172
|
+
|
1173
|
+
</wx-view>
|
1174
|
+
<wx-view
|
1175
|
+
class="smart-calendar__day "
|
1176
|
+
data-index="{{10}}"
|
1177
|
+
style="height:34px"
|
1178
|
+
bind:tap="onClick"
|
1179
|
+
>
|
1180
|
+
|
1181
|
+
11
|
1182
|
+
|
1183
|
+
</wx-view>
|
1184
|
+
<wx-view
|
1185
|
+
class="smart-calendar__day "
|
1186
|
+
data-index="{{11}}"
|
1187
|
+
style="height:34px"
|
1188
|
+
bind:tap="onClick"
|
1189
|
+
>
|
1190
|
+
|
1191
|
+
12
|
1192
|
+
|
1193
|
+
</wx-view>
|
1194
|
+
<wx-view
|
1195
|
+
class="smart-calendar__day "
|
1196
|
+
data-index="{{12}}"
|
1197
|
+
style="height:34px"
|
1198
|
+
bind:tap="onClick"
|
1199
|
+
>
|
1200
|
+
|
1201
|
+
13
|
1202
|
+
|
1203
|
+
</wx-view>
|
1204
|
+
<wx-view
|
1205
|
+
class="smart-calendar__day "
|
1206
|
+
data-index="{{13}}"
|
1207
|
+
style="height:34px"
|
1208
|
+
bind:tap="onClick"
|
1209
|
+
>
|
1210
|
+
|
1211
|
+
14
|
1212
|
+
|
1213
|
+
</wx-view>
|
1214
|
+
<wx-view
|
1215
|
+
class="smart-calendar__day smart-calendar__day--start "
|
1216
|
+
data-index="{{14}}"
|
1217
|
+
style="height:34px"
|
1218
|
+
bind:tap="onClick"
|
1219
|
+
>
|
1220
|
+
|
1221
|
+
15
|
1222
|
+
|
1223
|
+
</wx-view>
|
1224
|
+
<wx-view
|
1225
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1226
|
+
data-index="{{15}}"
|
1227
|
+
style="height:34px"
|
1228
|
+
bind:tap="onClick"
|
1229
|
+
>
|
1230
|
+
|
1231
|
+
16
|
1232
|
+
|
1233
|
+
</wx-view>
|
1234
|
+
<wx-view
|
1235
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1236
|
+
data-index="{{16}}"
|
1237
|
+
style="height:34px"
|
1238
|
+
bind:tap="onClick"
|
1239
|
+
>
|
1240
|
+
|
1241
|
+
17
|
1242
|
+
|
1243
|
+
</wx-view>
|
1244
|
+
<wx-view
|
1245
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1246
|
+
data-index="{{17}}"
|
1247
|
+
style="height:34px"
|
1248
|
+
bind:tap="onClick"
|
1249
|
+
>
|
1250
|
+
|
1251
|
+
18
|
1252
|
+
|
1253
|
+
</wx-view>
|
1254
|
+
<wx-view
|
1255
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1256
|
+
data-index="{{18}}"
|
1257
|
+
style="height:34px"
|
1258
|
+
bind:tap="onClick"
|
1259
|
+
>
|
1260
|
+
|
1261
|
+
19
|
1262
|
+
|
1263
|
+
</wx-view>
|
1264
|
+
<wx-view
|
1265
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1266
|
+
data-index="{{19}}"
|
1267
|
+
style="height:34px"
|
1268
|
+
bind:tap="onClick"
|
1269
|
+
>
|
1270
|
+
|
1271
|
+
20
|
1272
|
+
|
1273
|
+
</wx-view>
|
1274
|
+
<wx-view
|
1275
|
+
class="smart-calendar__day smart-calendar__day--end "
|
1276
|
+
data-index="{{20}}"
|
1277
|
+
style="height:34px"
|
1278
|
+
bind:tap="onClick"
|
1279
|
+
>
|
1280
|
+
|
1281
|
+
21
|
1282
|
+
|
1283
|
+
</wx-view>
|
1284
|
+
<wx-view
|
1285
|
+
class="smart-calendar__day "
|
1286
|
+
data-index="{{21}}"
|
1287
|
+
style="height:34px"
|
1288
|
+
bind:tap="onClick"
|
1289
|
+
>
|
1290
|
+
|
1291
|
+
22
|
1292
|
+
|
1293
|
+
</wx-view>
|
1294
|
+
<wx-view
|
1295
|
+
class="smart-calendar__day "
|
1296
|
+
data-index="{{22}}"
|
1297
|
+
style="height:34px"
|
1298
|
+
bind:tap="onClick"
|
1299
|
+
>
|
1300
|
+
|
1301
|
+
23
|
1302
|
+
|
1303
|
+
</wx-view>
|
1304
|
+
<wx-view
|
1305
|
+
class="smart-calendar__day "
|
1306
|
+
data-index="{{23}}"
|
1307
|
+
style="height:34px"
|
1308
|
+
bind:tap="onClick"
|
1309
|
+
>
|
1310
|
+
|
1311
|
+
24
|
1312
|
+
|
1313
|
+
</wx-view>
|
1314
|
+
<wx-view
|
1315
|
+
class="smart-calendar__day "
|
1316
|
+
data-index="{{24}}"
|
1317
|
+
style="height:34px"
|
1318
|
+
bind:tap="onClick"
|
1319
|
+
>
|
1320
|
+
|
1321
|
+
25
|
1322
|
+
|
1323
|
+
</wx-view>
|
1324
|
+
<wx-view
|
1325
|
+
class="smart-calendar__day "
|
1326
|
+
data-index="{{25}}"
|
1327
|
+
style="height:34px"
|
1328
|
+
bind:tap="onClick"
|
1329
|
+
>
|
1330
|
+
|
1331
|
+
26
|
1332
|
+
|
1333
|
+
</wx-view>
|
1334
|
+
<wx-view
|
1335
|
+
class="smart-calendar__day "
|
1336
|
+
data-index="{{26}}"
|
1337
|
+
style="height:34px"
|
1338
|
+
bind:tap="onClick"
|
1339
|
+
>
|
1340
|
+
|
1341
|
+
27
|
1342
|
+
|
1343
|
+
</wx-view>
|
1344
|
+
<wx-view
|
1345
|
+
class="smart-calendar__day "
|
1346
|
+
data-index="{{27}}"
|
1347
|
+
style="height:34px"
|
1348
|
+
bind:tap="onClick"
|
1349
|
+
>
|
1350
|
+
|
1351
|
+
28
|
1352
|
+
|
1353
|
+
</wx-view>
|
1354
|
+
<wx-view
|
1355
|
+
class="smart-calendar__day "
|
1356
|
+
data-index="{{28}}"
|
1357
|
+
style="height:34px"
|
1358
|
+
bind:tap="onClick"
|
1359
|
+
>
|
1360
|
+
|
1361
|
+
29
|
1362
|
+
|
1363
|
+
</wx-view>
|
1364
|
+
<wx-view
|
1365
|
+
class="smart-calendar__day "
|
1366
|
+
data-index="{{29}}"
|
1367
|
+
style="height:34px"
|
1368
|
+
bind:tap="onClick"
|
1369
|
+
>
|
1370
|
+
|
1371
|
+
30
|
1372
|
+
|
1373
|
+
</wx-view>
|
1374
|
+
<wx-view
|
1375
|
+
class="smart-calendar__day "
|
1376
|
+
data-index="{{30}}"
|
1377
|
+
style="height:34px"
|
1378
|
+
bind:tap="onClick"
|
1379
|
+
>
|
1380
|
+
|
1381
|
+
31
|
1382
|
+
|
1383
|
+
</wx-view>
|
1384
|
+
</wx-view>
|
1385
|
+
</wx-view>
|
1386
|
+
</month>
|
1387
|
+
</wx-view>
|
1388
|
+
</smart-calendar>
|
1389
|
+
</wx-view>
|
1390
|
+
</demo-block>
|
1391
|
+
<demo-block>
|
1392
|
+
<wx-view
|
1393
|
+
class="custom-class demo-block smart-clearfix "
|
1394
|
+
>
|
1395
|
+
<wx-view
|
1396
|
+
class="demo-block__title"
|
1397
|
+
>
|
1398
|
+
undefined: 1/10 - 1/20
|
1399
|
+
</wx-view>
|
1400
|
+
<smart-calendar
|
1401
|
+
bind:select="setRangeCurDay"
|
1402
|
+
>
|
1403
|
+
<wx-view
|
1404
|
+
class="smart-calendar"
|
1405
|
+
>
|
1406
|
+
<header
|
1407
|
+
subFormatter="YYYYyearMMmonth"
|
1408
|
+
bind:click-next="onNext"
|
1409
|
+
bind:click-prev="onPrev"
|
1410
|
+
bind:click-save="onConfirm"
|
1411
|
+
bind:click-subtitle="onClickSubtitle"
|
1412
|
+
>
|
1413
|
+
<wx-view
|
1414
|
+
class="smart-calendar__header"
|
1415
|
+
>
|
1416
|
+
<wx-view
|
1417
|
+
class="smart-calendar__header-title"
|
1418
|
+
/>
|
1419
|
+
<wx-view
|
1420
|
+
class="smart-calendar__header-title"
|
1421
|
+
>
|
1422
|
+
|
1423
|
+
|
1424
|
+
|
1425
|
+
</wx-view>
|
1426
|
+
<wx-view
|
1427
|
+
class="smart-calendar__header-subtitle_wrap"
|
1428
|
+
>
|
1429
|
+
<wx-view
|
1430
|
+
class="smart-calendar__header-subtitle_left"
|
1431
|
+
bind:tap="onPrev"
|
1432
|
+
>
|
1433
|
+
<smart-icon
|
1434
|
+
class="smart-calendar__header-subtitle_left_icon"
|
1435
|
+
>
|
1436
|
+
<wx-view
|
1437
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
1438
|
+
style=""
|
1439
|
+
bind:tap="onClick"
|
1440
|
+
>
|
1441
|
+
<wx-view
|
1442
|
+
class="smart-icon__svg"
|
1443
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
1444
|
+
/>
|
1445
|
+
</wx-view>
|
1446
|
+
</smart-icon>
|
1447
|
+
</wx-view>
|
1448
|
+
<wx-view
|
1449
|
+
class="smart-calendar__header-subtitle"
|
1450
|
+
bind:tap="onClickSubtitle"
|
1451
|
+
>
|
1452
|
+
|
1453
|
+
|
1454
|
+
|
1455
|
+
</wx-view>
|
1456
|
+
<wx-view
|
1457
|
+
class="smart-calendar__header-subtitle_right"
|
1458
|
+
bind:tap="onNext"
|
1459
|
+
>
|
1460
|
+
<smart-icon
|
1461
|
+
class="smart-calendar__header-subtitle_right_icon"
|
1462
|
+
>
|
1463
|
+
<wx-view
|
1464
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
1465
|
+
style=""
|
1466
|
+
bind:tap="onClick"
|
1467
|
+
>
|
1468
|
+
<wx-view
|
1469
|
+
class="smart-icon__svg"
|
1470
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
1471
|
+
/>
|
1472
|
+
</wx-view>
|
1473
|
+
</smart-icon>
|
1474
|
+
</wx-view>
|
1475
|
+
</wx-view>
|
1476
|
+
<wx-view
|
1477
|
+
class="smart-calendar__weekdays"
|
1478
|
+
>
|
1479
|
+
<wx-view
|
1480
|
+
class="smart-calendar__weekday"
|
1481
|
+
>
|
1482
|
+
|
1483
|
+
week0
|
1484
|
+
|
1485
|
+
</wx-view>
|
1486
|
+
<wx-view
|
1487
|
+
class="smart-calendar__weekday"
|
1488
|
+
>
|
1489
|
+
|
1490
|
+
week1
|
1491
|
+
|
1492
|
+
</wx-view>
|
1493
|
+
<wx-view
|
1494
|
+
class="smart-calendar__weekday"
|
1495
|
+
>
|
1496
|
+
|
1497
|
+
week2
|
1498
|
+
|
1499
|
+
</wx-view>
|
1500
|
+
<wx-view
|
1501
|
+
class="smart-calendar__weekday"
|
1502
|
+
>
|
1503
|
+
|
1504
|
+
week3
|
1505
|
+
|
1506
|
+
</wx-view>
|
1507
|
+
<wx-view
|
1508
|
+
class="smart-calendar__weekday"
|
1509
|
+
>
|
1510
|
+
|
1511
|
+
week4
|
1512
|
+
|
1513
|
+
</wx-view>
|
1514
|
+
<wx-view
|
1515
|
+
class="smart-calendar__weekday"
|
1516
|
+
>
|
1517
|
+
|
1518
|
+
week5
|
1519
|
+
|
1520
|
+
</wx-view>
|
1521
|
+
<wx-view
|
1522
|
+
class="smart-calendar__weekday"
|
1523
|
+
>
|
1524
|
+
|
1525
|
+
week6
|
1526
|
+
|
1527
|
+
</wx-view>
|
1528
|
+
</wx-view>
|
1529
|
+
</wx-view>
|
1530
|
+
</header>
|
1531
|
+
<month
|
1532
|
+
class="smart-calendar-month month"
|
1533
|
+
data-date="{{1704038400000}}"
|
1534
|
+
data-index="{{0}}"
|
1535
|
+
id="month0"
|
1536
|
+
bind:click="onClickDay"
|
1537
|
+
>
|
1538
|
+
<wx-view
|
1539
|
+
class="smart-calendar__month"
|
1540
|
+
style=""
|
1541
|
+
>
|
1542
|
+
<wx-view
|
1543
|
+
class="smart-calendar__days"
|
1544
|
+
>
|
1545
|
+
<wx-view
|
1546
|
+
class="smart-calendar__day smart-calendar__day--disabled "
|
1547
|
+
data-index="{{0}}"
|
1548
|
+
style="margin-left:14.285714285714286%;height:34px"
|
1549
|
+
bind:tap="onClick"
|
1550
|
+
>
|
1551
|
+
|
1552
|
+
1
|
1553
|
+
|
1554
|
+
</wx-view>
|
1555
|
+
<wx-view
|
1556
|
+
class="smart-calendar__day smart-calendar__day--disabled "
|
1557
|
+
data-index="{{1}}"
|
1558
|
+
style="height:34px"
|
1559
|
+
bind:tap="onClick"
|
1560
|
+
>
|
1561
|
+
|
1562
|
+
2
|
1563
|
+
|
1564
|
+
</wx-view>
|
1565
|
+
<wx-view
|
1566
|
+
class="smart-calendar__day smart-calendar__day--disabled "
|
1567
|
+
data-index="{{2}}"
|
1568
|
+
style="height:34px"
|
1569
|
+
bind:tap="onClick"
|
1570
|
+
>
|
1571
|
+
|
1572
|
+
3
|
1573
|
+
|
1574
|
+
</wx-view>
|
1575
|
+
<wx-view
|
1576
|
+
class="smart-calendar__day "
|
1577
|
+
data-index="{{3}}"
|
1578
|
+
style="height:34px"
|
1579
|
+
bind:tap="onClick"
|
1580
|
+
>
|
1581
|
+
|
1582
|
+
4
|
1583
|
+
|
1584
|
+
</wx-view>
|
1585
|
+
<wx-view
|
1586
|
+
class="smart-calendar__day "
|
1587
|
+
data-index="{{4}}"
|
1588
|
+
style="height:34px"
|
1589
|
+
bind:tap="onClick"
|
1590
|
+
>
|
1591
|
+
|
1592
|
+
5
|
1593
|
+
|
1594
|
+
</wx-view>
|
1595
|
+
<wx-view
|
1596
|
+
class="smart-calendar__day "
|
1597
|
+
data-index="{{5}}"
|
1598
|
+
style="height:34px"
|
1599
|
+
bind:tap="onClick"
|
1600
|
+
>
|
1601
|
+
|
1602
|
+
6
|
1603
|
+
|
1604
|
+
</wx-view>
|
1605
|
+
<wx-view
|
1606
|
+
class="smart-calendar__day "
|
1607
|
+
data-index="{{6}}"
|
1608
|
+
style="height:34px"
|
1609
|
+
bind:tap="onClick"
|
1610
|
+
>
|
1611
|
+
|
1612
|
+
7
|
1613
|
+
|
1614
|
+
</wx-view>
|
1615
|
+
<wx-view
|
1616
|
+
class="smart-calendar__day "
|
1617
|
+
data-index="{{7}}"
|
1618
|
+
style="height:34px"
|
1619
|
+
bind:tap="onClick"
|
1620
|
+
>
|
1621
|
+
|
1622
|
+
8
|
1623
|
+
|
1624
|
+
</wx-view>
|
1625
|
+
<wx-view
|
1626
|
+
class="smart-calendar__day "
|
1627
|
+
data-index="{{8}}"
|
1628
|
+
style="height:34px"
|
1629
|
+
bind:tap="onClick"
|
1630
|
+
>
|
1631
|
+
|
1632
|
+
9
|
1633
|
+
|
1634
|
+
</wx-view>
|
1635
|
+
<wx-view
|
1636
|
+
class="smart-calendar__day smart-calendar__day--start "
|
1637
|
+
data-index="{{9}}"
|
1638
|
+
style="height:34px"
|
1639
|
+
bind:tap="onClick"
|
1640
|
+
>
|
1641
|
+
|
1642
|
+
10
|
1643
|
+
|
1644
|
+
</wx-view>
|
1645
|
+
<wx-view
|
1646
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1647
|
+
data-index="{{10}}"
|
1648
|
+
style="height:34px"
|
1649
|
+
bind:tap="onClick"
|
1650
|
+
>
|
1651
|
+
|
1652
|
+
11
|
1653
|
+
|
1654
|
+
</wx-view>
|
1655
|
+
<wx-view
|
1656
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1657
|
+
data-index="{{11}}"
|
1658
|
+
style="height:34px"
|
1659
|
+
bind:tap="onClick"
|
1660
|
+
>
|
1661
|
+
|
1662
|
+
12
|
1663
|
+
|
1664
|
+
</wx-view>
|
1665
|
+
<wx-view
|
1666
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1667
|
+
data-index="{{12}}"
|
1668
|
+
style="height:34px"
|
1669
|
+
bind:tap="onClick"
|
1670
|
+
>
|
1671
|
+
|
1672
|
+
13
|
1673
|
+
|
1674
|
+
</wx-view>
|
1675
|
+
<wx-view
|
1676
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1677
|
+
data-index="{{13}}"
|
1678
|
+
style="height:34px"
|
1679
|
+
bind:tap="onClick"
|
1680
|
+
>
|
1681
|
+
|
1682
|
+
14
|
1683
|
+
|
1684
|
+
</wx-view>
|
1685
|
+
<wx-view
|
1686
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1687
|
+
data-index="{{14}}"
|
1688
|
+
style="height:34px"
|
1689
|
+
bind:tap="onClick"
|
1690
|
+
>
|
1691
|
+
|
1692
|
+
15
|
1693
|
+
|
1694
|
+
</wx-view>
|
1695
|
+
<wx-view
|
1696
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1697
|
+
data-index="{{15}}"
|
1698
|
+
style="height:34px"
|
1699
|
+
bind:tap="onClick"
|
1700
|
+
>
|
1701
|
+
|
1702
|
+
16
|
1703
|
+
|
1704
|
+
</wx-view>
|
1705
|
+
<wx-view
|
1706
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1707
|
+
data-index="{{16}}"
|
1708
|
+
style="height:34px"
|
1709
|
+
bind:tap="onClick"
|
1710
|
+
>
|
1711
|
+
|
1712
|
+
17
|
1713
|
+
|
1714
|
+
</wx-view>
|
1715
|
+
<wx-view
|
1716
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1717
|
+
data-index="{{17}}"
|
1718
|
+
style="height:34px"
|
1719
|
+
bind:tap="onClick"
|
1720
|
+
>
|
1721
|
+
|
1722
|
+
18
|
1723
|
+
|
1724
|
+
</wx-view>
|
1725
|
+
<wx-view
|
1726
|
+
class="smart-calendar__day smart-calendar__day--middle "
|
1727
|
+
data-index="{{18}}"
|
1728
|
+
style="height:34px"
|
1729
|
+
bind:tap="onClick"
|
1730
|
+
>
|
1731
|
+
|
1732
|
+
19
|
1733
|
+
|
1734
|
+
</wx-view>
|
1735
|
+
<wx-view
|
1736
|
+
class="smart-calendar__day smart-calendar__day--end "
|
1737
|
+
data-index="{{19}}"
|
1738
|
+
style="height:34px"
|
1739
|
+
bind:tap="onClick"
|
1740
|
+
>
|
1741
|
+
|
1742
|
+
20
|
1743
|
+
|
1744
|
+
</wx-view>
|
1745
|
+
<wx-view
|
1746
|
+
class="smart-calendar__day "
|
1747
|
+
data-index="{{20}}"
|
1748
|
+
style="height:34px"
|
1749
|
+
bind:tap="onClick"
|
1750
|
+
>
|
1751
|
+
|
1752
|
+
21
|
1753
|
+
|
1754
|
+
</wx-view>
|
1755
|
+
<wx-view
|
1756
|
+
class="smart-calendar__day "
|
1757
|
+
data-index="{{21}}"
|
1758
|
+
style="height:34px"
|
1759
|
+
bind:tap="onClick"
|
1760
|
+
>
|
1761
|
+
|
1762
|
+
22
|
1763
|
+
|
1764
|
+
</wx-view>
|
1765
|
+
<wx-view
|
1766
|
+
class="smart-calendar__day "
|
1767
|
+
data-index="{{22}}"
|
1768
|
+
style="height:34px"
|
1769
|
+
bind:tap="onClick"
|
1770
|
+
>
|
1771
|
+
|
1772
|
+
23
|
1773
|
+
|
1774
|
+
</wx-view>
|
1775
|
+
<wx-view
|
1776
|
+
class="smart-calendar__day "
|
1777
|
+
data-index="{{23}}"
|
1778
|
+
style="height:34px"
|
1779
|
+
bind:tap="onClick"
|
1780
|
+
>
|
1781
|
+
|
1782
|
+
24
|
1783
|
+
|
1784
|
+
</wx-view>
|
1785
|
+
<wx-view
|
1786
|
+
class="smart-calendar__day "
|
1787
|
+
data-index="{{24}}"
|
1788
|
+
style="height:34px"
|
1789
|
+
bind:tap="onClick"
|
1790
|
+
>
|
1791
|
+
|
1792
|
+
25
|
1793
|
+
|
1794
|
+
</wx-view>
|
1795
|
+
<wx-view
|
1796
|
+
class="smart-calendar__day "
|
1797
|
+
data-index="{{25}}"
|
1798
|
+
style="height:34px"
|
1799
|
+
bind:tap="onClick"
|
1800
|
+
>
|
1801
|
+
|
1802
|
+
26
|
1803
|
+
|
1804
|
+
</wx-view>
|
1805
|
+
<wx-view
|
1806
|
+
class="smart-calendar__day "
|
1807
|
+
data-index="{{26}}"
|
1808
|
+
style="height:34px"
|
1809
|
+
bind:tap="onClick"
|
1810
|
+
>
|
1811
|
+
|
1812
|
+
27
|
1813
|
+
|
1814
|
+
</wx-view>
|
1815
|
+
<wx-view
|
1816
|
+
class="smart-calendar__day "
|
1817
|
+
data-index="{{27}}"
|
1818
|
+
style="height:34px"
|
1819
|
+
bind:tap="onClick"
|
1820
|
+
>
|
1821
|
+
|
1822
|
+
28
|
1823
|
+
|
1824
|
+
</wx-view>
|
1825
|
+
<wx-view
|
1826
|
+
class="smart-calendar__day "
|
1827
|
+
data-index="{{28}}"
|
1828
|
+
style="height:34px"
|
1829
|
+
bind:tap="onClick"
|
1830
|
+
>
|
1831
|
+
|
1832
|
+
29
|
1833
|
+
|
1834
|
+
</wx-view>
|
1835
|
+
<wx-view
|
1836
|
+
class="smart-calendar__day "
|
1837
|
+
data-index="{{29}}"
|
1838
|
+
style="height:34px"
|
1839
|
+
bind:tap="onClick"
|
1840
|
+
>
|
1841
|
+
|
1842
|
+
30
|
1843
|
+
|
1844
|
+
</wx-view>
|
1845
|
+
<wx-view
|
1846
|
+
class="smart-calendar__day "
|
1847
|
+
data-index="{{30}}"
|
1848
|
+
style="height:34px"
|
1849
|
+
bind:tap="onClick"
|
1850
|
+
>
|
1851
|
+
|
1852
|
+
31
|
1853
|
+
|
1854
|
+
</wx-view>
|
1855
|
+
</wx-view>
|
1856
|
+
</wx-view>
|
1857
|
+
</month>
|
1858
|
+
</wx-view>
|
1859
|
+
</smart-calendar>
|
1860
|
+
</wx-view>
|
1861
|
+
</demo-block>
|
1862
|
+
<demo-block>
|
1863
|
+
<wx-view
|
1864
|
+
class="custom-class demo-block smart-clearfix "
|
1865
|
+
>
|
1866
|
+
<wx-view
|
1867
|
+
class="demo-block__title"
|
1868
|
+
>
|
1869
|
+
undefined: 2024/7/1
|
1870
|
+
</wx-view>
|
1871
|
+
<smart-calendar
|
1872
|
+
bind:select="setCurMonth"
|
1873
|
+
>
|
1874
|
+
<wx-view
|
1875
|
+
class="smart-calendar"
|
1876
|
+
>
|
1877
|
+
<header
|
1878
|
+
subFormatter="YYYYyear"
|
1879
|
+
bind:click-next="onNext"
|
1880
|
+
bind:click-prev="onPrev"
|
1881
|
+
bind:click-save="onConfirm"
|
1882
|
+
bind:click-subtitle="onClickSubtitle"
|
1883
|
+
>
|
1884
|
+
<wx-view
|
1885
|
+
class="smart-calendar__header"
|
1886
|
+
>
|
1887
|
+
<wx-view
|
1888
|
+
class="smart-calendar__header-title"
|
1889
|
+
/>
|
1890
|
+
<wx-view
|
1891
|
+
class="smart-calendar__header-title"
|
1892
|
+
>
|
1893
|
+
|
1894
|
+
|
1895
|
+
|
1896
|
+
</wx-view>
|
1897
|
+
<wx-view
|
1898
|
+
class="smart-calendar__header-subtitle_wrap"
|
1899
|
+
>
|
1900
|
+
<wx-view
|
1901
|
+
class="smart-calendar__header-subtitle_left"
|
1902
|
+
bind:tap="onPrev"
|
1903
|
+
>
|
1904
|
+
<smart-icon
|
1905
|
+
class="smart-calendar__header-subtitle_left_icon"
|
1906
|
+
>
|
1907
|
+
<wx-view
|
1908
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
1909
|
+
style=""
|
1910
|
+
bind:tap="onClick"
|
1911
|
+
>
|
1912
|
+
<wx-view
|
1913
|
+
class="smart-icon__svg"
|
1914
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
1915
|
+
/>
|
1916
|
+
</wx-view>
|
1917
|
+
</smart-icon>
|
1918
|
+
</wx-view>
|
1919
|
+
<wx-view
|
1920
|
+
class="smart-calendar__header-subtitle"
|
1921
|
+
bind:tap="onClickSubtitle"
|
1922
|
+
>
|
1923
|
+
|
1924
|
+
|
1925
|
+
|
1926
|
+
</wx-view>
|
1927
|
+
<wx-view
|
1928
|
+
class="smart-calendar__header-subtitle_right"
|
1929
|
+
bind:tap="onNext"
|
1930
|
+
>
|
1931
|
+
<smart-icon
|
1932
|
+
class="smart-calendar__header-subtitle_right_icon"
|
1933
|
+
>
|
1934
|
+
<wx-view
|
1935
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
1936
|
+
style=""
|
1937
|
+
bind:tap="onClick"
|
1938
|
+
>
|
1939
|
+
<wx-view
|
1940
|
+
class="smart-icon__svg"
|
1941
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
1942
|
+
/>
|
1943
|
+
</wx-view>
|
1944
|
+
</smart-icon>
|
1945
|
+
</wx-view>
|
1946
|
+
</wx-view>
|
1947
|
+
</wx-view>
|
1948
|
+
</header>
|
1949
|
+
<month-list
|
1950
|
+
bind:changemonthtitle="onChangeMonthTitleDate"
|
1951
|
+
bind:click="onClickDate"
|
1952
|
+
>
|
1953
|
+
<wx-view
|
1954
|
+
class="contain"
|
1955
|
+
>
|
1956
|
+
<smart-row>
|
1957
|
+
<wx-view
|
1958
|
+
class="smart-row custom-class"
|
1959
|
+
style=""
|
1960
|
+
>
|
1961
|
+
<smart-col
|
1962
|
+
customClass="col_item"
|
1963
|
+
>
|
1964
|
+
<wx-view
|
1965
|
+
class="custom-class smart-col smart-col--6 "
|
1966
|
+
style=""
|
1967
|
+
>
|
1968
|
+
<wx-view
|
1969
|
+
class="item item_disabled"
|
1970
|
+
data-index="{{0}}"
|
1971
|
+
>
|
1972
|
+
|
1973
|
+
cal_Jan
|
1974
|
+
|
1975
|
+
</wx-view>
|
1976
|
+
</wx-view>
|
1977
|
+
</smart-col>
|
1978
|
+
<smart-col
|
1979
|
+
customClass="col_item"
|
1980
|
+
>
|
1981
|
+
<wx-view
|
1982
|
+
class="custom-class smart-col smart-col--6 "
|
1983
|
+
style=""
|
1984
|
+
>
|
1985
|
+
<wx-view
|
1986
|
+
class="item item_disabled"
|
1987
|
+
data-index="{{1}}"
|
1988
|
+
>
|
1989
|
+
|
1990
|
+
cal_Feb
|
1991
|
+
|
1992
|
+
</wx-view>
|
1993
|
+
</wx-view>
|
1994
|
+
</smart-col>
|
1995
|
+
<smart-col
|
1996
|
+
customClass="col_item"
|
1997
|
+
>
|
1998
|
+
<wx-view
|
1999
|
+
class="custom-class smart-col smart-col--6 "
|
2000
|
+
style=""
|
2001
|
+
>
|
2002
|
+
<wx-view
|
2003
|
+
class="item"
|
2004
|
+
data-index="{{2}}"
|
2005
|
+
bind:tap="onClick"
|
2006
|
+
>
|
2007
|
+
|
2008
|
+
cal_Mar
|
2009
|
+
|
2010
|
+
</wx-view>
|
2011
|
+
</wx-view>
|
2012
|
+
</smart-col>
|
2013
|
+
<smart-col
|
2014
|
+
customClass="col_item"
|
2015
|
+
>
|
2016
|
+
<wx-view
|
2017
|
+
class="custom-class smart-col smart-col--6 "
|
2018
|
+
style=""
|
2019
|
+
>
|
2020
|
+
<wx-view
|
2021
|
+
class="item"
|
2022
|
+
data-index="{{3}}"
|
2023
|
+
bind:tap="onClick"
|
2024
|
+
>
|
2025
|
+
|
2026
|
+
cal_Apr
|
2027
|
+
|
2028
|
+
</wx-view>
|
2029
|
+
</wx-view>
|
2030
|
+
</smart-col>
|
2031
|
+
<smart-col
|
2032
|
+
customClass="col_item"
|
2033
|
+
>
|
2034
|
+
<wx-view
|
2035
|
+
class="custom-class smart-col smart-col--6 "
|
2036
|
+
style=""
|
2037
|
+
>
|
2038
|
+
<wx-view
|
2039
|
+
class="item"
|
2040
|
+
data-index="{{4}}"
|
2041
|
+
bind:tap="onClick"
|
2042
|
+
>
|
2043
|
+
|
2044
|
+
cal_May
|
2045
|
+
|
2046
|
+
</wx-view>
|
2047
|
+
</wx-view>
|
2048
|
+
</smart-col>
|
2049
|
+
<smart-col
|
2050
|
+
customClass="col_item"
|
2051
|
+
>
|
2052
|
+
<wx-view
|
2053
|
+
class="custom-class smart-col smart-col--6 "
|
2054
|
+
style=""
|
2055
|
+
>
|
2056
|
+
<wx-view
|
2057
|
+
class="item"
|
2058
|
+
data-index="{{5}}"
|
2059
|
+
bind:tap="onClick"
|
2060
|
+
>
|
2061
|
+
|
2062
|
+
cal_Jun
|
2063
|
+
|
2064
|
+
</wx-view>
|
2065
|
+
</wx-view>
|
2066
|
+
</smart-col>
|
2067
|
+
<smart-col
|
2068
|
+
customClass="col_item"
|
2069
|
+
>
|
2070
|
+
<wx-view
|
2071
|
+
class="custom-class smart-col smart-col--6 "
|
2072
|
+
style=""
|
2073
|
+
>
|
2074
|
+
<wx-view
|
2075
|
+
class="item item_active"
|
2076
|
+
data-index="{{6}}"
|
2077
|
+
style="background: ;"
|
2078
|
+
bind:tap="onClick"
|
2079
|
+
>
|
2080
|
+
|
2081
|
+
cal_Jul
|
2082
|
+
|
2083
|
+
</wx-view>
|
2084
|
+
</wx-view>
|
2085
|
+
</smart-col>
|
2086
|
+
<smart-col
|
2087
|
+
customClass="col_item"
|
2088
|
+
>
|
2089
|
+
<wx-view
|
2090
|
+
class="custom-class smart-col smart-col--6 "
|
2091
|
+
style=""
|
2092
|
+
>
|
2093
|
+
<wx-view
|
2094
|
+
class="item"
|
2095
|
+
data-index="{{7}}"
|
2096
|
+
bind:tap="onClick"
|
2097
|
+
>
|
2098
|
+
|
2099
|
+
cal_Aug
|
2100
|
+
|
2101
|
+
</wx-view>
|
2102
|
+
</wx-view>
|
2103
|
+
</smart-col>
|
2104
|
+
<smart-col
|
2105
|
+
customClass="col_item"
|
2106
|
+
>
|
2107
|
+
<wx-view
|
2108
|
+
class="custom-class smart-col smart-col--6 "
|
2109
|
+
style=""
|
2110
|
+
>
|
2111
|
+
<wx-view
|
2112
|
+
class="item"
|
2113
|
+
data-index="{{8}}"
|
2114
|
+
bind:tap="onClick"
|
2115
|
+
>
|
2116
|
+
|
2117
|
+
cal_Sept
|
2118
|
+
|
2119
|
+
</wx-view>
|
2120
|
+
</wx-view>
|
2121
|
+
</smart-col>
|
2122
|
+
<smart-col
|
2123
|
+
customClass="col_item"
|
2124
|
+
>
|
2125
|
+
<wx-view
|
2126
|
+
class="custom-class smart-col smart-col--6 "
|
2127
|
+
style=""
|
2128
|
+
>
|
2129
|
+
<wx-view
|
2130
|
+
class="item"
|
2131
|
+
data-index="{{9}}"
|
2132
|
+
bind:tap="onClick"
|
2133
|
+
>
|
2134
|
+
|
2135
|
+
cal_Oct
|
2136
|
+
|
2137
|
+
</wx-view>
|
2138
|
+
</wx-view>
|
2139
|
+
</smart-col>
|
2140
|
+
<smart-col
|
2141
|
+
customClass="col_item"
|
2142
|
+
>
|
2143
|
+
<wx-view
|
2144
|
+
class="custom-class smart-col smart-col--6 "
|
2145
|
+
style=""
|
2146
|
+
>
|
2147
|
+
<wx-view
|
2148
|
+
class="item"
|
2149
|
+
data-index="{{10}}"
|
2150
|
+
bind:tap="onClick"
|
2151
|
+
>
|
2152
|
+
|
2153
|
+
cal_Nov
|
2154
|
+
|
2155
|
+
</wx-view>
|
2156
|
+
</wx-view>
|
2157
|
+
</smart-col>
|
2158
|
+
<smart-col
|
2159
|
+
customClass="col_item"
|
2160
|
+
>
|
2161
|
+
<wx-view
|
2162
|
+
class="custom-class smart-col smart-col--6 "
|
2163
|
+
style=""
|
2164
|
+
>
|
2165
|
+
<wx-view
|
2166
|
+
class="item"
|
2167
|
+
data-index="{{11}}"
|
2168
|
+
bind:tap="onClick"
|
2169
|
+
>
|
2170
|
+
|
2171
|
+
cal_Dec
|
2172
|
+
|
2173
|
+
</wx-view>
|
2174
|
+
</wx-view>
|
2175
|
+
</smart-col>
|
2176
|
+
</wx-view>
|
2177
|
+
</smart-row>
|
2178
|
+
</wx-view>
|
2179
|
+
</month-list>
|
2180
|
+
</wx-view>
|
2181
|
+
</smart-calendar>
|
2182
|
+
</wx-view>
|
2183
|
+
</demo-block>
|
2184
|
+
<demo-block>
|
2185
|
+
<wx-view
|
2186
|
+
class="custom-class demo-block smart-clearfix "
|
2187
|
+
>
|
2188
|
+
<wx-view
|
2189
|
+
class="demo-block__title"
|
2190
|
+
>
|
2191
|
+
undefined: 2025/1/23
|
2192
|
+
</wx-view>
|
2193
|
+
<smart-calendar
|
2194
|
+
bind:select="setCurYear"
|
2195
|
+
>
|
2196
|
+
<wx-view
|
2197
|
+
class="smart-calendar"
|
2198
|
+
>
|
2199
|
+
<header
|
2200
|
+
subFormatter="YYYY-MM"
|
2201
|
+
bind:click-next="onNext"
|
2202
|
+
bind:click-prev="onPrev"
|
2203
|
+
bind:click-save="onConfirm"
|
2204
|
+
bind:click-subtitle="onClickSubtitle"
|
2205
|
+
>
|
2206
|
+
<wx-view
|
2207
|
+
class="smart-calendar__header"
|
2208
|
+
>
|
2209
|
+
<wx-view
|
2210
|
+
class="smart-calendar__header-title"
|
2211
|
+
/>
|
2212
|
+
<wx-view
|
2213
|
+
class="smart-calendar__header-title"
|
2214
|
+
>
|
2215
|
+
|
2216
|
+
|
2217
|
+
|
2218
|
+
</wx-view>
|
2219
|
+
<wx-view
|
2220
|
+
class="smart-calendar__header-subtitle_wrap"
|
2221
|
+
>
|
2222
|
+
<wx-view
|
2223
|
+
class="smart-calendar__header-subtitle_left"
|
2224
|
+
bind:tap="onPrev"
|
2225
|
+
>
|
2226
|
+
<smart-icon
|
2227
|
+
class="smart-calendar__header-subtitle_left_icon"
|
2228
|
+
>
|
2229
|
+
<wx-view
|
2230
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
2231
|
+
style=""
|
2232
|
+
bind:tap="onClick"
|
2233
|
+
>
|
2234
|
+
<wx-view
|
2235
|
+
class="smart-icon__svg"
|
2236
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M670.165333%20225.834667a42.666667%2042.666667%200%200%200-56.32-3.541334l-4.010666%203.541334-256%20256a42.666667%2042.666667%200%200%200-3.541334%2056.32l3.541334%204.010666%20256%20256a42.666667%2042.666667%200%200%200%2063.872-56.32l-3.541334-4.010666L444.373333%20512l225.792-225.834667a42.666667%2042.666667%200%200%200%203.541334-56.32l-3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
2237
|
+
/>
|
2238
|
+
</wx-view>
|
2239
|
+
</smart-icon>
|
2240
|
+
</wx-view>
|
2241
|
+
<wx-view
|
2242
|
+
class="smart-calendar__header-subtitle"
|
2243
|
+
bind:tap="onClickSubtitle"
|
2244
|
+
>
|
2245
|
+
|
2246
|
+
|
2247
|
+
|
2248
|
+
</wx-view>
|
2249
|
+
<wx-view
|
2250
|
+
class="smart-calendar__header-subtitle_right"
|
2251
|
+
bind:tap="onNext"
|
2252
|
+
>
|
2253
|
+
<smart-icon
|
2254
|
+
class="smart-calendar__header-subtitle_right_icon"
|
2255
|
+
>
|
2256
|
+
<wx-view
|
2257
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
2258
|
+
style=""
|
2259
|
+
bind:tap="onClick"
|
2260
|
+
>
|
2261
|
+
<wx-view
|
2262
|
+
class="smart-icon__svg"
|
2263
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
2264
|
+
/>
|
2265
|
+
</wx-view>
|
2266
|
+
</smart-icon>
|
2267
|
+
</wx-view>
|
2268
|
+
</wx-view>
|
2269
|
+
</wx-view>
|
2270
|
+
</header>
|
2271
|
+
<year-list
|
2272
|
+
bind:click="onClickDate"
|
2273
|
+
>
|
2274
|
+
<wx-view
|
2275
|
+
class="contain"
|
2276
|
+
>
|
2277
|
+
<smart-row>
|
2278
|
+
<wx-view
|
2279
|
+
class="smart-row custom-class"
|
2280
|
+
style=""
|
2281
|
+
>
|
2282
|
+
<smart-col
|
2283
|
+
customClass="col_item"
|
2284
|
+
>
|
2285
|
+
<wx-view
|
2286
|
+
class="custom-class smart-col smart-col--6 "
|
2287
|
+
style=""
|
2288
|
+
>
|
2289
|
+
<wx-view
|
2290
|
+
class="item item_disabled"
|
2291
|
+
data-index="{{0}}"
|
2292
|
+
>
|
2293
|
+
|
2294
|
+
2020
|
2295
|
+
|
2296
|
+
</wx-view>
|
2297
|
+
</wx-view>
|
2298
|
+
</smart-col>
|
2299
|
+
<smart-col
|
2300
|
+
customClass="col_item"
|
2301
|
+
>
|
2302
|
+
<wx-view
|
2303
|
+
class="custom-class smart-col smart-col--6 "
|
2304
|
+
style=""
|
2305
|
+
>
|
2306
|
+
<wx-view
|
2307
|
+
class="item item_disabled"
|
2308
|
+
data-index="{{1}}"
|
2309
|
+
>
|
2310
|
+
|
2311
|
+
2021
|
2312
|
+
|
2313
|
+
</wx-view>
|
2314
|
+
</wx-view>
|
2315
|
+
</smart-col>
|
2316
|
+
<smart-col
|
2317
|
+
customClass="col_item"
|
2318
|
+
>
|
2319
|
+
<wx-view
|
2320
|
+
class="custom-class smart-col smart-col--6 "
|
2321
|
+
style=""
|
2322
|
+
>
|
2323
|
+
<wx-view
|
2324
|
+
class="item item_disabled"
|
2325
|
+
data-index="{{2}}"
|
2326
|
+
>
|
2327
|
+
|
2328
|
+
2022
|
2329
|
+
|
2330
|
+
</wx-view>
|
2331
|
+
</wx-view>
|
2332
|
+
</smart-col>
|
2333
|
+
<smart-col
|
2334
|
+
customClass="col_item"
|
2335
|
+
>
|
2336
|
+
<wx-view
|
2337
|
+
class="custom-class smart-col smart-col--6 "
|
2338
|
+
style=""
|
2339
|
+
>
|
2340
|
+
<wx-view
|
2341
|
+
class="item item_disabled"
|
2342
|
+
data-index="{{3}}"
|
2343
|
+
>
|
2344
|
+
|
2345
|
+
2023
|
2346
|
+
|
2347
|
+
</wx-view>
|
2348
|
+
</wx-view>
|
2349
|
+
</smart-col>
|
2350
|
+
<smart-col
|
2351
|
+
customClass="col_item"
|
2352
|
+
>
|
2353
|
+
<wx-view
|
2354
|
+
class="custom-class smart-col smart-col--6 "
|
2355
|
+
style=""
|
2356
|
+
>
|
2357
|
+
<wx-view
|
2358
|
+
class="item"
|
2359
|
+
data-index="{{4}}"
|
2360
|
+
bind:tap="onClick"
|
2361
|
+
>
|
2362
|
+
|
2363
|
+
2024
|
2364
|
+
|
2365
|
+
</wx-view>
|
2366
|
+
</wx-view>
|
2367
|
+
</smart-col>
|
2368
|
+
<smart-col
|
2369
|
+
customClass="col_item"
|
2370
|
+
>
|
2371
|
+
<wx-view
|
2372
|
+
class="custom-class smart-col smart-col--6 "
|
2373
|
+
style=""
|
2374
|
+
>
|
2375
|
+
<wx-view
|
2376
|
+
class="item item_active"
|
2377
|
+
data-index="{{5}}"
|
2378
|
+
style="background: ;"
|
2379
|
+
bind:tap="onClick"
|
2380
|
+
>
|
2381
|
+
|
2382
|
+
2025
|
2383
|
+
|
2384
|
+
</wx-view>
|
2385
|
+
</wx-view>
|
2386
|
+
</smart-col>
|
2387
|
+
<smart-col
|
2388
|
+
customClass="col_item"
|
2389
|
+
>
|
2390
|
+
<wx-view
|
2391
|
+
class="custom-class smart-col smart-col--6 "
|
2392
|
+
style=""
|
2393
|
+
>
|
2394
|
+
<wx-view
|
2395
|
+
class="item"
|
2396
|
+
data-index="{{6}}"
|
2397
|
+
bind:tap="onClick"
|
2398
|
+
>
|
2399
|
+
|
2400
|
+
2026
|
2401
|
+
|
2402
|
+
</wx-view>
|
2403
|
+
</wx-view>
|
2404
|
+
</smart-col>
|
2405
|
+
<smart-col
|
2406
|
+
customClass="col_item"
|
2407
|
+
>
|
2408
|
+
<wx-view
|
2409
|
+
class="custom-class smart-col smart-col--6 "
|
2410
|
+
style=""
|
2411
|
+
>
|
2412
|
+
<wx-view
|
2413
|
+
class="item"
|
2414
|
+
data-index="{{7}}"
|
2415
|
+
bind:tap="onClick"
|
2416
|
+
>
|
2417
|
+
|
2418
|
+
2027
|
2419
|
+
|
2420
|
+
</wx-view>
|
2421
|
+
</wx-view>
|
2422
|
+
</smart-col>
|
2423
|
+
<smart-col
|
2424
|
+
customClass="col_item"
|
2425
|
+
>
|
2426
|
+
<wx-view
|
2427
|
+
class="custom-class smart-col smart-col--6 "
|
2428
|
+
style=""
|
2429
|
+
>
|
2430
|
+
<wx-view
|
2431
|
+
class="item"
|
2432
|
+
data-index="{{8}}"
|
2433
|
+
bind:tap="onClick"
|
2434
|
+
>
|
2435
|
+
|
2436
|
+
2028
|
2437
|
+
|
2438
|
+
</wx-view>
|
2439
|
+
</wx-view>
|
2440
|
+
</smart-col>
|
2441
|
+
<smart-col
|
2442
|
+
customClass="col_item"
|
2443
|
+
>
|
2444
|
+
<wx-view
|
2445
|
+
class="custom-class smart-col smart-col--6 "
|
2446
|
+
style=""
|
2447
|
+
>
|
2448
|
+
<wx-view
|
2449
|
+
class="item"
|
2450
|
+
data-index="{{9}}"
|
2451
|
+
bind:tap="onClick"
|
2452
|
+
>
|
2453
|
+
|
2454
|
+
2029
|
2455
|
+
|
2456
|
+
</wx-view>
|
2457
|
+
</wx-view>
|
2458
|
+
</smart-col>
|
2459
|
+
<smart-col
|
2460
|
+
customClass="col_item"
|
2461
|
+
>
|
2462
|
+
<wx-view
|
2463
|
+
class="custom-class smart-col smart-col--6 "
|
2464
|
+
style=""
|
2465
|
+
>
|
2466
|
+
<wx-view
|
2467
|
+
class="item item_disabled"
|
2468
|
+
data-index="{{10}}"
|
2469
|
+
>
|
2470
|
+
|
2471
|
+
2030
|
2472
|
+
|
2473
|
+
</wx-view>
|
2474
|
+
</wx-view>
|
2475
|
+
</smart-col>
|
2476
|
+
<smart-col
|
2477
|
+
customClass="col_item"
|
2478
|
+
>
|
2479
|
+
<wx-view
|
2480
|
+
class="custom-class smart-col smart-col--6 "
|
2481
|
+
style=""
|
2482
|
+
>
|
2483
|
+
<wx-view
|
2484
|
+
class="item item_disabled"
|
2485
|
+
data-index="{{11}}"
|
2486
|
+
>
|
2487
|
+
|
2488
|
+
2031
|
2489
|
+
|
2490
|
+
</wx-view>
|
2491
|
+
</wx-view>
|
2492
|
+
</smart-col>
|
2493
|
+
</wx-view>
|
2494
|
+
</smart-row>
|
2495
|
+
</wx-view>
|
2496
|
+
</year-list>
|
2497
|
+
</wx-view>
|
2498
|
+
</smart-calendar>
|
2499
|
+
</wx-view>
|
2500
|
+
</demo-block>
|
2501
|
+
<demo-block>
|
2502
|
+
<wx-view
|
2503
|
+
class="custom-class demo-block smart-clearfix "
|
2504
|
+
>
|
2505
|
+
<wx-view
|
2506
|
+
class="demo-block__title"
|
2507
|
+
>
|
2508
|
+
undefined: 2024/2/1
|
2509
|
+
</wx-view>
|
2510
|
+
<wx-view
|
2511
|
+
class="controls"
|
2512
|
+
>
|
2513
|
+
<wx-view
|
2514
|
+
class="controls_item"
|
2515
|
+
data-type="single"
|
2516
|
+
style="color: #3678e3"
|
2517
|
+
bind:tap="changeType"
|
2518
|
+
>
|
2519
|
+
|
2520
|
+
</wx-view>
|
2521
|
+
<wx-view
|
2522
|
+
class="controls_item"
|
2523
|
+
data-type="month"
|
2524
|
+
style="color: #000"
|
2525
|
+
bind:tap="changeType"
|
2526
|
+
>
|
2527
|
+
|
2528
|
+
</wx-view>
|
2529
|
+
<wx-view
|
2530
|
+
class="controls_item"
|
2531
|
+
data-type="year"
|
2532
|
+
style="color: #000"
|
2533
|
+
bind:tap="changeType"
|
2534
|
+
>
|
2535
|
+
|
2536
|
+
</wx-view>
|
2537
|
+
</wx-view>
|
2538
|
+
<smart-cell
|
2539
|
+
bind:click="onShowDayPicker"
|
2540
|
+
>
|
2541
|
+
<wx-view
|
2542
|
+
class="custom-class smart-cell smart-cell--clickable"
|
2543
|
+
hoverClass="smart-cell--hover hover-class"
|
2544
|
+
hoverStayTime="70"
|
2545
|
+
style=""
|
2546
|
+
bind:tap="onClick"
|
2547
|
+
>
|
2548
|
+
<wx-view
|
2549
|
+
class="smart-cell__title title-class"
|
2550
|
+
style=""
|
2551
|
+
/>
|
2552
|
+
<wx-view
|
2553
|
+
class="smart-cell__value value-class"
|
2554
|
+
>
|
2555
|
+
2/1
|
2556
|
+
</wx-view>
|
2557
|
+
<smart-icon
|
2558
|
+
class="smart-cell__right-icon-wrap right-icon-class"
|
2559
|
+
customClass="smart-cell__right-icon"
|
2560
|
+
>
|
2561
|
+
<wx-view
|
2562
|
+
class="custom-class smart-icon smart-icon--image smart-icon--svg"
|
2563
|
+
style=""
|
2564
|
+
bind:tap="onClick"
|
2565
|
+
>
|
2566
|
+
<wx-view
|
2567
|
+
class="smart-icon__svg"
|
2568
|
+
style="-webkit-mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20class%3D%22icon%22%20width%3D%22200px%22%20height%3D%22200.00px%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M353.834667%20225.834667a42.666667%2042.666667%200%200%201%2056.32-3.541334l4.010666%203.541334%20256%20256a42.666667%2042.666667%200%200%201%203.541334%2056.32l-3.541334%204.010666-256%20256a42.666667%2042.666667%200%200%201-63.872-56.32l3.541334-4.010666L579.626667%20512%20353.834667%20286.165333a42.666667%2042.666667%200%200%201-3.541334-56.32l3.541334-4.010666z%22%2F%3E%3C%2Fsvg%3E);mask-size:contain"
|
2569
|
+
/>
|
2570
|
+
</wx-view>
|
2571
|
+
</smart-icon>
|
2572
|
+
</wx-view>
|
2573
|
+
</smart-cell>
|
2574
|
+
<smart-calendar
|
2575
|
+
bind:close="onShowDayPicker"
|
2576
|
+
bind:confirm="setCurDay"
|
2577
|
+
bind:select="selectDate"
|
2578
|
+
>
|
2579
|
+
<smart-popup
|
2580
|
+
closeIconClass="smart-calendar__close-icon"
|
2581
|
+
customClass="smart-calendar__popup--bottom"
|
2582
|
+
bind:after-enter="onOpened"
|
2583
|
+
bind:after-leave="onClosed"
|
2584
|
+
bind:close="onClose"
|
2585
|
+
bind:enter="onOpen"
|
2586
|
+
>
|
2587
|
+
<smart-overlay
|
2588
|
+
bind:click="onClickOverlay"
|
2589
|
+
>
|
2590
|
+
<smart-transition
|
2591
|
+
customClass="smart-overlay custom-class"
|
2592
|
+
bind:tap="onClick"
|
2593
|
+
catch:touchmove="noop"
|
2594
|
+
/>
|
2595
|
+
</smart-overlay>
|
2596
|
+
</smart-popup>
|
2597
|
+
</smart-calendar>
|
2598
|
+
</wx-view>
|
2599
|
+
</demo-block>
|
2600
|
+
</wx-view>
|
2601
|
+
</main>
|
2602
|
+
`;
|