import defProps from '../../libs/config/props.js'; export default { props: { // 是否细边框 hairline: { type: Boolean, default: () => defProps.button.hairline }, // 按钮的预置样式,info,primary,error,warning,success type: { type: String, default: () => defProps.button.type }, // 按钮尺寸,large,normal,small,mini size: { type: String, default: () => defProps.button.size }, // 按钮形状,circle(两边为半圆),square(带圆角) shape: { type: String, default: () => defProps.button.shape }, // 按钮是否镂空 plain: { type: Boolean, default: () => defProps.button.plain }, // 是否禁止状态 disabled: { type: Boolean, default: () => defProps.button.disabled }, // 是否加载中 loading: { type: Boolean, default: () => defProps.button.loading }, // 加载中提示文字 loadingText: { type: [String, Number], default: () => defProps.button.loadingText }, // 加载状态图标类型 loadingMode: { type: String, default: () => defProps.button.loadingMode }, // 加载图标大小 loadingSize: { type: [String, Number], default: () => defProps.button.loadingSize }, // 开放能力,具体请看uniapp稳定关于button组件部分说明 // https://uniapp.dcloud.io/component/button openType: { type: String, default: () => defProps.button.openType }, // 用于