|
|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
|
<view class="w-full" @click="handleClick">
|
|
|
- <view class="flex items-center gap-x-6 justify-end" :style="customStyle">
|
|
|
+ <view class="flex items-center gap-x-6 justify-start" :style="customStyle">
|
|
|
<view v-if="matchValue || customLabel" class="text-fore-title flex-1 min-w-1 ellipsis-1" :style="getValueStyle"
|
|
|
:class="{ 'text-[#dce4f6]': disabled || readonly }">
|
|
|
<slot :label="label">
|
|
|
{{ label }}
|
|
|
</slot>
|
|
|
</view>
|
|
|
- <view v-else class=" text-[#c0c4cc]" :style="getPlaceholderStyle">{{ placeholder }}</view>
|
|
|
+ <view v-else class=" text-[#c0c4cc] flex-1 min-w-1 ellipsis-1" :style="getPlaceholderStyle">{{ placeholder }}</view>
|
|
|
<slot name="right">
|
|
|
<view v-if="!readonly && showArrow" class="transition-all duration-300">
|
|
|
<uv-icon :name="icon" size="15" color="#B3B3B3" />
|