|
|
@ -109,16 +109,16 @@ |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
dayText() { |
|
|
dayText() { |
|
|
return t("uni-countdown.day") |
|
|
|
|
|
|
|
|
return t("天") |
|
|
}, |
|
|
}, |
|
|
hourText(val) { |
|
|
hourText(val) { |
|
|
return t("uni-countdown.h") |
|
|
|
|
|
|
|
|
return t("时") |
|
|
}, |
|
|
}, |
|
|
minuteText(val) { |
|
|
minuteText(val) { |
|
|
return t("uni-countdown.m") |
|
|
|
|
|
|
|
|
return t("分") |
|
|
}, |
|
|
}, |
|
|
secondText(val) { |
|
|
secondText(val) { |
|
|
return t("uni-countdown.s") |
|
|
|
|
|
|
|
|
return t("秒") |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
@ -256,7 +256,7 @@ |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
line-height: $countdown-height; |
|
|
line-height: $countdown-height; |
|
|
margin: 5rpx; |
|
|
|
|
|
|
|
|
// margin: 5rpx; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
font-size: $uni-font-size-sm; |
|
|
font-size: $uni-font-size-sm; |
|
|
} |
|
|
} |
|
|
|