From b6c7461e7e74971b0819ee31aabef061270e2698 Mon Sep 17 00:00:00 2001 From: Eric Yuan Date: Sun, 20 Oct 2019 12:56:28 +0800 Subject: [PATCH] feat(Progress): Add customizable progress track color (#2173) --- dist/progress/index.js | 4 ++++ dist/progress/index.wxml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/progress/index.js b/dist/progress/index.js index 0286939b..c37b54b9 100644 --- a/dist/progress/index.js +++ b/dist/progress/index.js @@ -15,6 +15,10 @@ VantComponent({ type: String, value: BLUE }, + trackColor: { + type: String, + value: "#e5e5e5", + }, textColor: { type: String, value: '#fff' diff --git a/dist/progress/index.wxml b/dist/progress/index.wxml index ee847edf..01a70e75 100644 --- a/dist/progress/index.wxml +++ b/dist/progress/index.wxml @@ -1,6 +1,6 @@ - +