Commit d31e3c0d authored by youjie's avatar youjie

no message

parent 3a7c3843
......@@ -69,9 +69,6 @@
// console.log(e);//// e中包含了原有的e信息, 并添加了custom对象
data.minValue = e.custom.minValue;
data.maxValue = e.custom.maxValue;
data.ruleObj.StartNum = e.custom.minValue;
data.ruleObj.EndNum = e.custom.maxValue;
},
down(e){
data.minValue = e.custom.minValue;
......@@ -87,6 +84,9 @@
data.ruleObj.StartNum = item.StartNum;
data.ruleObj.EndNum = item.EndNum;
data.ruleObj.Info = item.Info;
data.minValue = item.StartNum;
data.maxValue = item.EndNum;
} else {
data.ruleObj.DetailId = 0;
data.ruleObj.StartNum = 0;
......@@ -102,8 +102,8 @@
console.log(value)
},
save() {
data.ruleObj.StartNum = data.valueNum[0];
data.ruleObj.EndNum = data.valueNum[1];
data.ruleObj.StartNum = data.minValue;
data.ruleObj.EndNum = data.maxValue;
ctx.emit("change", data.ruleObj);
data.show = false
}
......
......@@ -2,7 +2,7 @@
<view clipchildren= false>
<text class="loading" :style="{opacity: lineLeft===0 ? '1' : '0'}">loading...</text>
<view class="fj-slider-box" :style="{opacity: lineLeft!==0 ? '1' : '0'}" clipchildren= false>
<view class="tip" :style="{left:`${tipLeft}px`,opacity: tipShow ? '1' : '1'}">
<view class="tip" :style="{left:`${tipLeft}px`,opacity: tipShow ? '1' : '0'}">
{{curValue}}%
<view class="h"></view>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment