@tuya-miniapp/smart-ui 2.12.1-beta-3 → 2.12.1-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.
@@ -1 +1 @@
1
- @import '../common/index.css';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
1
+ @import '../common/index.css';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-left:var(--dialog-header-padding-side,16px);padding-right:var(--dialog-header-padding-side,16px);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
@@ -1 +1 @@
1
- @import '../common/index.wxss';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
1
+ @import '../common/index.wxss';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-left:var(--dialog-header-padding-side,16px);padding-right:var(--dialog-header-padding-side,16px);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
@@ -19,7 +19,6 @@
19
19
  hover-stay-time="70"
20
20
  name="{{ leftArrowIcon }}"
21
21
  data-type="leftArrow"
22
- color="{{ leftIconColor }}"
23
22
  custom-class="smart-nav-bar__arrow"
24
23
  />
25
24
  <view
@@ -30,7 +29,13 @@
30
29
  class="smart-nav-bar__icon-wrap"
31
30
  catch:tap="onClickLeftIcon"
32
31
  >
33
- <smart-icon class="left-icon-class" custom-class="smart-nav-bar__icon" size="{{ leftIconSize }}" name="{{ leftIcon }}" color="{{ leftIconColor }}" />
32
+ <smart-icon
33
+ class="left-icon-class"
34
+ custom-class="smart-nav-bar__icon"
35
+ size="{{ leftIconSize }}"
36
+ name="{{ leftIcon }}"
37
+ color="{{ leftIconColor }}"
38
+ />
34
39
  </view>
35
40
  <view
36
41
  wx:if="{{ leftText }}"
