import '@/common/uview-init.js' export default { props: { // 鎼滅储妗嗗舰鐘讹紝round-鍦嗗舰锛宻quare-鏂瑰舰 shape: { type: String, default: uni.$u.props.search.shape }, // 鎼滅储妗嗚儗鏅壊锛岄粯璁ゅ€?f2f2f2 bgColor: { type: String, default: uni.$u.props.search.bgColor }, // 鍗犱綅鎻愮ず鏂囧瓧 placeholder: { type: String, default: uni.$u.props.search.placeholder }, // 鏄惁鍚敤娓呴櫎鎺т欢 clearabled: { type: Boolean, default: uni.$u.props.search.clearabled }, // 鏄惁鑷姩鑱氱劍 focus: { type: Boolean, default: uni.$u.props.search.focus }, // 鏄惁鍦ㄦ悳绱㈡鍙充晶鏄剧ず鍙栨秷鎸夐挳 showAction: { type: Boolean, default: uni.$u.props.search.showAction }, // 鍙宠竟鎺т欢鐨勬牱寮? actionStyle: { type: Object, default: uni.$u.props.search.actionStyle }, // 鍙栨秷鎸夐挳鏂囧瓧 actionText: { type: String, default: uni.$u.props.search.actionText }, // 杈撳叆妗嗗唴瀹瑰榻愭柟寮忥紝鍙€夊€间负 left|center|right inputAlign: { type: String, default: uni.$u.props.search.inputAlign }, // input杈撳叆妗嗙殑鏍峰紡锛屽彲浠ュ畾涔夋枃瀛楅鑹诧紝澶у皬绛夛紝瀵硅薄褰㈠紡 inputStyle: { type: Object, default: uni.$u.props.search.inputStyle }, // 鏄惁鍚敤杈撳叆妗? disabled: { type: Boolean, default: uni.$u.props.search.disabled }, // 杈规棰滆壊 borderColor: { type: String, default: uni.$u.props.search.borderColor }, // 鎼滅储鍥炬爣鐨勯鑹诧紝榛樿鍚岃緭鍏ユ瀛椾綋棰滆壊 searchIconColor: { type: String, default: uni.$u.props.search.searchIconColor }, // 杈撳叆妗嗗瓧浣撻鑹? color: { type: String, default: uni.$u.props.search.color }, // placeholder鐨勯鑹? placeholderColor: { type: String, default: uni.$u.props.search.placeholderColor }, // 宸﹁竟杈撳叆妗嗙殑鍥炬爣锛屽彲浠ヤ负uView鍥炬爣鍚嶇О鎴栧浘鐗囪矾寰? searchIcon: { type: String, default: uni.$u.props.search.searchIcon }, searchIconSize: { type: [Number, String], default: uni.$u.props.search.searchIconSize }, // 缁勪欢涓庡叾浠栦笂涓嬪乏鍙冲厓绱犱箣闂寸殑璺濈锛屽甫鍗曚綅鐨勫瓧绗︿覆褰㈠紡锛屽"30px"銆?30px 20px"绛夊啓娉? margin: { type: String, default: uni.$u.props.search.margin }, // 寮€鍚痵howAction鏃讹紝鏄惁鍦╥nput鑾峰彇鐒︾偣鏃舵墠鏄剧ず animation: { type: Boolean, default: uni.$u.props.search.animation }, // 杈撳叆妗嗙殑鍒濆鍖栧唴瀹? value: { type: String, default: uni.$u.props.search.value }, // 杈撳叆妗嗘渶澶ц兘杈撳叆鐨勯暱搴︼紝-1涓轰笉闄愬埗闀垮害(鏉ヨ嚜uniapp鏂囨。) maxlength: { type: [String, Number], default: uni.$u.props.search.maxlength }, // 鎼滅储妗嗛珮搴︼紝鍗曚綅px height: { type: [String, Number], default: uni.$u.props.search.height }, // 鎼滅储妗嗗乏渚ф枃鏈? label: { type: [String, Number, null], default: uni.$u.props.search.label } } }