|
@@ -18,7 +18,7 @@
|
|
<u-popup v-model="show" mode="bottom" :closeable="true" border-radius="20" close-icon-pos="top-left">
|
|
<u-popup v-model="show" mode="bottom" :closeable="true" border-radius="20" close-icon-pos="top-left">
|
|
<view class="screenTit">
|
|
<view class="screenTit">
|
|
<h4>条件筛选</h4>
|
|
<h4>条件筛选</h4>
|
|
- <span>重置</span>
|
|
|
|
|
|
+ <span @click="reset">重置</span>
|
|
</view>
|
|
</view>
|
|
<view class="screenCon">
|
|
<view class="screenCon">
|
|
<view class="screenCon-row">
|
|
<view class="screenCon-row">
|
|
@@ -40,7 +40,8 @@
|
|
:values="rangeValues"
|
|
:values="rangeValues"
|
|
:step="step"
|
|
:step="step"
|
|
:liveMode="isLiveMode"
|
|
:liveMode="isLiveMode"
|
|
- @rangechange="onRangeChange"
|
|
|
|
|
|
+ @rangechange="onRangeChange"
|
|
|
|
+ ref="refsValues"
|
|
>
|
|
>
|
|
<view slot="minBlock" class="range-slider-block"></view>
|
|
<view slot="minBlock" class="range-slider-block"></view>
|
|
<!-- 左边滑块的内容 -->
|
|
<!-- 左边滑块的内容 -->
|
|
@@ -66,7 +67,8 @@
|
|
:values="rangeValues2"
|
|
:values="rangeValues2"
|
|
:step="step"
|
|
:step="step"
|
|
:liveMode="isLiveMode"
|
|
:liveMode="isLiveMode"
|
|
- @rangechange="onRangeChange2"
|
|
|
|
|
|
+ @rangechange="onRangeChange2"
|
|
|
|
+ ref="refsValues2"
|
|
>
|
|
>
|
|
<view slot="minBlock" class="range-slider-block"></view>
|
|
<view slot="minBlock" class="range-slider-block"></view>
|
|
<!-- 左边滑块的内容 -->
|
|
<!-- 左边滑块的内容 -->
|
|
@@ -241,7 +243,22 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+ reset() {
|
|
|
|
+ this.checked = false;
|
|
|
|
+
|
|
|
|
+ this.rangeValues = [22,35];
|
|
|
|
+ this.$refs.refsValues.originalMinValue=22
|
|
|
|
+ this.$refs.refsValues.originalMaxValue=35
|
|
|
|
+
|
|
|
|
+ this.rangeValues2 = [170, 180];
|
|
|
|
+ this.$refs.refsValues2.originalMinValue=170
|
|
|
|
+ this.$refs.refsValues2.originalMaxValue=180
|
|
|
|
+
|
|
|
|
+ this.qyClick(this.qyList[0],0);
|
|
|
|
+ this.xlClick(this.xlList[0],0);
|
|
|
|
+ this.hyqkClick(this.hyqkList[0],0);
|
|
|
|
+ this.znqkClick(this.znqkList[0],0);
|
|
|
|
+ },
|
|
pad: function(num, n) {
|
|
pad: function(num, n) {
|
|
return Array(n - ('' + num).length + 1).join(0) + num;
|
|
return Array(n - ('' + num).length + 1).join(0) + num;
|
|
},
|
|
},
|
|
@@ -467,7 +484,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.screenCon{
|
|
.screenCon{
|
|
- height: 540px;
|
|
|
|
|
|
+ height: 500px;
|
|
padding: 0 15px;
|
|
padding: 0 15px;
|
|
margin-top: 50px;
|
|
margin-top: 50px;
|
|
}
|
|
}
|
|
@@ -507,7 +524,7 @@
|
|
position: fixed;
|
|
position: fixed;
|
|
left: 0;
|
|
left: 0;
|
|
right: 0;
|
|
right: 0;
|
|
- top: 44px;
|
|
|
|
|
|
+ top: 65px;
|
|
z-index: 99;
|
|
z-index: 99;
|
|
background-color: #FFF;
|
|
background-color: #FFF;
|
|
|
|
|