import { NoticePlayStatus } from './../tn-column-notice/columnNotice'; import { PropType } from 'vue'; import { commonProps } from '../../common/props'; export const rowNoticeProps = { // 显示的内容 list: { type: Array, default() { return [] } }, // 是否显示 show: { type: Boolean, default: true }, // 播放状态 // play -> 播放 paused -> 暂停 playStatus: { type: String as PropType, default: 'play' }, // 是否显示左边图标 leftIcon: { type: Boolean, default: true }, // 左边图标的名称 leftIconName: { type: String, default: 'sound' }, // 左边图标的大小 leftIconSize: { type: Number, default: 34 }, // 是否显示右边的图标 rightIcon: { type: Boolean, default: false }, // 右边图标的名称 rightIconName: { type: String, default: 'right' }, // 右边图标的大小 rightIconSize: { type: Number, default: 26 }, // 是否显示关闭按钮 closeBtn: { type: Boolean, default: false }, // 圆角 radius: { type: Number, default: 0 }, // 内边距 padding: { type: String, default: '18rpx 24rpx' }, // 自动播放 autoplay: { type: Boolean, default: true }, // 水平滚动时的速度,即每秒滚动多少rpx speed: { type: Number, default: 160 }, ...commonProps }