1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- mode: {
- type: String,
- default: () => defProps.backtop.mode
- },
-
- icon: {
- type: String,
- default: () => defProps.backtop.icon
- },
-
- text: {
- type: String,
- default: () => defProps.backtop.text
- },
-
- duration: {
- type: [String, Number],
- default: () => defProps.backtop.duration
- },
-
- scrollTop: {
- type: [String, Number],
- default: () => defProps.backtop.scrollTop
- },
-
- top: {
- type: [String, Number],
- default: () => defProps.backtop.top
- },
-
- bottom: {
- type: [String, Number],
- default: () => defProps.backtop.bottom
- },
-
- right: {
- type: [String, Number],
- default: () => defProps.backtop.right
- },
-
- zIndex: {
- type: [String, Number],
- default: () => defProps.backtop.zIndex
- },
-
- iconStyle: {
- type: Object,
- default: () => defProps.backtop.iconStyle
- }
- }
- })
|