This commit is contained in:
2024-05-17 18:02:49 +08:00
parent 8407d51fb6
commit b5264dc222
4056 changed files with 308094 additions and 41932 deletions

View File

@@ -44,6 +44,7 @@
:class="[effect === 'dark' ? 'u-alert__text--dark' : `u-alert__text--${type}--light`]"
>{{ description }}</text>
</view>
<slot name="rightSlot" ></slot>
<view
class="u-alert__close"
v-if="closable"

View File

@@ -10,6 +10,10 @@ export default {
type: String,
default: uni.$u.props.columnNotice.icon
},
label: {
type: String,
},
// 通告模式link-显示右箭头closable-显示右侧关闭图标
mode: {
type: String,

View File

@@ -32,7 +32,7 @@
<text
class="u-notice__swiper__item__text u-line-1"
:style="[textStyle]"
>{{ item }}</text>
>{{ label?item[label]:item }}</text>
</swiper-item>
</swiper>
<view

View File

@@ -10,6 +10,10 @@ export default {
type: String,
default: uni.$u.props.noticeBar.direction
},
label: {
type: String,
},
// direction = row时是否使用步进形式滚动
step: {
type: Boolean,

View File

@@ -11,6 +11,7 @@
:color="color"
:bgColor="bgColor"
:text="text"
:label="label"
:mode="mode"
:step="step"
:icon="icon"
@@ -26,6 +27,7 @@
:color="color"
:bgColor="bgColor"
:text="text"
:label="label"
:mode="mode"
:fontSize="fontSize"
:speed="speed"

View File

@@ -30,6 +30,8 @@
class="u-tabs__wrapper__nav__item__text"
:style="[textStyle(index)]"
>{{ item[keyName] }}</text>
<slot name="labelSlot" :data="item"></slot>
<u-badge
:show="!!(item.badge && (item.badge.show || item.badge.isDot || item.badge.value))"
:isDot="item.badge && item.badge.isDot || propsBadge.isDot"