| | |
| | | <template> |
| | | <view |
| | | class="c-date-picker" |
| | | :class="readOnly ? 'read-only':''" |
| | | :class="readOnly?'read-only':''" |
| | | > |
| | | <CDateRangeAction |
| | | v-if="mode==='dateRange'" |
| | |
| | | .c-date-picker { |
| | | &.read-only { |
| | | pointer-events: none; |
| | | background-color: #fafafa; |
| | | background-color: #f6f6f6; |
| | | } |
| | | .at-input__input { |
| | | .weui-input { |
| | |
| | | <template> |
| | | <view |
| | | class="c-input" |
| | | :class="[unit?'c-input-unit':'', readOnly ? 'read-only':'']" |
| | | :class="[unit?'c-input-unit':'', readOnly?'read-only':'']" |
| | | > |
| | | <AtInput |
| | | :name="itemRes.name" |
| | |
| | | .c-input-scan-code { |
| | | &.read-only { |
| | | pointer-events: none; |
| | | background-color: #fafafa; |
| | | background-color: #f6f6f6; |
| | | } |
| | | .c-input-scan-space { |
| | | width: 140px; |
| | |
| | | <template> |
| | | <view |
| | | class="c-input-scan-code" |
| | | :class="[readOnly ? 'read-only':'']" |
| | | :class="[readOnly?'read-only':'']" |
| | | > |
| | | <AtInput |
| | | :name="itemRes.name" |
| | |
| | | .c-input { |
| | | &.read-only { |
| | | pointer-events: none; |
| | | background-color: #fafafa; |
| | | background-color: #f6f6f6; |
| | | } |
| | | .at-input__icon { |
| | | display: none; |
| | |
| | | <template> |
| | | <view |
| | | class="c-select" |
| | | :class="readOnly ? 'read-only':''" |
| | | :class="readOnly?'read-only':''" |
| | | > |
| | | <!-- 下拉选择模式 --> |
| | | <view |
| | |
| | | .c-select { |
| | | &.read-only { |
| | | pointer-events: none; |
| | | background-color: #fafafa; |
| | | background-color: #f6f6f6; |
| | | } |
| | | .at-input__input { |
| | | .weui-input { |
| | |
| | | } |
| | | .c-select-slot-mode { |
| | | @include flexbox(flex, left center); |
| | | margin-bottom: 1PX; |
| | | .c-select-input { |
| | | width: 100%; |
| | | .at-input { |
| | | margin-bottom: 0; |
| | | } |
| | | } |
| | | .c-select-slot { |
| | | position: relative; |
| | |
| | | .c-switch { |
| | | &.read-only { |
| | | pointer-events: none; |
| | | background-color: #fafafa; |
| | | background-color: #f6f6f6; |
| | | .at-switch { |
| | | background-color: transparent; |
| | | } |