From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 07 十一月 2023 15:47:13 +0800 Subject: [PATCH] bug --- minipro_standard/uni_modules/uview-ui/components/u-count-to/props.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/minipro_standard/uni_modules/uview-ui/components/u-count-to/props.js b/minipro_standard/uni_modules/uview-ui/components/u-count-to/props.js index e69de29..86873c1 100644 --- a/minipro_standard/uni_modules/uview-ui/components/u-count-to/props.js +++ b/minipro_standard/uni_modules/uview-ui/components/u-count-to/props.js @@ -0,0 +1,59 @@ +export default { + props: { + // 寮�濮嬬殑鏁板�硷紝榛樿浠�0澧為暱鍒版煇涓�涓暟 + startVal: { + type: [String, Number], + default: uni.$u.props.countTo.startVal + }, + // 瑕佹粴鍔ㄧ殑鐩爣鏁板�硷紝蹇呴』 + endVal: { + type: [String, Number], + default: uni.$u.props.countTo.endVal + }, + // 婊氬姩鍒扮洰鏍囨暟鍊肩殑鍔ㄧ敾鎸佺画鏃堕棿锛屽崟浣嶄负姣锛坢s锛� + duration: { + type: [String, Number], + default: uni.$u.props.countTo.duration + }, + // 璁剧疆鏁板�煎悗鏄惁鑷姩寮�濮嬫粴鍔� + autoplay: { + type: Boolean, + default: uni.$u.props.countTo.autoplay + }, + // 瑕佹樉绀虹殑灏忔暟浣嶆暟 + decimals: { + type: [String, Number], + default: uni.$u.props.countTo.decimals + }, + // 鏄惁鍦ㄥ嵆灏嗗埌杈剧洰鏍囨暟鍊肩殑鏃跺�欙紝浣跨敤缂撴參婊氬姩鐨勬晥鏋� + useEasing: { + type: Boolean, + default: uni.$u.props.countTo.useEasing + }, + // 鍗佽繘鍒跺垎鍓� + decimal: { + type: [String, Number], + default: uni.$u.props.countTo.decimal + }, + // 瀛椾綋棰滆壊 + color: { + type: String, + default: uni.$u.props.countTo.color + }, + // 瀛椾綋澶у皬 + fontSize: { + type: [String, Number], + default: uni.$u.props.countTo.fontSize + }, + // 鏄惁鍔犵矖瀛椾綋 + bold: { + type: Boolean, + default: uni.$u.props.countTo.bold + }, + // 鍗冧綅鍒嗛殧绗︼紝绫讳技閲戦鐨勫垎鍓�(锟�23,321.05涓殑",") + separator: { + type: String, + default: uni.$u.props.countTo.separator + } + } +} -- Gitblit v1.9.3