|
@@ -2,14 +2,14 @@
|
|
|
<view :class="width" @click="handleClick">
|
|
<view :class="width" @click="handleClick">
|
|
|
<view class="flex items-center gap-x-6 justify-start" :style="customStyle">
|
|
<view class="flex items-center gap-x-6 justify-start" :style="customStyle">
|
|
|
<view v-if="matchValue || customLabel"
|
|
<view v-if="matchValue || customLabel"
|
|
|
- class="text-[15px] h-[24px] leading-[26px] flex-1 min-w-1 ellipsis-1"
|
|
|
|
|
|
|
+ class="text-[15px] h-[24px] leading-[24px] flex-1 min-w-1 ellipsis-1"
|
|
|
:style="getValueStyle"
|
|
:style="getValueStyle"
|
|
|
:class="[(disabled || readonly) ? 'text-[#dce4f6]': color]">
|
|
:class="[(disabled || readonly) ? 'text-[#dce4f6]': color]">
|
|
|
<slot :label="label">
|
|
<slot :label="label">
|
|
|
{{ label }}
|
|
{{ label }}
|
|
|
</slot>
|
|
</slot>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-else class="text-[15px] h-[24px] leading-[26px] text-[#c0c4cc] flex-1 min-w-1 ellipsis-1"
|
|
|
|
|
|
|
+ <view v-else class="text-[15px] h-[24px] leading-[24px] text-[#c0c4cc] flex-1 min-w-1 ellipsis-1"
|
|
|
:style="getPlaceholderStyle">{{ placeholder }}
|
|
:style="getPlaceholderStyle">{{ placeholder }}
|
|
|
</view>
|
|
</view>
|
|
|
<slot name="right">
|
|
<slot name="right">
|