From 722da005a5ec126bedf752ac6bd5c5c7f6172155 Mon Sep 17 00:00:00 2001 From: fei.wang <wf18701153496@163.com> Date: 星期三, 30 四月 2025 10:52:53 +0800 Subject: [PATCH] 1.1.4 --- tuniao-ui/components/tn-select/tn-select.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tuniao-ui/components/tn-select/tn-select.vue b/tuniao-ui/components/tn-select/tn-select.vue index 432e082..ed76b02 100644 --- a/tuniao-ui/components/tn-select/tn-select.vue +++ b/tuniao-ui/components/tn-select/tn-select.vue @@ -48,7 +48,9 @@ <picker-view-column v-for="(item, index) in columnData" :key="index"> <view class="tn-select__content__body__item" v-for="(sub_item, sub_index) in item" :key="sub_index"> - <view class="tn-text-ellipsis"> + <view class="tn-text-ellipsis" style="display:flex"> + <u-badge v-if="sub_item[valueName] ==1 " :isDot="true" type="success" style="margin-top: 8px;"></u-badge> + <u-badge v-else-if="sub_item[valueName]==0 " :isDot="true" type="info" style="margin-top: 8px;"></u-badge> {{ sub_item[labelName] }} </view> </view> -- Gitblit v1.9.3