feat(style): update basic red color (#4368)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user