@@ -1 +1 @@
1
- @import '../common/index.css';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
1
+ @import '../common/index.css';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-left:var(--dialog-header-padding-side,16px);padding-right:var(--dialog-header-padding-side,16px);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
@@ -1 +1 @@
1
- @import '../common/index.wxss';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
1
+ @import '../common/index.wxss';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-bottom-sheet-dragger-node-background:rgba(0,0,0,.3);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent);--smart-ui-battery-body-base-background:rgba(0,0,0,.25);--smart-ui-battery-text-color:rgba(0,0,0,.6);--smart-ui-battery-slash-border-color:#fff;--smart-ui-toast-background:#5c5c5c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 4px 12px rgba(0,0,0,.1),0 16px 32px rgba(0,0,0,.12);--smart-ui-overlay-blur-background:rgba(40,44,53,.22)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-bottom-sheet-dragger-node-background:hsla(0,0%,100%,.3);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0));--smart-ui-battery-body-base-background:hsla(0,0%,100%,.4);--smart-ui-battery-text-color:#fff;--smart-ui-battery-slash-border-color:#000;--smart-ui-toast-background:#3c3c3c;--smart-ui-toast-border:1px solid hsla(0,0%,100%,.05);--smart-ui-toast-box-shadow:0 8px 24px 0 rgba(0,0,0,.15);--smart-ui-overlay-blur-background:rgba(0,0,0,.6)}.smart-manrope{font-family:Manrope,sans-serif}:root{--smart-a11y-action-sheet-item-text-color:#000}:root[theme=dark]{--smart-a11y-action-sheet-item-text-color:#fff}.smart-dialog{--button-default-background-color:transparent;--goods-action-background-color:transparent;background-color:var(--dialog-background-color,var(--smart-ui-dialog-background,#fff));border-radius:var(--dialog-border-radius,16px);font-size:var(--dialog-font-size,16px);overflow:hidden;top:50%;width:var(--dialog-width,311px)}@media (max-width:321px){.smart-dialog{width:var(--dialog-small-screen-width,90%)}}.smart-dialog__header{color:var(--dialog-header-font-color,var(--app-B4-N1,#000));font-weight:var(--dialog-header-font-weight,400);line-height:var(--dialog-header-line-height,24px);padding:var(--dialog-header-padding,0);padding-left:var(--dialog-header-padding-side,16px);padding-right:var(--dialog-header-padding-side,16px);padding-top:var(--dialog-header-padding-top,24px);text-align:center}.smart-dialog__header-icon{border-radius:100%;display:block;font-size:var(--dialog-header-icon-size,39px);height:var(--dialog-header-icon-size,39px);margin:auto auto 12px;width:var(--dialog-header-icon-size,39px)}.smart-dialog__header--isolated{padding:var(--dialog-header-isolated-padding,24px 0)}.smart-dialog__message{-webkit-overflow-scrolling:touch;color:var(--dialog-message-text-color,var(--app-B4-N1,#000));font-size:var(--dialog-message-font-size,16px);line-height:var(--dialog-message-line-height,20px);max-height:var(--dialog-message-max-height,60vh);overflow-y:auto;padding:var(--dialog-message-padding,24px);text-align:center}.smart-dialog__message-text{word-wrap:break-word}.smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B4-N3,rgba(0,0,0,.5)));font-size:var(--dialog-has-title-message-font-size,14px);padding-top:var(--dialog-has-title-message-padding-top,8px)}.smart-dialog__message--round-button{--hairline-right-width:0;padding-bottom:16px}.smart-dialog__message--left{text-align:left}.smart-dialog__message--right{text-align:right}.smart-dialog__message--justify{text-align:justify}.smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N9,rgba(0,0,0,.05)));border-radius:var(--dialog-input-border-radius,10px);font-size:var(--dialog-input-font-size,14px);height:var(--dialog-input-height,40px);margin:var(--dialog-input-margin,0 16px 24px);padding:var(--dialog-input-padding,0 10px)}.smart-dialog__footer{display:flex}.smart-dialog__footer--round-button{--hairline-right-width:0;padding:8px 20px 16px!important;position:relative!important}.smart-dialog__button{flex:1}.smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,normal)}.smart-dialog__confirm--disabled{opacity:.5;pointer-events:none}.smart-dialog__cancel{font-weight:var(--dialog-cancel-font-weight,normal)}.smart-dialog__cancel,.smart-dialog__confirm{border:0!important;border-radius:0!important}.smart-dialog-bounce-enter{opacity:0;transform:translate3d(-50%,-50%,0) scale(.7)}.smart-dialog-bounce-leave-active{opacity:0;transform:translate3d(-50%,-50%,0) scale(.9)}.smart-dialog--round-button .smart-dialog__cancel,.smart-dialog--round-button .smart-dialog__confirm{border-radius:var(--dialog--round-button-border-radius,301px)!important}:root[data-a11y=true] .smart-dialog{color:var(--a11y-dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--a11y-dialog-message-font-size,18px);font-weight:var(--a11y-dialog-message-font-weight,500)}:root[data-a11y=true] .smart-dialog__header{font-size:var(--dialog-header-font-size,20px);font-weight:var(--dialog-header-font-weight,600);line-height:var(--dialog-header-line-height,30px)}:root[data-a11y=true] .smart-dialog__message{color:var(--dialog-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-message-font-size,18px);font-weight:var(--dialog-message-font-weight,500);line-height:var(--dialog-message-line-height,27px)}:root[data-a11y=true] .smart-dialog__message--hasTitle{color:var(--dialog-has-title-message-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));font-size:var(--dialog-has-title-message-font-size,18px)}:root[data-a11y=true] .smart-dialog__confirm{font-weight:var(--dialog-confirm-font-weight,500)}:root[data-a11y=true] .smart-dialog__input{background-color:var(--dialog-input-background-color,var(--app-B4-N7,rgba(0,0,0,.08)));font-size:var(--dialog-input-font-size,18px);font-weight:var(--dialog-input-font-weight,500);height:var(--dialog-input-height,47px)}:root[data-a11y=true] .smart-hairline--top:after{border-top-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:var(--hairline-top-width,2px) 0 0}:root[data-a11y=true] .smart-hairline--right:after{border-right-width:0;border:solid var(--hairline-color,var(--app-B6-N6,rgba(0,0,0,.2)));border-width:0 var(--hairline-right-width,2px) 0 0}
@@ -19,7 +19,6 @@
19
19
  hover-stay-time="70"
20
20
  name="{{ leftArrowIcon }}"
21
21
  data-type="leftArrow"
22
- color="{{ leftIconColor }}"
23
22
  custom-class="smart-nav-bar__arrow"
24
23
  />
25
24
  <view
@@ -30,7 +29,13 @@
30
29
  class="smart-nav-bar__icon-wrap"
31
30
  catch:tap="onClickLeftIcon"
32
31
  >
33
- <smart-icon class="left-icon-class" custom-class="smart-nav-bar__icon" size="{{ leftIconSize }}" name="{{ leftIcon }}" color="{{ leftIconColor }}" />
32
+ <smart-icon
33
+ class="left-icon-class"
34
+ custom-class="smart-nav-bar__icon"
35
+ size="{{ leftIconSize }}"
36
+ name="{{ leftIcon }}"
37
+ color="{{ leftIconColor }}"
38
+ />
34
39
  </view>
35
40
  <view
36
41
  wx:if="{{ leftText }}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/smart-ui",
3
- "version": "2.12.1-beta-3",
3
+ "version": "2.12.1-beta-5",
4
4
  "author": "MiniApp Team",
5
5
  "license": "MIT",
6
6
  "miniprogram": "lib",