| | |
| | | |
| | | .taro_page, |
| | | page { |
| | | font-size: 30px; |
| | | font-size: 36px; |
| | | color: #333; |
| | | textarea { |
| | | font-size: inherit; |
| | |
| | | } |
| | | .at-button { |
| | | display: inline-block; |
| | | font-size: 36px; |
| | | &.at-button--small { |
| | | line-height: 56px; |
| | | } |
| | | &.at-button--full { |
| | | display: flex; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | .at-input { |
| | | .at-input__title { |
| | | font-size: 36px; |
| | | } |
| | | .at-input__input { |
| | | .weui-input { |
| | | font-size: 36px; |
| | | } |
| | | } |
| | | } |
| | | .at-input-number { |
| | | .weui-input { |
| | | height: 100%; |
| | | border: none; |
| | | font-size: 30px; |
| | | font-size: 36px; |
| | | } |
| | | } |
| | | .at-float-layout { |
| | |
| | | width: 100%; |
| | | height: 84px; |
| | | box-sizing: border-box; |
| | | .layout-header__title { |
| | | font-size: 38px; |
| | | } |
| | | } |
| | | .layout-body { |
| | | width: 100%; |
| | | height: calc(100% - 84px); |
| | | max-height: 100%; |
| | | font-size: 30px; |
| | | font-size: 36px; |
| | | box-sizing: border-box; |
| | | &:first-child { |
| | | height: 100%; |
| | |
| | | } |
| | | .at-list { |
| | | position: unset; |
| | | } |
| | | .weui-picker { |
| | | font-size: 30px; |
| | | .weui-picker__hd { |
| | | font-size: 30px; |
| | | } |
| | | } |
| | | .at-tabs.at-tabs--horizontal { |
| | | height: 100%; |
| | |
| | | display: none; |
| | | } |
| | | } |
| | | .at-modal { |
| | | .at-modal__header { |
| | | font-size: 40px; |
| | | } |
| | | .at-modal__footer { |
| | | .at-modal__action>taro-button-core, |
| | | .at-modal__action button { |
| | | font-size: 36px; |
| | | &:last-child { |
| | | color: #2093df; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | page { |
| | |
| | | .taro__modal { |
| | | word-break: break-word; |
| | | } |
| | | |
| | | .weui-picker__overlay { |
| | | .weui-picker { |
| | | font-size: 32px; |
| | | .weui-picker__hd { |
| | | font-size: 36px; |
| | | .weui-picker__action:last-child { |
| | | color: #2093df; |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | .title { |
| | | display: inline; |
| | | .icon { |
| | | @include flexbox(inline, center center); |
| | | margin-top: 4px; |
| | | display: inline-block; |
| | | margin-right: 14px; |
| | | width: 40px; |
| | | min-width: 40px; |
| | | height: 40px; |
| | | vertical-align: middle; |
| | | text-align: center; |
| | | line-height: 36px; |
| | | color: transparent; |
| | | font-size: 24px; |
| | | line-height: 1; |
| | | border: 2px solid rgba(97, 144, 232, .2); |
| | | border-radius: 50%; |
| | | background-color: #fff; |
| | |
| | | border: none; |
| | | background-color: #6190e8; |
| | | } |
| | | .at-icon { |
| | | font-size: 24px; |
| | | line-height: 1; |
| | | } |
| | | } |
| | | .tips { |
| | | vertical-align: middle; |
| | | color: rgb(117, 117, 117); |
| | | ; |
| | | } |
| | | } |
| | | .protocol { |
| | | display: inline; |
| | | color: #2b69de; |
| | | font-size: 30px; |
| | | color: #2093df; |
| | | font-size: 36px; |
| | | vertical-align: middle; |
| | | } |
| | | } |
| | | .c-form-submit { |
| | |
| | | padding: 0 20px 30px; |
| | | [type=primary] { |
| | | height: 80px; |
| | | font-size: 33px; |
| | | font-size: 36px; |
| | | line-height: 78px; |
| | | border: 1PX solid #2093df; |
| | | background: #2093df; |
| | |
| | | @import "../../common/sassMixin"; |
| | | |
| | | .c-input-scan-code { |
| | | .c-input-scan-btn { |
| | | .c-input-scan-space { |
| | | width: 140px; |
| | | height: 48px; |
| | | pointer-events: none; |
| | | } |
| | | .c-input-scan-show { |
| | | .c-input-scan-btn { |
| | | @include position(absolute, 50% n n 16px); |
| | | width: 100px; |
| | | width: 110px; |
| | | box-sizing: border-box; |
| | | transform: translateY(-50%); |
| | | pointer-events: none; |
| | | .at-icon-loading { |
| | | margin-right: 9px; |
| | | font-size: 40px; |
| | | animation: atRotate 1s linear infinite; |
| | | transform-origin: 50% 48%; |
| | | } |
| | | } |
| | | .at-input__icon { |
| | |
| | | :value="itemRes.formData[itemRes.name]" |
| | | :onChange="evt=>itemRes.onChange(evt)" |
| | | > |
| | | <view |
| | | class="c-input-scan-btn" |
| | | @tap="evt => handleScan()" |
| | | ></view> |
| | | <view class="c-input-scan-space"></view> |
| | | <AtButton |
| | | class="c-input-scan-show" |
| | | class="c-input-scan-btn" |
| | | size="small" |
| | | type="primary" |
| | | :onClick="evt => handleScan()" |
| | | > |
| | | <text v-show="!scaning">扫描</text> |
| | | <AtIcon |
| | |
| | | // 取值范围 |
| | | range: { |
| | | type: Array, |
| | | default: [0, 100], |
| | | default: () => [0, 100], |
| | | }, |
| | | // 步长 |
| | | step: { |
| | |
| | | mounted() { |
| | | if (process.env.TARO_ENV === 'h5') { |
| | | $(this.$refs.input.$el) |
| | | .find('.at-input__input') |
| | | .find('.at-input__container') |
| | | .prepend(this.$refs.number.$el); |
| | | } else if (process.env.TARO_ENV === 'weapp') { |
| | | $(this.$refs.input.$el) |
| | |
| | | } |
| | | .c-number-step-step { |
| | | .at-input-number { |
| | | .weui-input { |
| | | display: inline-block; |
| | | } |
| | | .at-input-number__btn { |
| | | padding: 16px 16px; |
| | | width: 30px; |
| | | width: 36px; |
| | | height: 30px; |
| | | } |
| | | .at-input-number__input { |
| | | font-size: 30px; |
| | | font-size: 36px; |
| | | } |
| | | .at-input-number__btn-subtract, |
| | | .at-input-number__btn-add { |
| | | font-size: 36px; |
| | | } |
| | | } |
| | | &.on-unit { |
| | |
| | | let $slider = null; |
| | | if (process.env.TARO_ENV === 'h5') { |
| | | $slider = $(this.$refs.slider.$el); |
| | | const rect = $slider[0].getBoundingClientRect(); |
| | | this.rect.width = rect.width; |
| | | this.rect.left = rect.left; |
| | | } else if (process.env.TARO_ENV === 'weapp') { |
| | | $slider = $(this.$refs.slider); |
| | | } |
| | | Taro.createSelectorQuery() |
| | | .select('#' + this.$refs.slider.uid) |
| | | .boundingClientRect(rect => { |
| | |
| | | this.rect.left = rect.left; |
| | | }) |
| | | .exec(); |
| | | } |
| | | }, |
| | | handleChangeVal(type, value) { |
| | | this.updateRect(); |
| | |
| | | align-items: center; |
| | | width: 100%; |
| | | height: 28PX; |
| | | padding: 35PX 0 50PX; |
| | | padding: 35PX 0 55PX; |
| | | .min { |
| | | @include position(absolute, 20PX 0 n n); |
| | | height: 60PX; |
| | |
| | | } |
| | | .c-select-slot { |
| | | position: relative; |
| | | height: 90px; |
| | | height: 98px; |
| | | @include flexbox(flex, center center); |
| | | &::after { |
| | | position: absolute; |
| | |
| | | @import "../../common/sassMixin"; |
| | | |
| | | .c-switch { |
| | | .at-switch__title { |
| | | font-size: 36px; |
| | | } |
| | | &.c-switch-required { |
| | | .at-switch__title { |
| | | &::before { |
| | |
| | | @include flexbox(flex, flex-start flex-start, column); |
| | | width: 100%; |
| | | height: 100%; |
| | | background-color: #E1ECEE; |
| | | .c-nav-bar { |
| | | width: 100%; |
| | | } |