bulade-ui 1.1.39 → 1.1.40
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/.babelrc +11 -11
- package/.vscode/extensions.json +7 -7
- package/.vscode/settings.json +32 -32
- package/LICENSE +21 -21
- package/README.md +45 -45
- package/gulpfile.js +26 -26
- package/miniprogram_dist/assets/font/iconfont.scss +565 -565
- package/miniprogram_dist/assets/font/iconfont.wxss +562 -562
- package/miniprogram_dist/assets/style/border.wxss +94 -94
- package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
- package/miniprogram_dist/bld-action-sheet/index.json +8 -8
- package/miniprogram_dist/bld-action-sheet/index.wxml +56 -56
- package/miniprogram_dist/bld-badge/index.js.map +1 -1
- package/miniprogram_dist/bld-badge/index.json +3 -3
- package/miniprogram_dist/bld-badge/index.wxml +13 -13
- package/miniprogram_dist/bld-button/index.js.map +1 -1
- package/miniprogram_dist/bld-button/index.json +7 -7
- package/miniprogram_dist/bld-button/index.wxml +3 -3
- package/miniprogram_dist/bld-button-v2/index.js.map +1 -1
- package/miniprogram_dist/bld-button-v2/index.json +3 -3
- package/miniprogram_dist/bld-button-v2/index.wxml +41 -41
- package/miniprogram_dist/bld-card/index.js.map +1 -1
- package/miniprogram_dist/bld-card/index.json +2 -2
- package/miniprogram_dist/bld-card/index.wxml +5 -5
- package/miniprogram_dist/bld-cell/index.js.map +1 -1
- package/miniprogram_dist/bld-cell/index.json +7 -7
- package/miniprogram_dist/bld-cell/index.wxml +42 -42
- package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-field/index.json +6 -6
- package/miniprogram_dist/bld-cell-field/index.wxml +8 -8
- package/miniprogram_dist/bld-cell-group/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-group/index.json +2 -2
- package/miniprogram_dist/bld-cell-group/index.wxml +14 -14
- package/miniprogram_dist/bld-cell-group-v2/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-group-v2/index.json +2 -2
- package/miniprogram_dist/bld-cell-group-v2/index.wxml +9 -9
- package/miniprogram_dist/bld-cell-v2/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-v2/index.json +5 -5
- package/miniprogram_dist/bld-cell-v2/index.wxml +24 -24
- package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
- package/miniprogram_dist/bld-checkbox/index.json +5 -5
- package/miniprogram_dist/bld-checkbox/index.wxml +66 -66
- package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
- package/miniprogram_dist/bld-checkbox-group/index.json +3 -3
- package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
- package/miniprogram_dist/bld-cloud-image/index.json +2 -2
- package/miniprogram_dist/bld-cloud-image/index.wxml +14 -14
- package/miniprogram_dist/bld-collapse/index.js.map +1 -1
- package/miniprogram_dist/bld-collapse/index.json +3 -3
- package/miniprogram_dist/bld-collapse/index.wxml +8 -8
- package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -1
- package/miniprogram_dist/bld-dialog-tip/index.json +5 -5
- package/miniprogram_dist/bld-dialog-tip/index.wxml +23 -23
- package/miniprogram_dist/bld-drawer/index.js.map +1 -1
- package/miniprogram_dist/bld-drawer/index.json +3 -3
- package/miniprogram_dist/bld-drawer/index.wxml +13 -13
- package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
- package/miniprogram_dist/bld-empty-page/index.json +5 -5
- package/miniprogram_dist/bld-empty-page/index.wxml +11 -11
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.json +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.wxml +43 -43
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.wxml +27 -27
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.json +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.wxml +52 -52
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.wxml +28 -28
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.wxml +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.wxml +25 -25
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.json +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.wxml +43 -43
- package/miniprogram_dist/bld-half-screen/index.js.map +1 -1
- package/miniprogram_dist/bld-half-screen/index.json +4 -4
- package/miniprogram_dist/bld-half-screen/index.wxml +36 -36
- package/miniprogram_dist/bld-html/index.js.map +1 -1
- package/miniprogram_dist/bld-html/index.json +5 -5
- package/miniprogram_dist/bld-html/index.wxml +9 -9
- package/miniprogram_dist/bld-html/index.wxss +30 -30
- package/miniprogram_dist/bld-icon/index.js.map +1 -1
- package/miniprogram_dist/bld-icon/index.json +6 -6
- package/miniprogram_dist/bld-icon/index.wxml +36 -36
- package/miniprogram_dist/bld-icon/index.wxss +582 -582
- package/miniprogram_dist/bld-loading/index.js.map +1 -1
- package/miniprogram_dist/bld-loading/index.json +6 -6
- package/miniprogram_dist/bld-loading/index.wxml +8 -8
- package/miniprogram_dist/bld-message/index.js.map +1 -1
- package/miniprogram_dist/bld-message/index.json +3 -3
- package/miniprogram_dist/bld-message/index.wxml +8 -8
- package/miniprogram_dist/bld-message/message.js.map +1 -1
- package/miniprogram_dist/bld-modal/index.js.map +1 -1
- package/miniprogram_dist/bld-modal/index.json +6 -6
- package/miniprogram_dist/bld-modal/index.wxml +22 -22
- package/miniprogram_dist/bld-modal/modal.js.map +1 -1
- package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
- package/miniprogram_dist/bld-nav-bar/index.json +6 -6
- package/miniprogram_dist/bld-nav-bar/index.wxml +43 -43
- package/miniprogram_dist/bld-nav-bar/index.wxss +51 -51
- package/miniprogram_dist/bld-navbar/index.js.map +1 -1
- package/miniprogram_dist/bld-navbar/index.json +5 -5
- package/miniprogram_dist/bld-navbar/index.wxml +7 -7
- package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
- package/miniprogram_dist/bld-navbar-group/index.json +3 -3
- package/miniprogram_dist/bld-navbar-group/index.wxml +36 -36
- package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
- package/miniprogram_dist/bld-notice-bar/index.json +3 -3
- package/miniprogram_dist/bld-notice-bar/index.wxml +29 -29
- package/miniprogram_dist/bld-overlay/index.js.map +1 -1
- package/miniprogram_dist/bld-overlay/index.json +3 -3
- package/miniprogram_dist/bld-overlay/index.wxml +11 -11
- package/miniprogram_dist/bld-page/index.js.map +1 -1
- package/miniprogram_dist/bld-page/index.json +7 -7
- package/miniprogram_dist/bld-page/index.wxml +30 -30
- package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
- package/miniprogram_dist/bld-pop-up/index.json +6 -6
- package/miniprogram_dist/bld-pop-up/index.wxml +18 -18
- package/miniprogram_dist/bld-progress/index.js.map +1 -1
- package/miniprogram_dist/bld-progress/index.json +3 -3
- package/miniprogram_dist/bld-progress/index.wxml +34 -34
- package/miniprogram_dist/bld-radio/index.js.map +1 -1
- package/miniprogram_dist/bld-radio/index.json +3 -3
- package/miniprogram_dist/bld-radio/index.wxml +23 -23
- package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
- package/miniprogram_dist/bld-radio-group/index.json +3 -3
- package/miniprogram_dist/bld-retry/index.js.map +1 -1
- package/miniprogram_dist/bld-retry/index.json +2 -2
- package/miniprogram_dist/bld-retry/index.wxml +5 -5
- package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
- package/miniprogram_dist/bld-scroll-view/index.json +7 -7
- package/miniprogram_dist/bld-scroll-view/index.wxml +42 -42
- package/miniprogram_dist/bld-tabs/index.js +1 -1
- package/miniprogram_dist/bld-tabs/index.js.map +1 -1
- package/miniprogram_dist/bld-tabs/index.json +4 -4
- package/miniprogram_dist/bld-tabs/index.wxml +13 -13
- package/miniprogram_dist/bld-tabs/index.wxss +29 -29
- package/miniprogram_dist/bld-tag/index.js.map +1 -1
- package/miniprogram_dist/bld-tag/index.json +3 -3
- package/miniprogram_dist/bld-tag/index.wxml +2 -2
- package/miniprogram_dist/bld-text/index.js.map +1 -1
- package/miniprogram_dist/bld-text/index.json +2 -2
- package/miniprogram_dist/bld-text/index.wxml +3 -3
- package/miniprogram_dist/bld-toast/index.js.map +1 -1
- package/miniprogram_dist/bld-toast/index.json +5 -5
- package/miniprogram_dist/bld-toast/index.wxml +26 -26
- package/miniprogram_dist/bld-toast/toast.js.map +1 -1
- package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
- package/miniprogram_dist/bld-wrapper/index.json +4 -4
- package/miniprogram_dist/bld-wrapper/index.wxml +6 -6
- package/miniprogram_dist/button/index.js.map +1 -1
- package/miniprogram_dist/button/index.json +3 -3
- package/miniprogram_dist/button/index.wxml +41 -41
- package/miniprogram_dist/components-npm/mp-weixin/index.js +6 -6
- package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -1
- package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -1
- package/miniprogram_dist/grid/index.js.map +1 -1
- package/miniprogram_dist/grid/index.json +3 -3
- package/miniprogram_dist/grid/index.wxml +2 -2
- package/miniprogram_dist/grid-item/index.js.map +1 -1
- package/miniprogram_dist/grid-item/index.json +5 -5
- package/miniprogram_dist/grid-item/index.wxml +45 -45
- package/miniprogram_dist/timeline/index.js.map +1 -1
- package/miniprogram_dist/timeline/index.json +2 -2
- package/miniprogram_dist/timeline/index.wxml +1 -1
- package/miniprogram_dist/timeline-item/index.js.map +1 -1
- package/miniprogram_dist/timeline-item/index.json +5 -5
- package/miniprogram_dist/timeline-item/index.wxml +9 -9
- package/miniprogram_dist/utils/systemInfo.js +52 -52
- package/package.json +72 -72
- package/project.config.json +7 -7
- package/src/assets/font/iconfont.scss +565 -565
- package/src/assets/font/iconfont.wxss +562 -562
- package/src/assets/style/border.wxss +94 -94
- package/src/bld-action-sheet/index.js +82 -82
- package/src/bld-action-sheet/index.json +8 -8
- package/src/bld-action-sheet/index.scss +179 -179
- package/src/bld-action-sheet/index.wxml +56 -56
- package/src/bld-badge/index.js +53 -53
- package/src/bld-badge/index.json +3 -3
- package/src/bld-badge/index.scss +45 -45
- package/src/bld-badge/index.wxml +13 -13
- package/src/bld-button/index.js +13 -13
- package/src/bld-button/index.json +7 -7
- package/src/bld-button/index.scss +44 -44
- package/src/bld-button/index.wxml +3 -3
- package/src/bld-button-v2/index.js +91 -91
- package/src/bld-button-v2/index.json +3 -3
- package/src/bld-button-v2/index.scss +206 -206
- package/src/bld-button-v2/index.wxml +41 -41
- package/src/bld-card/index.js +3 -3
- package/src/bld-card/index.json +2 -2
- package/src/bld-card/index.scss +6 -6
- package/src/bld-card/index.wxml +5 -5
- package/src/bld-cell/index.js +28 -28
- package/src/bld-cell/index.json +7 -7
- package/src/bld-cell/index.scss +42 -42
- package/src/bld-cell/index.wxml +42 -42
- package/src/bld-cell-field/index.js +11 -11
- package/src/bld-cell-field/index.json +6 -6
- package/src/bld-cell-field/index.scss +21 -21
- package/src/bld-cell-field/index.wxml +8 -8
- package/src/bld-cell-group/index.js +11 -11
- package/src/bld-cell-group/index.json +2 -2
- package/src/bld-cell-group/index.scss +13 -13
- package/src/bld-cell-group/index.wxml +14 -14
- package/src/bld-cell-group-v2/index.js +70 -70
- package/src/bld-cell-group-v2/index.json +2 -2
- package/src/bld-cell-group-v2/index.scss +31 -31
- package/src/bld-cell-group-v2/index.wxml +9 -9
- package/src/bld-cell-v2/index.js +80 -80
- package/src/bld-cell-v2/index.json +5 -5
- package/src/bld-cell-v2/index.scss +74 -74
- package/src/bld-cell-v2/index.wxml +24 -24
- package/src/bld-checkbox/index.js +110 -110
- package/src/bld-checkbox/index.json +5 -5
- package/src/bld-checkbox/index.scss +71 -71
- package/src/bld-checkbox/index.wxml +66 -66
- package/src/bld-checkbox-group/index.js +84 -84
- package/src/bld-checkbox-group/index.json +3 -3
- package/src/bld-cloud-image/index.js +79 -79
- package/src/bld-cloud-image/index.json +2 -2
- package/src/bld-cloud-image/index.scss +3 -3
- package/src/bld-cloud-image/index.wxml +14 -14
- package/src/bld-collapse/index.js +62 -62
- package/src/bld-collapse/index.json +3 -3
- package/src/bld-collapse/index.scss +6 -6
- package/src/bld-collapse/index.wxml +8 -8
- package/src/bld-content-container/index.js +46 -46
- package/src/bld-content-container/index.json +2 -2
- package/src/bld-content-container/index.wxml +5 -5
- package/src/bld-dialog-tip/index.js +60 -60
- package/src/bld-dialog-tip/index.json +5 -5
- package/src/bld-dialog-tip/index.scss +66 -66
- package/src/bld-dialog-tip/index.wxml +23 -23
- package/src/bld-drawer/index.js +40 -40
- package/src/bld-drawer/index.json +3 -3
- package/src/bld-drawer/index.scss +78 -78
- package/src/bld-drawer/index.wxml +13 -13
- package/src/bld-empty-page/index.js +23 -23
- package/src/bld-empty-page/index.json +5 -5
- package/src/bld-empty-page/index.scss +15 -15
- package/src/bld-empty-page/index.wxml +11 -11
- package/src/bld-form/bld-form-item/bld-form-date/index.js +211 -211
- package/src/bld-form/bld-form-item/bld-form-date/index.json +6 -6
- package/src/bld-form/bld-form-item/bld-form-date/index.scss +53 -53
- package/src/bld-form/bld-form-item/bld-form-date/index.wxml +43 -43
- package/src/bld-form/bld-form-item/bld-form-input/index.js +53 -53
- package/src/bld-form/bld-form-item/bld-form-input/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-input/index.scss +25 -25
- package/src/bld-form/bld-form-item/bld-form-input/index.wxml +27 -27
- package/src/bld-form/bld-form-item/bld-form-select-input/index.js +145 -145
- package/src/bld-form/bld-form-item/bld-form-select-input/index.json +6 -6
- package/src/bld-form/bld-form-item/bld-form-select-input/index.scss +117 -117
- package/src/bld-form/bld-form-item/bld-form-select-input/index.wxml +52 -52
- package/src/bld-form/bld-form-item/bld-form-step/index.js +58 -58
- package/src/bld-form/bld-form-item/bld-form-step/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-step/index.scss +42 -42
- package/src/bld-form/bld-form-item/bld-form-step/index.wxml +28 -28
- package/src/bld-form/bld-form-item/bld-form-switch/index.js +37 -37
- package/src/bld-form/bld-form-item/bld-form-switch/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-switch/index.scss +22 -22
- package/src/bld-form/bld-form-item/bld-form-switch/index.wxml +6 -6
- package/src/bld-form/bld-form-item/bld-form-textarea/index.js +44 -44
- package/src/bld-form/bld-form-item/bld-form-textarea/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-textarea/index.scss +25 -25
- package/src/bld-form/bld-form-item/bld-form-textarea/index.wxml +25 -25
- package/src/bld-form/bld-form-item/bld-form-time/index.js +108 -108
- package/src/bld-form/bld-form-item/bld-form-time/index.json +6 -6
- package/src/bld-form/bld-form-item/bld-form-time/index.scss +53 -53
- package/src/bld-form/bld-form-item/bld-form-time/index.wxml +43 -43
- package/src/bld-half-screen/index.js +166 -166
- package/src/bld-half-screen/index.json +4 -4
- package/src/bld-half-screen/index.scss +109 -109
- package/src/bld-half-screen/index.wxml +36 -36
- package/src/bld-html/index.js +46 -46
- package/src/bld-html/index.json +5 -5
- package/src/bld-html/index.scss +17 -17
- package/src/bld-html/index.wxml +9 -9
- package/src/bld-html/index.wxss +30 -30
- package/src/bld-icon/index.js +41 -41
- package/src/bld-icon/index.json +6 -6
- package/src/bld-icon/index.scss +19 -19
- package/src/bld-icon/index.wxml +36 -36
- package/src/bld-icon/index.wxss +582 -582
- package/src/bld-icon-back/index.js +8 -8
- package/src/bld-icon-back/index.json +3 -3
- package/src/bld-icon-back/index.scss +1 -1
- package/src/bld-icon-back/index.wxml +1 -1
- package/src/bld-icon-back/index.wxss +562 -562
- package/src/bld-loading/index.js +9 -9
- package/src/bld-loading/index.json +6 -6
- package/src/bld-loading/index.scss +25 -25
- package/src/bld-loading/index.wxml +8 -8
- package/src/bld-message/index.js +90 -90
- package/src/bld-message/index.json +3 -3
- package/src/bld-message/index.scss +66 -66
- package/src/bld-message/index.wxml +8 -8
- package/src/bld-message/message.js +61 -61
- package/src/bld-modal/index.js +122 -122
- package/src/bld-modal/index.json +6 -6
- package/src/bld-modal/index.scss +107 -107
- package/src/bld-modal/index.wxml +22 -22
- package/src/bld-modal/modal.js +37 -37
- package/src/bld-nav-bar/index.js +131 -131
- package/src/bld-nav-bar/index.json +6 -6
- package/src/bld-nav-bar/index.scss +55 -55
- package/src/bld-nav-bar/index.wxml +43 -43
- package/src/bld-nav-bar/index.wxss +51 -51
- package/src/bld-nav-bar1/index.js +90 -90
- package/src/bld-nav-bar1/index.json +5 -5
- package/src/bld-nav-bar1/index.scss +39 -39
- package/src/bld-nav-bar1/index.wxml +24 -24
- package/src/bld-navbar/index.js +62 -62
- package/src/bld-navbar/index.json +5 -5
- package/src/bld-navbar/index.scss +34 -34
- package/src/bld-navbar/index.wxml +7 -7
- package/src/bld-navbar-group/index.js +139 -139
- package/src/bld-navbar-group/index.json +3 -3
- package/src/bld-navbar-group/index.scss +32 -32
- package/src/bld-navbar-group/index.wxml +36 -36
- package/src/bld-notice-bar/index.js +69 -69
- package/src/bld-notice-bar/index.json +3 -3
- package/src/bld-notice-bar/index.scss +58 -58
- package/src/bld-notice-bar/index.wxml +29 -29
- package/src/bld-overlay/index.js +17 -17
- package/src/bld-overlay/index.json +3 -3
- package/src/bld-overlay/index.scss +11 -11
- package/src/bld-overlay/index.wxml +11 -11
- package/src/bld-page/index.js +86 -86
- package/src/bld-page/index.json +7 -7
- package/src/bld-page/index.scss +16 -16
- package/src/bld-page/index.wxml +30 -30
- package/src/bld-pop-up/index.js +29 -29
- package/src/bld-pop-up/index.json +6 -6
- package/src/bld-pop-up/index.scss +27 -27
- package/src/bld-pop-up/index.wxml +18 -18
- package/src/bld-progress/index.js +49 -49
- package/src/bld-progress/index.json +3 -3
- package/src/bld-progress/index.scss +73 -73
- package/src/bld-progress/index.wxml +34 -34
- package/src/bld-radio/index.js +64 -64
- package/src/bld-radio/index.json +3 -3
- package/src/bld-radio/index.scss +67 -67
- package/src/bld-radio/index.wxml +23 -23
- package/src/bld-radio-group/index.js +82 -82
- package/src/bld-radio-group/index.json +3 -3
- package/src/bld-retry/index.js +23 -23
- package/src/bld-retry/index.json +2 -2
- package/src/bld-retry/index.scss +26 -26
- package/src/bld-retry/index.wxml +5 -5
- package/src/bld-scroll-view/index.js +28 -28
- package/src/bld-scroll-view/index.json +7 -7
- package/src/bld-scroll-view/index.scss +7 -7
- package/src/bld-scroll-view/index.wxml +42 -42
- package/src/bld-tabs/index.js +21 -21
- package/src/bld-tabs/index.json +4 -4
- package/src/bld-tabs/index.scss +32 -32
- package/src/bld-tabs/index.wxml +13 -13
- package/src/bld-tabs/index.wxss +29 -29
- package/src/bld-tag/index.js +33 -33
- package/src/bld-tag/index.json +3 -3
- package/src/bld-tag/index.scss +126 -126
- package/src/bld-tag/index.wxml +2 -2
- package/src/bld-text/index.js +46 -46
- package/src/bld-text/index.json +2 -2
- package/src/bld-text/index.scss +30 -30
- package/src/bld-text/index.wxml +3 -3
- package/src/bld-toast/index.js +113 -113
- package/src/bld-toast/index.json +5 -5
- package/src/bld-toast/index.scss +111 -111
- package/src/bld-toast/index.wxml +26 -26
- package/src/bld-toast/toast.js +34 -34
- package/src/bld-wrapper/index.js +75 -75
- package/src/bld-wrapper/index.json +4 -4
- package/src/bld-wrapper/index.scss +7 -7
- package/src/bld-wrapper/index.wxml +6 -6
- package/src/button/index.js +91 -91
- package/src/button/index.json +3 -3
- package/src/button/index.scss +206 -206
- package/src/button/index.wxml +41 -41
- package/src/components-npm/mp-weixin/index.js +7 -7
- package/src/grid/index.js +67 -67
- package/src/grid/index.json +3 -3
- package/src/grid/index.scss +20 -20
- package/src/grid/index.wxml +2 -2
- package/src/grid-item/index.js +72 -72
- package/src/grid-item/index.json +5 -5
- package/src/grid-item/index.scss +58 -58
- package/src/grid-item/index.wxml +45 -45
- package/src/timeline/index.js +49 -49
- package/src/timeline/index.json +2 -2
- package/src/timeline/index.wxml +1 -1
- package/src/timeline-item/index.js +27 -27
- package/src/timeline-item/index.json +5 -5
- package/src/timeline-item/index.scss +36 -36
- package/src/timeline-item/index.wxml +9 -9
- package/src/utils/systemInfo.js +52 -52
- package/tsconfig.json +25 -25
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
<view class="m-progress__wrap">
|
|
2
|
-
<view
|
|
3
|
-
class="m-progress iclass"
|
|
4
|
-
style="height: {{ barHeight }}rpx;"
|
|
5
|
-
>
|
|
6
|
-
<view
|
|
7
|
-
class="m-progress__portion {{ type ? 'm-progress__portion--' + type : '' }}"
|
|
8
|
-
style="width: {{ percent }}%; {{ activeColor ? 'background-color: ' + activeColor : '' }}"
|
|
9
|
-
>
|
|
10
|
-
<view
|
|
11
|
-
wx:if="{{ pointVisible && porgress.text(pointText, percent)}}"
|
|
12
|
-
style="color: {{ textColor }}; background: {{ pointColor ? pointColor : activeColor }}"
|
|
13
|
-
class="m-progress__point {{ type ? 'm-progress__point--' + type : '' }}"
|
|
14
|
-
>
|
|
15
|
-
{{ porgress.text(pointText, percent) }}
|
|
16
|
-
</view>
|
|
17
|
-
<view
|
|
18
|
-
class="m-progress__point m-progress__slot"
|
|
19
|
-
>
|
|
20
|
-
<slot></slot>
|
|
21
|
-
</view>
|
|
22
|
-
</view>
|
|
23
|
-
</view>
|
|
24
|
-
</view>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<wxs module="porgress">
|
|
28
|
-
function text(pointText, percent) {
|
|
29
|
-
return pointText || percent + '%';
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
module.exports = {
|
|
33
|
-
text: text
|
|
34
|
-
}
|
|
1
|
+
<view class="m-progress__wrap">
|
|
2
|
+
<view
|
|
3
|
+
class="m-progress iclass"
|
|
4
|
+
style="height: {{ barHeight }}rpx;"
|
|
5
|
+
>
|
|
6
|
+
<view
|
|
7
|
+
class="m-progress__portion {{ type ? 'm-progress__portion--' + type : '' }}"
|
|
8
|
+
style="width: {{ percent }}%; {{ activeColor ? 'background-color: ' + activeColor : '' }}"
|
|
9
|
+
>
|
|
10
|
+
<view
|
|
11
|
+
wx:if="{{ pointVisible && porgress.text(pointText, percent)}}"
|
|
12
|
+
style="color: {{ textColor }}; background: {{ pointColor ? pointColor : activeColor }}"
|
|
13
|
+
class="m-progress__point {{ type ? 'm-progress__point--' + type : '' }}"
|
|
14
|
+
>
|
|
15
|
+
{{ porgress.text(pointText, percent) }}
|
|
16
|
+
</view>
|
|
17
|
+
<view
|
|
18
|
+
class="m-progress__point m-progress__slot"
|
|
19
|
+
>
|
|
20
|
+
<slot></slot>
|
|
21
|
+
</view>
|
|
22
|
+
</view>
|
|
23
|
+
</view>
|
|
24
|
+
</view>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
<wxs module="porgress">
|
|
28
|
+
function text(pointText, percent) {
|
|
29
|
+
return pointText || percent + '%';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
module.exports = {
|
|
33
|
+
text: text
|
|
34
|
+
}
|
|
35
35
|
</wxs>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","disabled","Boolean","checkedColor","String","labelLeft","shape","methods","emitChange","instance","triggerEvent","onChange","event","data","onClickLabel","labelDisabled"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,gCAA4B;AAC1BC,YAAM,UADoB;AAE1BC,YAF0B,kBAEnBC,MAFmB,EAEX;AACb,aAAKC,MAAL,GAAcD,MAAd;AACD,OAJyB;AAK1BE,cAL0B,sBAKf;AACT,aAAKD,MAAL,GAAc,IAAd;AACD;AAPyB;AADnB,GAPH;;AAmBRE,cAAY;AACVC,UAAM;AACJN,YAAM;AADF,KADI;AAIVO,WAAO;AACLP,YAAM;AADD,KAJG;AAOVQ,cAAU;AACRR,YAAMS,OADE;AAERF,aAAO;AAFC,KAPA;AAWVG,kBAAc;AACZV,YAAMW,MADM;AAEZJ,aAAO;AAFK,KAXJ;AAeVK,eAAW;AACTZ,YAAMS,OADG;AAETF,aAAO;AAFE,KAfD;AAmBVM,WAAO;AACLb,YAAMW,MADD;AAELJ,aAAO;AAFF;AAnBG,GAnBJ;;AA4CRO,WAAS;AACPC,cADO,sBACIR,KADJ,EACW;AAChB,UAAMS,WAAW,KAAKb,MAAL,IAAe,IAAhC;;AAEAa,eAASC,YAAT,CAAsB,OAAtB,EAA+BV,KAA/B;AACAS,eAASC,YAAT,CAAsB,QAAtB,EAAgCV,KAAhC;AACD,KANM;AAQPW,YARO,oBAQEC,KARF,EAQS;AACd,WAAKJ,UAAL,CAAgB,KAAKK,IAAL,CAAUd,IAA1B;AACD,KAVM;AAYPe,gBAZO,0BAYQ;AAAA,kBAC6B,KAAKD,IADlC;AAAA,UACLZ,QADK,SACLA,QADK;AAAA,UACKc,aADL,SACKA,aADL;AAAA,UACoBhB,IADpB,SACoBA,IADpB;;AAEb,UAAI,CAACE,QAAD,IAAa,CAACc,aAAlB,EAAiC;AAC/B,aAAKP,UAAL,CAAgBT,IAAhB;AACD;AACF;AAjBM;AA5CD,CAAV,E","file":"bld-radio
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","disabled","Boolean","checkedColor","String","labelLeft","shape","methods","emitChange","instance","triggerEvent","onChange","event","data","onClickLabel","labelDisabled"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,gCAA4B;AAC1BC,YAAM,UADoB;AAE1BC,YAF0B,kBAEnBC,MAFmB,EAEX;AACb,aAAKC,MAAL,GAAcD,MAAd;AACD,OAJyB;AAK1BE,cAL0B,sBAKf;AACT,aAAKD,MAAL,GAAc,IAAd;AACD;AAPyB;AADnB,GAPH;;AAmBRE,cAAY;AACVC,UAAM;AACJN,YAAM;AADF,KADI;AAIVO,WAAO;AACLP,YAAM;AADD,KAJG;AAOVQ,cAAU;AACRR,YAAMS,OADE;AAERF,aAAO;AAFC,KAPA;AAWVG,kBAAc;AACZV,YAAMW,MADM;AAEZJ,aAAO;AAFK,KAXJ;AAeVK,eAAW;AACTZ,YAAMS,OADG;AAETF,aAAO;AAFE,KAfD;AAmBVM,WAAO;AACLb,YAAMW,MADD;AAELJ,aAAO;AAFF;AAnBG,GAnBJ;;AA4CRO,WAAS;AACPC,cADO,sBACIR,KADJ,EACW;AAChB,UAAMS,WAAW,KAAKb,MAAL,IAAe,IAAhC;;AAEAa,eAASC,YAAT,CAAsB,OAAtB,EAA+BV,KAA/B;AACAS,eAASC,YAAT,CAAsB,QAAtB,EAAgCV,KAAhC;AACD,KANM;AAQPW,YARO,oBAQEC,KARF,EAQS;AACd,WAAKJ,UAAL,CAAgB,KAAKK,IAAL,CAAUd,IAA1B;AACD,KAVM;AAYPe,gBAZO,0BAYQ;AAAA,kBAC6B,KAAKD,IADlC;AAAA,UACLZ,QADK,SACLA,QADK;AAAA,UACKc,aADL,SACKA,aADL;AAAA,UACoBhB,IADpB,SACoBA,IADpB;;AAEb,UAAI,CAACE,QAAD,IAAa,CAACc,aAAlB,EAAiC;AAC/B,aAAKP,UAAL,CAAgBT,IAAhB;AACD;AACF;AAjBM;AA5CD,CAAV,E","file":"bld-radio\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 49);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-radio-group/index': {\r\n type: 'ancestor',\r\n linked(target) {\r\n this.parent = target;\r\n },\r\n unlinked() {\r\n this.parent = null;\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n name: {\r\n type: null\r\n },\r\n value: {\r\n type: null\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n shape: {\r\n type: String,\r\n value: 'round'\r\n }\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n const instance = this.parent || this;\r\n \r\n instance.triggerEvent('input', value);\r\n instance.triggerEvent('change', value);\r\n },\r\n\r\n onChange(event) {\r\n this.emitChange(this.data.name);\r\n },\r\n\r\n onClickLabel() {\r\n const { disabled, labelDisabled, name } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(name);\r\n }\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<view class="m-radio {{ disabled ? 'm-radio--disabled' : '' }} iclass">
|
|
2
|
-
<view
|
|
3
|
-
wx:if="{{ labelLeft }}"
|
|
4
|
-
class="m-radio__label m-radio__label--left"
|
|
5
|
-
bindtap="onClickLabel"
|
|
6
|
-
>
|
|
7
|
-
<slot />
|
|
8
|
-
</view>
|
|
9
|
-
|
|
10
|
-
<view class="m-radio__icon-wrap" bindtap="onChange">
|
|
11
|
-
<view
|
|
12
|
-
class="m-radio__icon {{ disabled ? 'm-radio__icon--disabled' : '' }} {{ value === name ? 'm-radio__icon--checked' :'' }}"
|
|
13
|
-
style="{{ checkedColor ? 'color: ' + checkedColor : '' }}"
|
|
14
|
-
></view>
|
|
15
|
-
</view>
|
|
16
|
-
|
|
17
|
-
<view
|
|
18
|
-
wx:if="{{ !labelLeft }}"
|
|
19
|
-
class="m-radio__label m-radio__label--right"
|
|
20
|
-
bindtap="onClickLabel"
|
|
21
|
-
>
|
|
22
|
-
<slot />
|
|
23
|
-
</view>
|
|
1
|
+
<view class="m-radio {{ disabled ? 'm-radio--disabled' : '' }} iclass">
|
|
2
|
+
<view
|
|
3
|
+
wx:if="{{ labelLeft }}"
|
|
4
|
+
class="m-radio__label m-radio__label--left"
|
|
5
|
+
bindtap="onClickLabel"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</view>
|
|
9
|
+
|
|
10
|
+
<view class="m-radio__icon-wrap" bindtap="onChange">
|
|
11
|
+
<view
|
|
12
|
+
class="m-radio__icon {{ disabled ? 'm-radio__icon--disabled' : '' }} {{ value === name ? 'm-radio__icon--checked' :'' }}"
|
|
13
|
+
style="{{ checkedColor ? 'color: ' + checkedColor : '' }}"
|
|
14
|
+
></view>
|
|
15
|
+
</view>
|
|
16
|
+
|
|
17
|
+
<view
|
|
18
|
+
wx:if="{{ !labelLeft }}"
|
|
19
|
+
class="m-radio__label m-radio__label--right"
|
|
20
|
+
bindtap="onClickLabel"
|
|
21
|
+
>
|
|
22
|
+
<slot />
|
|
23
|
+
</view>
|
|
24
24
|
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio-group/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","_updateChildren","linkChanged","unlinked","properties","value","observer","disabled","Boolean","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,0BAAsB;AACpBC,YAAM,YADc;;AAGpBC,YAHoB,kBAGbC,MAHa,EAGL;AACb,aAAKC,eAAL;AACD,OALmB;AAOpBC,iBAPoB,yBAON;AACZ,aAAKD,eAAL;AACD,OATmB;AAWpBE,cAXoB,oBAWXH,MAXW,EAWH;AACf,aAAKC,eAAL;AACD;AAbmB;AADb,GAPH;;AAyBRG,cAAY;AACVC,WAAO;AACLP,YAAM,IADD;AAELQ,gBAAU;AAFL,KADG;AAKVC,cAAU;AACRT,YAAMU,OADE;AAERF,gBAAU;AAFF,KALA;AASVG,kBAAc;AACZX,YAAMY,MADM;AAEZL,aAAO;AAFK,KATJ;AAaVM,eAAW;AACTb,YAAMU,OADG;AAETH,aAAO;AAFE;AAbD,GAzBJ;;AA4CRO,WAAS;AACPX,mBADO,6BACW;AAAA;;AAChB;AACA,UAAI,KAAKY,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,WAAW,MAAKC,gBAAL,CAAsB,oBAAtB,CAAf;;AAEA,YAAMC,MAAMF,SAASG,MAArB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACXF,mBAASI,OAAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAXY,EAWV,EAXU,CAAb;AAYD,KApBM;AAsBPE,gBAtBO,wBAsBMF,KAtBN,EAsBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBJ,QALgB,SAKhBA,QALgB;;;AAQlBc,YAAMI,OAAN,CAAc;AACZhB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAD7B;AAEZJ,oBAFY;AAGZM,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZJ,kBAAUA,YAAYc,MAAMG,IAAN,CAAWjB;AAJrB,OAAd;AAMD;AApCM;AA5CD,CAAV,E","file":"bld-radio-group
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio-group/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","_updateChildren","linkChanged","unlinked","properties","value","observer","disabled","Boolean","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,0BAAsB;AACpBC,YAAM,YADc;;AAGpBC,YAHoB,kBAGbC,MAHa,EAGL;AACb,aAAKC,eAAL;AACD,OALmB;AAOpBC,iBAPoB,yBAON;AACZ,aAAKD,eAAL;AACD,OATmB;AAWpBE,cAXoB,oBAWXH,MAXW,EAWH;AACf,aAAKC,eAAL;AACD;AAbmB;AADb,GAPH;;AAyBRG,cAAY;AACVC,WAAO;AACLP,YAAM,IADD;AAELQ,gBAAU;AAFL,KADG;AAKVC,cAAU;AACRT,YAAMU,OADE;AAERF,gBAAU;AAFF,KALA;AASVG,kBAAc;AACZX,YAAMY,MADM;AAEZL,aAAO;AAFK,KATJ;AAaVM,eAAW;AACTb,YAAMU,OADG;AAETH,aAAO;AAFE;AAbD,GAzBJ;;AA4CRO,WAAS;AACPX,mBADO,6BACW;AAAA;;AAChB;AACA,UAAI,KAAKY,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,WAAW,MAAKC,gBAAL,CAAsB,oBAAtB,CAAf;;AAEA,YAAMC,MAAMF,SAASG,MAArB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACXF,mBAASI,OAAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAXY,EAWV,EAXU,CAAb;AAYD,KApBM;AAsBPE,gBAtBO,wBAsBMF,KAtBN,EAsBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBJ,QALgB,SAKhBA,QALgB;;;AAQlBc,YAAMI,OAAN,CAAc;AACZhB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAD7B;AAEZJ,oBAFY;AAGZM,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZJ,kBAAUA,YAAYc,MAAMG,IAAN,CAAWjB;AAJrB,OAAd;AAMD;AApCM;AA5CD,CAAV,E","file":"bld-radio-group\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 50);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n \r\n relations: {\r\n '../bld-radio/index': {\r\n type: 'descendant',\r\n\r\n linked(target) {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateChildren()\r\n },\r\n\r\n unlinked(target) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n value: {\r\n type: null,\r\n observer: '_updateChildren'\r\n },\r\n disabled: {\r\n type: Boolean,\r\n observer: '_updateChildren'\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\r\n // 防抖减少重复触发\r\n if (this.timer) {\r\n clearTimeout(this.timer)\r\n this.timer = null\r\n }\r\n\r\n this.timer = setTimeout(() => {\r\n\r\n let children = this.getRelationNodes('../bld-radio/index')\r\n\r\n const len = children.length\r\n\r\n if (len > 0) {\r\n children.forEach((child, index) => {\r\n this._updateChild(child)\r\n })\r\n }\r\n }, 60)\r\n },\r\n\r\n _updateChild(child) {\r\n const {\r\n checkedColor,\r\n value,\r\n labelLeft,\r\n disabled\r\n } = this.data\r\n\r\n child.setData({\r\n checkedColor: child.data.checkedColor || checkedColor,\r\n value,\r\n labelLeft: child.data.labelLeft || labelLeft,\r\n disabled: disabled || child.data.disabled\r\n });\r\n }\r\n }\r\n})"],"sourceRoot":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-retry/index.js"],"names":["Component","externalClasses","properties","title","type","String","value","description","actionText","methods","retry","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,iBAAa;AACXH,YAAMC,MADK;AAEXC,aAAO;AAFI,KALH;AASVE,gBAAY;AACVJ,YAAMC,MADI;AAEVC,aAAO;AAFG;AATF,GAFJ;;AAiBRG,WAAS;AACPC,SADO,mBACC;AACN,WAAKC,YAAL,CAAkB,UAAlB;AACD;AAHM;AAjBD,CAAV,E","file":"bld-retry
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-retry/index.js"],"names":["Component","externalClasses","properties","title","type","String","value","description","actionText","methods","retry","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,iBAAa;AACXH,YAAMC,MADK;AAEXC,aAAO;AAFI,KALH;AASVE,gBAAY;AACVJ,YAAMC,MADI;AAEVC,aAAO;AAFG;AATF,GAFJ;;AAiBRG,WAAS;AACPC,SADO,mBACC;AACN,WAAKC,YAAL,CAAkB,UAAlB;AACD;AAHM;AAjBD,CAAV,E","file":"bld-retry\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 26);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n title: {\r\n type: String,\r\n value: \"加载失败\",\r\n },\r\n description: {\r\n type: String,\r\n value: \"发生了一些错误\",\r\n },\r\n actionText: {\r\n type: String,\r\n value: \"点击重试\",\r\n },\r\n },\r\n\r\n methods: {\r\n retry() {\r\n this.triggerEvent(\"on-retry\");\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true
|
|
1
|
+
{
|
|
2
|
+
"component": true
|
|
3
3
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<view class="iclass retry" bind:tap="retry">
|
|
2
|
-
<view class="title">{{ title }}</view>
|
|
3
|
-
<view class="description">{{ description }}</view>
|
|
4
|
-
<view class="action">{{actionText}}</view>
|
|
5
|
-
</view>
|
|
1
|
+
<view class="iclass retry" bind:tap="retry">
|
|
2
|
+
<view class="title">{{ title }}</view>
|
|
3
|
+
<view class="description">{{ description }}</view>
|
|
4
|
+
<view class="action">{{actionText}}</view>
|
|
5
|
+
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-scroll-view/index.js"],"names":["Component","externalClasses","properties","type","String","value","mode","scrollTop","Number","methods","scroll","e","triggerEvent","detail","scrollEnd","scrollToLower"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,eAAW;AACTJ,YAAMK,MADG;AAETH,aAAO;AAFE;AATD,GAFJ;AAgBRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACD,KAHM;AAIPC,aAJO,qBAIGH,CAJH,EAIM;AACX,WAAKC,YAAL,CAAkB,WAAlB,eAAoCD,EAAEE,MAAtC;AACD,KANM;AAOPE,iBAPO,yBAOOJ,CAPP,EAOU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD;AATM;AAhBD,CAAV,E","file":"bld-scroll-view
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-scroll-view/index.js"],"names":["Component","externalClasses","properties","type","String","value","mode","scrollTop","Number","methods","scroll","e","triggerEvent","detail","scrollEnd","scrollToLower"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,eAAW;AACTJ,YAAMK,MADG;AAETH,aAAO;AAFE;AATD,GAFJ;AAgBRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACD,KAHM;AAIPC,aAJO,qBAIGH,CAJH,EAIM;AACX,WAAKC,YAAL,CAAkB,WAAlB,eAAoCD,EAAEE,MAAtC;AACD,KANM;AAOPE,iBAPO,yBAOOJ,CAPP,EAOU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD;AATM;AAhBD,CAAV,E","file":"bld-scroll-view\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 27);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n type: {\r\n type: String,\r\n value: \"list\",\r\n },\r\n mode: {\r\n type: String,\r\n value: \"nav-to-bottom\",\r\n },\r\n scrollTop: {\r\n type: Number,\r\n value: 0,\r\n },\r\n },\r\n methods: {\r\n scroll(e) {\r\n this.triggerEvent(\"scroll\", { ...e.detail });\r\n },\r\n scrollEnd(e) {\r\n this.triggerEvent(\"scrollEnd\", { ...e.detail });\r\n },\r\n scrollToLower(e) {\r\n this.triggerEvent(\"scrollToLower\", { ...e.detail });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"styleIsolation": "apply-shared",
|
|
4
|
-
"usingComponents": {
|
|
5
|
-
"bld-wrapper": "../bld-wrapper/index"
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"styleIsolation": "apply-shared",
|
|
4
|
+
"usingComponents": {
|
|
5
|
+
"bld-wrapper": "../bld-wrapper/index"
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<template
|
|
2
|
-
is="{{ type }}"
|
|
3
|
-
data="{{ mode, scrollTop }}"
|
|
4
|
-
/>
|
|
5
|
-
|
|
6
|
-
<template name="list">
|
|
7
|
-
<bld-wrapper mode="{{ mode }}">
|
|
8
|
-
<scroll-view
|
|
9
|
-
enable-passive="{{ true }}"
|
|
10
|
-
show-scrollbar="{{ false }}"
|
|
11
|
-
type="list"
|
|
12
|
-
class="iclass container"
|
|
13
|
-
scroll-y
|
|
14
|
-
scroll-top="{{ scrollTop }}"
|
|
15
|
-
bind:scroll="scroll"
|
|
16
|
-
bind:scrollend="scrollEnd"
|
|
17
|
-
bind:scrolltolower="scrollToLower"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
<view style="height: 100rpx;" />
|
|
21
|
-
</scroll-view>
|
|
22
|
-
</bld-wrapper>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<template name="custom">
|
|
26
|
-
<bld-wrapper mode="{{ mode }}">
|
|
27
|
-
<scroll-view
|
|
28
|
-
enable-passive="{{ true }}"
|
|
29
|
-
show-scrollbar="{{ false }}"
|
|
30
|
-
type="custom"
|
|
31
|
-
class="iclass container"
|
|
32
|
-
scroll-y
|
|
33
|
-
scroll-top="{{ scrollTop }}"
|
|
34
|
-
bind:scroll="scroll"
|
|
35
|
-
bind:scrollend="scrollEnd"
|
|
36
|
-
bind:scrolltolower="scrollToLower"
|
|
37
|
-
>
|
|
38
|
-
<slot />
|
|
39
|
-
<view style="height: 100rpx;" />
|
|
40
|
-
</scroll-view>
|
|
41
|
-
</bld-wrapper>
|
|
42
|
-
</template>
|
|
1
|
+
<template
|
|
2
|
+
is="{{ type }}"
|
|
3
|
+
data="{{ mode, scrollTop }}"
|
|
4
|
+
/>
|
|
5
|
+
|
|
6
|
+
<template name="list">
|
|
7
|
+
<bld-wrapper mode="{{ mode }}">
|
|
8
|
+
<scroll-view
|
|
9
|
+
enable-passive="{{ true }}"
|
|
10
|
+
show-scrollbar="{{ false }}"
|
|
11
|
+
type="list"
|
|
12
|
+
class="iclass container"
|
|
13
|
+
scroll-y
|
|
14
|
+
scroll-top="{{ scrollTop }}"
|
|
15
|
+
bind:scroll="scroll"
|
|
16
|
+
bind:scrollend="scrollEnd"
|
|
17
|
+
bind:scrolltolower="scrollToLower"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
<view style="height: 100rpx;" />
|
|
21
|
+
</scroll-view>
|
|
22
|
+
</bld-wrapper>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<template name="custom">
|
|
26
|
+
<bld-wrapper mode="{{ mode }}">
|
|
27
|
+
<scroll-view
|
|
28
|
+
enable-passive="{{ true }}"
|
|
29
|
+
show-scrollbar="{{ false }}"
|
|
30
|
+
type="custom"
|
|
31
|
+
class="iclass container"
|
|
32
|
+
scroll-y
|
|
33
|
+
scroll-top="{{ scrollTop }}"
|
|
34
|
+
bind:scroll="scroll"
|
|
35
|
+
bind:scrollend="scrollEnd"
|
|
36
|
+
bind:scrolltolower="scrollToLower"
|
|
37
|
+
>
|
|
38
|
+
<slot />
|
|
39
|
+
<view style="height: 100rpx;" />
|
|
40
|
+
</scroll-view>
|
|
41
|
+
</bld-wrapper>
|
|
42
|
+
</template>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tabs/index.js"],"names":["Component","externalClasses","properties","tabs","type","Array","value","activeIndex","Number","data","observers","methods","handlehangeTab","e","current","currentTarget","dataset","tab","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,KADF;AAEJC,aAAO;AAFH,KADI;AAKVC,iBAAa;AACXH,YAAMI,MADK;AAEXF,aAAO;AAFI;AALH,GAFJ;AAYRG,QAAM,EAZE;AAaRC,aAAW,EAbH;AAcRC,WAAS;AACPC,kBADO,0BACQC,CADR,EACW;AAChB,UAAMC,UAAUD,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBC,GAAxC;AACA,WAAKC,YAAL,CAAkB,WAAlB,EAA+BJ,OAA/B;AACD;AAJM;AAdD,CAAV,E","file":"bld-tabs
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tabs/index.js"],"names":["Component","externalClasses","properties","tabs","type","Array","value","activeIndex","Number","data","observers","methods","handlehangeTab","e","current","currentTarget","dataset","tab","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,EAAW,WAAX,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,KADF;AAEJC,aAAO;AAFH,KADI;AAKVC,iBAAa;AACXH,YAAMI,MADK;AAEXF,aAAO;AAFI;AALH,GAFJ;AAYRG,QAAM,EAZE;AAaRC,aAAW,EAbH;AAcRC,WAAS;AACPC,kBADO,0BACQC,CADR,EACW;AAChB,UAAMC,UAAUD,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBC,GAAxC;AACA,WAAKC,YAAL,CAAkB,WAAlB,EAA+BJ,OAA/B;AACD;AAJM;AAdD,CAAV,E","file":"bld-tabs\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 53);\n","Component({\r\n externalClasses: [\"iclass\", \"tab-class\"],\r\n properties: {\r\n tabs: {\r\n type: Array,\r\n value: [],\r\n },\r\n activeIndex: {\r\n type: Number,\r\n value: 0,\r\n },\r\n },\r\n data: {},\r\n observers: {},\r\n methods: {\r\n handlehangeTab(e) {\r\n const current = e.currentTarget.dataset.tab;\r\n this.triggerEvent(\"changeTab\", current);\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
}
|
|
5
5
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<view class="tabs iclass" wx:if="{{ tabs.length }}">
|
|
2
|
-
<view
|
|
3
|
-
wx:for="{{ tabs }}"
|
|
4
|
-
class="tab {{ activeIndex === index ? 'active' : '' }}"
|
|
5
|
-
data-tab="{{ index }}"
|
|
6
|
-
bind:tap="handlehangeTab"
|
|
7
|
-
>
|
|
8
|
-
{{ item }}
|
|
9
|
-
<view
|
|
10
|
-
class="active"
|
|
11
|
-
wx:if="{{ activeIndex === index }}"
|
|
12
|
-
/>
|
|
13
|
-
</view>
|
|
1
|
+
<view class="tabs iclass" wx:if="{{ tabs.length }}">
|
|
2
|
+
<view
|
|
3
|
+
wx:for="{{ tabs }}"
|
|
4
|
+
class="tab tab-class {{ activeIndex === index ? 'active' : '' }}"
|
|
5
|
+
data-tab="{{ index }}"
|
|
6
|
+
bind:tap="handlehangeTab"
|
|
7
|
+
>
|
|
8
|
+
{{ item }}
|
|
9
|
+
<view
|
|
10
|
+
class="active"
|
|
11
|
+
wx:if="{{ activeIndex === index }}"
|
|
12
|
+
/>
|
|
13
|
+
</view>
|
|
14
14
|
</view>
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.tabs {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: flex-start;
|
|
4
|
-
background: #fff;
|
|
5
|
-
padding: 0 24rpx;
|
|
6
|
-
}
|
|
7
|
-
.tabs .tab {
|
|
8
|
-
position: relative;
|
|
9
|
-
padding: 24rpx 24rpx 20rpx;
|
|
10
|
-
border-bottom: 4rpx solid #fff;
|
|
11
|
-
font-size: 30rpx;
|
|
12
|
-
font-family: PingFangSC, PingFang SC;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
color: #999;
|
|
15
|
-
}
|
|
16
|
-
.tabs .tab.active {
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
font-size: 30rpx;
|
|
19
|
-
color: #333;
|
|
20
|
-
}
|
|
21
|
-
.tabs .tab .active {
|
|
22
|
-
width: 52rpx;
|
|
23
|
-
height: 8rpx;
|
|
24
|
-
border-radius: 4rpx;
|
|
25
|
-
background: #ff0007;
|
|
26
|
-
position: absolute;
|
|
27
|
-
bottom: 0;
|
|
28
|
-
left: 50%;
|
|
29
|
-
transform: translate(-50%);
|
|
1
|
+
.tabs {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: flex-start;
|
|
4
|
+
background: #fff;
|
|
5
|
+
padding: 0 24rpx;
|
|
6
|
+
}
|
|
7
|
+
.tabs .tab {
|
|
8
|
+
position: relative;
|
|
9
|
+
padding: 24rpx 24rpx 20rpx;
|
|
10
|
+
border-bottom: 4rpx solid #fff;
|
|
11
|
+
font-size: 30rpx;
|
|
12
|
+
font-family: PingFangSC, PingFang SC;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
color: #999;
|
|
15
|
+
}
|
|
16
|
+
.tabs .tab.active {
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
font-size: 30rpx;
|
|
19
|
+
color: #333;
|
|
20
|
+
}
|
|
21
|
+
.tabs .tab .active {
|
|
22
|
+
width: 52rpx;
|
|
23
|
+
height: 8rpx;
|
|
24
|
+
border-radius: 4rpx;
|
|
25
|
+
background: #ff0007;
|
|
26
|
+
position: absolute;
|
|
27
|
+
bottom: 0;
|
|
28
|
+
left: 50%;
|
|
29
|
+
transform: translate(-50%);
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tag/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","capsule","type","Boolean","value","size","String","plain","color","round"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACV;AACAC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KAFC;AAMVC,UAAM;AACJH,YAAMI,MADF;AAEJF,aAAO;AAFH,KANI;AAUVF,UAAM;AACJA,YAAMI,MADF;AAEJF,aAAO;AAFH,KAVI;AAcVG,WAAO;AACLL,YAAMC,OADD;AAELC,aAAO;AAFF,KAdG;AAkBVI,WAAO;AACLN,YAAMI;AADD,KAlBG;AAqBVG,WAAO;AACLP,YAAMC,OADD;AAELC,aAAO;AAFF;AArBG;AAPJ,CAAV,E","file":"bld-tag
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tag/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","capsule","type","Boolean","value","size","String","plain","color","round"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACV;AACAC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KAFC;AAMVC,UAAM;AACJH,YAAMI,MADF;AAEJF,aAAO;AAFH,KANI;AAUVF,UAAM;AACJA,YAAMI,MADF;AAEJF,aAAO;AAFH,KAVI;AAcVG,WAAO;AACLL,YAAMC,OADD;AAELC,aAAO;AAFF,KAdG;AAkBVI,WAAO;AACLN,YAAMI;AADD,KAlBG;AAqBVG,WAAO;AACLP,YAAMC,OADD;AAELC,aAAO;AAFF;AArBG;AAPJ,CAAV,E","file":"bld-tag\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 43);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n // 胶囊样式\r\n capsule: {\r\n type: Boolean,\r\n value: false\r\n },\r\n size: {\r\n type: String,\r\n value: 'small'\r\n },\r\n type: {\r\n type: String,\r\n value: ''\r\n },\r\n plain: {\r\n type: Boolean,\r\n value: false\r\n },\r\n color: {\r\n type: String\r\n },\r\n round: {\r\n type: Boolean,\r\n value: false\r\n }\r\n }\r\n});"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true
|
|
3
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<view class="m-tag custom-class {{ 'm-tag--' + size }} {{ round ? 'is-round' : '' }} {{ type ? 'm-tag--' + type : '' }} {{ plain ? 'is-plain' : '' }}" style="{{ plain ? 'color: ' + color : 'background-color: ' + color }}">
|
|
2
|
-
<slot />
|
|
1
|
+
<view class="m-tag custom-class {{ 'm-tag--' + size }} {{ round ? 'is-round' : '' }} {{ type ? 'm-tag--' + type : '' }} {{ plain ? 'is-plain' : '' }}" style="{{ plain ? 'color: ' + color : 'background-color: ' + color }}">
|
|
2
|
+
<slot />
|
|
3
3
|
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-text/index.js"],"names":["Component","externalClasses","properties","text","type","String","value","maxLines","Number","stripHtml","Boolean","stripInVisible","size","data","formattedText","observers","replace","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,cAAU;AACRH,YAAMI,MADE;AAERF,aAAO;AAFC,KALA;AASVG,eAAW;AACTL,YAAMM,OADG;AAETJ,aAAO;AAFE,KATD;AAaVK,oBAAgB;AACdP,YAAMM,OADQ;AAEdJ,aAAO;AAFO,KAbN;AAiBVM,UAAM;AACJR,YAAMC,MADF;AAEJC,aAAO;AAFH;AAjBI,GAFJ;AAwBRO,QAAM;AACJC,mBAAe;AADX,GAxBE;AA2BRC,aAAW;AACTZ,QADS,kBACF;AACL,UAAIW,gBAAgB,KAAKD,IAAL,CAAUV,IAA9B;AACA,UAAI,KAAKU,IAAL,CAAUJ,SAAd,EAAyB;AACvB;AACAK,wBAAgBA,cAAcE,OAAd,CAAsB,kBAAtB,EAA0C,EAA1C,CAAhB;AACD;;AAED,UAAI,KAAKH,IAAL,CAAUF,cAAd,EAA8B;AAC5B;AACAG,wBAAgBA,cAAcE,OAAd,CAAsB,+BAAtB,EAAuD,EAAvD,CAAhB;AACD;;AAED,WAAKC,OAAL,CAAa;AACXH;AADW,OAAb;AAGD;AAhBQ;AA3BH,CAAV,E","file":"bld-text
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-text/index.js"],"names":["Component","externalClasses","properties","text","type","String","value","maxLines","Number","stripHtml","Boolean","stripInVisible","size","data","formattedText","observers","replace","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,cAAU;AACRH,YAAMI,MADE;AAERF,aAAO;AAFC,KALA;AASVG,eAAW;AACTL,YAAMM,OADG;AAETJ,aAAO;AAFE,KATD;AAaVK,oBAAgB;AACdP,YAAMM,OADQ;AAEdJ,aAAO;AAFO,KAbN;AAiBVM,UAAM;AACJR,YAAMC,MADF;AAEJC,aAAO;AAFH;AAjBI,GAFJ;AAwBRO,QAAM;AACJC,mBAAe;AADX,GAxBE;AA2BRC,aAAW;AACTZ,QADS,kBACF;AACL,UAAIW,gBAAgB,KAAKD,IAAL,CAAUV,IAA9B;AACA,UAAI,KAAKU,IAAL,CAAUJ,SAAd,EAAyB;AACvB;AACAK,wBAAgBA,cAAcE,OAAd,CAAsB,kBAAtB,EAA0C,EAA1C,CAAhB;AACD;;AAED,UAAI,KAAKH,IAAL,CAAUF,cAAd,EAA8B;AAC5B;AACAG,wBAAgBA,cAAcE,OAAd,CAAsB,+BAAtB,EAAuD,EAAvD,CAAhB;AACD;;AAED,WAAKC,OAAL,CAAa;AACXH;AADW,OAAb;AAGD;AAhBQ;AA3BH,CAAV,E","file":"bld-text\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n text: {\r\n type: String,\r\n value: \"加载中...\",\r\n },\r\n maxLines: {\r\n type: Number,\r\n value: 3,\r\n },\r\n stripHtml: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n stripInVisible: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n size: {\r\n type: String,\r\n value: \"lg-r\",\r\n },\r\n },\r\n data: {\r\n formattedText: \"加载中...\",\r\n },\r\n observers: {\r\n text() {\r\n let formattedText = this.data.text;\r\n if (this.data.stripHtml) {\r\n // 替换 html 标签\r\n formattedText = formattedText.replace(/<[^>]*>| /gm, \"\");\r\n }\r\n\r\n if (this.data.stripInVisible) {\r\n // 替换不可见字符\r\n formattedText = formattedText.replace(/[\\u0000-\\u001F\\u007F-\\u009F]/g, \"\");\r\n }\r\n\r\n this.setData({\r\n formattedText,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true
|
|
1
|
+
{
|
|
2
|
+
"component": true
|
|
3
3
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<view class="content {{size}} iclass" style="-webkit-line-clamp: {{maxLines}}; line-clamp: {{maxLines}};">
|
|
2
|
-
<text max-lines="{{ maxLines }}" overflow="ellipsis">{{ formattedText }}</text>
|
|
3
|
-
</view>
|
|
1
|
+
<view class="content {{size}} iclass" style="-webkit-line-clamp: {{maxLines}}; line-clamp: {{maxLines}};">
|
|
2
|
+
<text max-lines="{{ maxLines }}" overflow="ellipsis">{{ formattedText }}</text>
|
|
3
|
+
</view>
|