import '@/common/uview-init.js' export default { props: { // input鐨刲abel鎻愮ず璇? label: { type: String, default: uni.$u.props.formItem.label }, // 缁戝畾鐨勫€? prop: { type: String, default: uni.$u.props.formItem.prop }, // 鏄惁鏄剧ず琛ㄥ崟鍩熺殑涓嬪垝绾胯竟妗? borderBottom: { type: [String, Boolean], default: uni.$u.props.formItem.borderBottom }, // label鐨勪綅缃紝left-宸﹁竟锛宼op-涓婅竟 labelPosition: { type: String, default: uni.$u.props.formItem.labelPosition }, // label鐨勫搴︼紝鍗曚綅px labelWidth: { type: [String, Number], default: uni.$u.props.formItem.labelWidth }, // 鍙充晶鍥炬爣 rightIcon: { type: String, default: uni.$u.props.formItem.rightIcon }, // 宸︿晶鍥炬爣 leftIcon: { type: String, default: uni.$u.props.formItem.leftIcon }, // 鏄惁鏄剧ず宸﹁竟鐨勫繀濉槦鍙凤紝鍙綔鏄剧ず鐢紝鍏蜂綋鏍¢獙蹇呭~鐨勯€昏緫锛岃鍦╮ules涓厤缃? required: { type: Boolean, default: uni.$u.props.formItem.required }, leftIconStyle: { type: [String, Object], default: uni.$u.props.formItem.leftIconStyle, } } }