feat(style): update basic red color (#4368)

This commit is contained in:
neverland
2019-09-05 11:25:43 +08:00
committed by GitHub
parent 2d7a188c2d
commit 988bb80003
31 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ export default {
<van-slider
v-model="value"
bar-height="4px"
active-color="#f44"
active-color="#ee0a24"
/>
```
@@ -66,7 +66,7 @@ export default {
```html
<van-slider
v-model="value"
active-color="#f44"
active-color="#ee0a24"
>
<div
slot="button"
+2 -2
View File
@@ -57,7 +57,7 @@ export default {
<van-slider
v-model="value"
bar-height="4px"
active-color="#f44"
active-color="#ee0a24"
/>
```
@@ -66,7 +66,7 @@ export default {
```html
<van-slider
v-model="value"
active-color="#f44"
active-color="#ee0a24"
>
<div
slot="button"
+2 -2
View File
@@ -35,7 +35,7 @@
<van-slider
v-model="value5"
bar-height="4px"
active-color="#f44"
active-color="#ee0a24"
@change="onChange"
/>
</demo-block>
@@ -43,7 +43,7 @@
<demo-block :title="$t('customButton')">
<van-slider
v-model="value6"
active-color="#f44"
active-color="#ee0a24"
>
<template #button>
<div class="custom-button">{{ value6 }}</div>
@@ -40,7 +40,7 @@ exports[`renders demo correctly 1`] = `
</div>
<div>
<div class="van-slider">
<div class="van-slider__bar" style="width: 50%; height: 4px; background: rgb(255, 68, 68);">
<div class="van-slider__bar" style="width: 50%; height: 4px; background: rgb(238, 10, 36);">
<div role="slider" tabindex="0" aria-valuemin="0" aria-valuenow="50" aria-valuemax="100" aria-orientation="horizontal" class="van-slider__button-wrapper">
<div class="van-slider__button"></div>
</div>
@@ -49,7 +49,7 @@ exports[`renders demo correctly 1`] = `
</div>
<div>
<div class="van-slider">
<div class="van-slider__bar" style="width: 50%; height: 2px; background: rgb(255, 68, 68);">
<div class="van-slider__bar" style="width: 50%; height: 2px; background: rgb(238, 10, 36);">
<div role="slider" tabindex="0" aria-valuemin="0" aria-valuenow="50" aria-valuemax="100" aria-orientation="horizontal" class="van-slider__button-wrapper">
<div class="custom-button">50</div>
</div>