mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
feat(style): update basic red color (#4368)
This commit is contained in:
@@ -40,7 +40,7 @@ Use `pivot-text` to custom text,use `color` to custom bar color
|
||||
|
||||
<van-progress
|
||||
pivot-text="Red"
|
||||
color="#f44"
|
||||
color="#ee0a24"
|
||||
:percentage="50"
|
||||
/>
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ Vue.use(Progress);
|
||||
|
||||
<van-progress
|
||||
pivot-text="红色"
|
||||
color="#f44"
|
||||
color="#ee0a24"
|
||||
:percentage="50"
|
||||
/>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
:pivot-text="$t('orange')"
|
||||
/>
|
||||
<van-progress
|
||||
color="#f44"
|
||||
color="#ee0a24"
|
||||
:percentage="50"
|
||||
:pivot-text="$t('red')"
|
||||
/>
|
||||
|
||||
@@ -10,7 +10,7 @@ exports[`renders demo correctly 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<div class="van-progress"><span class="van-progress__portion van-progress__portion--with-pivot" style="background: rgb(242, 130, 106); width: 0px;"><span class="van-progress__pivot" style="color: rgb(255, 255, 255); background: rgb(242, 130, 106);">橙色</span></span></div>
|
||||
<div class="van-progress"><span class="van-progress__portion van-progress__portion--with-pivot" style="background: rgb(255, 68, 68); width: 0px;"><span class="van-progress__pivot" style="color: rgb(255, 255, 255); background: rgb(255, 68, 68);">红色</span></span></div>
|
||||
<div class="van-progress"><span class="van-progress__portion van-progress__portion--with-pivot" style="background: rgb(238, 10, 36); width: 0px;"><span class="van-progress__pivot" style="color: rgb(255, 255, 255); background: rgb(238, 10, 36);">红色</span></span></div>
|
||||
<div class="van-progress"><span class="van-progress__portion van-progress__portion--with-pivot" style="width: 0px;"><span class="van-progress__pivot" style="color: rgb(255, 255, 255); background: rgb(114, 50, 221);">紫色</span></span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user