/* * @Author : LQ * @Description : * @version : 1.0 * @Date : 2021-08-16 10:04:04 * @LastAuthor : LQ * @lastTime : 2021-08-16 10:04:24 * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js */ import defprops from '../../libs/config/props'; 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 }, // 用于