123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- text: {
- type: [Array, String],
- default: () => defProps.noticeBar.text
- },
-
- direction: {
- type: String,
- default: () => defProps.noticeBar.direction
- },
-
- step: {
- type: Boolean,
- default: () => defProps.noticeBar.step
- },
-
- icon: {
- type: String,
- default: () => defProps.noticeBar.icon
- },
-
- mode: {
- type: String,
- default: () => defProps.noticeBar.mode
- },
-
- color: {
- type: String,
- default: () => defProps.noticeBar.color
- },
-
- bgColor: {
- type: String,
- default: () => defProps.noticeBar.bgColor
- },
-
- speed: {
- type: [String, Number],
- default: () => defProps.noticeBar.speed
- },
-
- fontSize: {
- type: [String, Number],
- default: () => defProps.noticeBar.fontSize
- },
-
- duration: {
- type: [String, Number],
- default: () => defProps.noticeBar.duration
- },
-
-
- disableTouch: {
- type: Boolean,
- default: () => defProps.noticeBar.disableTouch
- },
-
- url: {
- type: String,
- default: () => defProps.noticeBar.url
- },
-
- linkType: {
- type: String,
- default: () => defProps.noticeBar.linkType
- }
- }
- })
|