20240517
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -10,6 +10,10 @@ export default {
|
||||
type: String,
|
||||
default: uni.$u.props.columnNotice.icon
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
|
||||
},
|
||||
// 通告模式,link-显示右箭头,closable-显示右侧关闭图标
|
||||
mode: {
|
||||
type: String,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,6 +10,10 @@ export default {
|
||||
type: String,
|
||||
default: uni.$u.props.noticeBar.direction
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
|
||||
},
|
||||
// direction = row时,是否使用步进形式滚动
|
||||
step: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user