From 0dbc7465447164fef24327b5d494870832d798dd Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Tue, 26 May 2026 11:15:18 +0800
Subject: [PATCH] 1
---
src/components/Transform/perpetual-open/amountSlider.vue | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/src/components/Transform/perpetual-open/amountSlider.vue b/src/components/Transform/perpetual-open/amountSlider.vue
index e31936e..4c29a53 100644
--- a/src/components/Transform/perpetual-open/amountSlider.vue
+++ b/src/components/Transform/perpetual-open/amountSlider.vue
@@ -3,15 +3,15 @@
<div class="slider-index">
<div class="amount-slider">
<div class="amount-slider-clickable">
- <!-- 本地报错 调试时候注释掉 yyhh-->
- <!-- <vue-slider @change="sliderAmountChange" class="mainBox" :marks="marks" v-model="sliderAmount"
- :hide-label="true" width="92%" tooltip="hover" :tooltip-formatter="'{value}%'"
- :railStyle="{ background: '#404040', height: '2px' }"
- :processStyle="{ background: '#266BFF', height: '2px' }">
- <template v-slot:step="{ active }">
- <div :class="['custom-step', { active }]"></div>
- </template>
- </vue-slider> -->
+ <!-- 本地报错 调试时候注释掉 yyhh-->
+ <vue-slider @change="sliderAmountChange" class="mainBox" :marks="marks" v-model="sliderAmount"
+ :hide-label="true" width="92%" tooltip="hover" :tooltip-formatter="'{value}%'"
+ :railStyle="{ background: '#404040', height: '2px' }"
+ :processStyle="{ background: '#266BFF', height: '2px' }">
+ <template v-slot:step="{ active }">
+ <div :class="['custom-step', { active }]"></div>
+ </template>
+ </vue-slider>
</div>
<div class="poecs">
<span>0%</span>
@@ -40,7 +40,7 @@
data() {
return {
amount: undefined, //用户输入的张数
- sliderAmount:0 , //滑块的数量
+ sliderAmount: 0, //滑块的数量
marks: (val) => val % 25 === 0,
};
},
@@ -123,5 +123,4 @@
width: 22%;
text-align: right;
}
-</style>
-
\ No newline at end of file
+</style>
\ No newline at end of file
--
Gitblit v1.9.3