|
@@ -10,7 +10,7 @@
|
|
|
background: mainColor
|
|
background: mainColor
|
|
|
}">
|
|
}">
|
|
|
</div>
|
|
</div>
|
|
|
- <Movebar
|
|
|
|
|
|
|
+ <nut-range-bar
|
|
|
:initLeft="initLeft1"
|
|
:initLeft="initLeft1"
|
|
|
@getPos="getPosLeft"
|
|
@getPos="getPosLeft"
|
|
|
:showLabelAlways="showLabelAlways"
|
|
:showLabelAlways="showLabelAlways"
|
|
@@ -18,7 +18,7 @@
|
|
|
:current="currentLeft"
|
|
:current="currentLeft"
|
|
|
:ani.sync="ani"
|
|
:ani.sync="ani"
|
|
|
:mainColor="mainColor"/>
|
|
:mainColor="mainColor"/>
|
|
|
- <Movebar
|
|
|
|
|
|
|
+ <nut-range-bar
|
|
|
:initLeft="initLeft2"
|
|
:initLeft="initLeft2"
|
|
|
@getPos="getPosRight"
|
|
@getPos="getPosRight"
|
|
|
:showLabelAlways="showLabelAlways"
|
|
:showLabelAlways="showLabelAlways"
|
|
@@ -51,7 +51,7 @@ function toRGBA(c, opacity) {
|
|
|
export default {
|
|
export default {
|
|
|
name: "nut-range",
|
|
name: "nut-range",
|
|
|
components: {
|
|
components: {
|
|
|
- Movebar
|
|
|
|
|
|
|
+ [Movebar.name]: Movebar
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
rangeValues: {
|
|
rangeValues: {
|