diff --git a/components/uni-countdown/uni-countdown.vue b/components/uni-countdown/uni-countdown.vue index 3d885b3..baeca7a 100644 --- a/components/uni-countdown/uni-countdown.vue +++ b/components/uni-countdown/uni-countdown.vue @@ -3,9 +3,9 @@ {{ d }} {{dayText}} - {{ h }} - {{ showColon ? '时' : hourText }} + {{ showColon ? '时' : hourText }} {{ i }} {{ showColon ? '分' : minuteText }} @@ -45,6 +45,10 @@ type: Boolean, default: true }, + showHour: { + type: Boolean, + default: true + }, showColon: { type: Boolean, default: true