| | |
| | | <!-- hide-on-phone --> |
| | | <span v-if="label" class="uni-label-text">{{label + ':'}}</span> |
| | | <view class="uni-stat-box" :class="{'uni-stat__actived': current}"> |
| | | <view class="uni-select" :style="{height:multiple?'100%':' 35px'}" |
| | | <view class="uni-select" :style="{height:multiple?'100%':' 25px'}" |
| | | :class="{'uni-select--disabled':disabled}"> |
| | | <view class="uni-select__input-box" :style="{height:multiple?'100%':'35px'}" @click="toggleSelector"> |
| | | <view class="uni-select__input-box" :style="{height:multiple?'100%':'25px'}" @click="toggleSelector"> |
| | | <view class="" style="display: flex;flex-wrap: wrap;width: 100%;" v-if="multiple&¤t.length>0"> |
| | | <view class="tag-calss" |
| | | v-for="(item,index) in collapseTags?current.slice(0,collapseTagsNum):current" |
| | |
| | | .uni-stat-box { |
| | | width: 100%; |
| | | flex: 1; |
| | | |
| | | } |
| | | |
| | | .uni-stat__actived { |
| | |
| | | |
| | | .uni-select { |
| | | font-size: 14px; |
| | | border: 1px solid $uni-border-3; |
| | | //border: 1px solid $uni-border-3; |
| | | box-sizing: border-box; |
| | | border-radius: 4px; |
| | | //border-radius: 4px; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | padding: 0 5px; |
| | | padding-left: 10px; |
| | | position: relative; |
| | |
| | | width: 100%; |
| | | flex: 1; |
| | | height: 35px; |
| | | min-height: 35px; |
| | | min-height: 25px; |
| | | |
| | | &--disabled { |
| | | background-color: #f5f7fa; |