|
@@ -17,13 +17,13 @@
|
|
>{{ showValue ? internalValue : max }}{{ suffix }}
|
|
>{{ showValue ? internalValue : max }}{{ suffix }}
|
|
</span
|
|
</span
|
|
>
|
|
>
|
|
- <span
|
|
|
|
|
|
+ <!-- <span
|
|
v-if="isFollow && showValue && !suffixNormal"
|
|
v-if="isFollow && showValue && !suffixNormal"
|
|
class="slider-internal-text"
|
|
class="slider-internal-text"
|
|
:style="{ left: isFollow && progressWidth < 86 ? `calc(${progressWidth}% + 10px)` : 'auto', color: followColor }"
|
|
:style="{ left: isFollow && progressWidth < 86 ? `calc(${progressWidth}% + 10px)` : 'auto', color: followColor }"
|
|
>{{ showValue ? internalValue : max }}<sup class="slider-internal-text-suffix">{{ suffix }}</sup>
|
|
>{{ showValue ? internalValue : max }}<sup class="slider-internal-text-suffix">{{ suffix }}</sup>
|
|
</span
|
|
</span
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
<span
|
|
<span
|
|
v-else
|
|
v-else
|
|
class="slider-max-text"
|
|
class="slider-max-text"
|
|
@@ -35,7 +35,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { computed, defineModel, defineProps, onMounted, ref, useTemplateRef, watch } from 'vue'
|
|
|
|
|
|
+import { computed, defineModel, defineProps, onMounted, ref, useTemplateRef, watch } from 'vue';
|
|
|
|
|
|
const emit = defineEmits(['onEnd', 'onStart'])
|
|
const emit = defineEmits(['onEnd', 'onStart'])
|
|
const props = defineProps({
|
|
const props = defineProps({
|